Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

"videos" widget buttontree 3 col text question (0.22)

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


lindsay.mathieson at gmail

Oct 1, 2009, 10:44 PM

Post #1 of 7 (1048 views)
Permalink
"videos" widget buttontree 3 col text question (0.22)

More commonly know as the video list in list view mode :)

The third column in this (the actual video list) has the format "{Title}
{Season}x{Ep} - {subtitle}", e.g. "Stargate Atlantis 5x01 - Search and
Rescue"

There's an lot of duplicate content there - the Title and Season are
already displayed in the first two columns. In facte on my screen the
subtitle is not visible, its cut off, when really its the most important
part of that column.

Ideally I'd like to see just the Episode number and subtitle in the third
column. Is it possible to implement this? maybe as an option of theme flag?

I tracked down the relevant code in videolist.cpp, Line 855:

QString TitSeasEpSub = QString("%1 %2x%3 -
%4").arg(tit).arg(seas).arg(ep).arg(sub);


Thanks,

--
Lindsay Mathieson
http://blackpaw.jalbum.net/home/
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


robert.mcnamara at gmail

Oct 1, 2009, 11:02 PM

Post #2 of 7 (995 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Thu, Oct 1, 2009 at 10:44 PM, Lindsay Mathieson
<lindsay.mathieson [at] gmail> wrote:
> More commonly know as the video list in list view mode  :)
>
> The third column in this (the actual video list) has the format "{Title}
> {Season}x{Ep} - {subtitle}", e.g. "Stargate Atlantis 5x01 - Search and
> Rescue"
>
> There's an lot of duplicate content there - the Title and Season are
> already displayed in the first two columns. In facte on my screen the
> subtitle is not visible, its cut off, when really its the most important
> part of that column.
>
> Ideally I'd like to see just the Episode number and subtitle in the third
> column. Is it possible to implement this? maybe as an option of theme flag?

It is not something that can be done in themes-- the Show name and
season number only show up in the first two columns in your setup
because that's the directory architechture you use-- but it's not the
only one out there and for now we have to take into account all
permutations, which means TV gets formatted that way in the
buttontree. It can be formatted any way you like in the other views,
however. As it is, though, the text values in the buttontree need to
be set programmatically until the buttontree buttonlists are more
themable, hopefully for .23.

Robert
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


lindsay.mathieson at gmail

Oct 2, 2009, 12:51 AM

Post #3 of 7 (987 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Fri, 2 Oct 2009 04:02:38 pm Robert McNamara wrote:
> It is not something that can be done in themes-- the Show name and
> season number only show up in the first two columns in your setup
> because that's the directory architechture you use

Nope, my directory structure is flat - I'm using Group by TV/Movie

> -- but it's not the
> only one out there and for now we have to take into account all
> permutations, which means TV gets formatted that way in the
> buttontree.
>

I'm not sure I understand why - the Title & Season aren't from the directory
structure, they're from the videometa data. If they aren't available there
then they won't be visible in the first 2 columns either.

--
Lindsay
http://blackpaw.jalbum.net/home
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


lindsay.mathieson at gmail

Oct 2, 2009, 1:42 AM

Post #4 of 7 (987 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Fri, 2 Oct 2009 05:51:08 pm Lindsay Mathieson wrote:
> > -- but it's not the
> > only one out there and for now we have to take into account all
> > permutations, which means TV gets formatted that way in the
> > buttontree.
> >
>
> I'm not sure I understand why - the Title & Season aren't from the
> directory structure, they're from the videometa data. If they aren't
> available there then they won't be visible in the first 2 columns either.
>


Or to perhaps phrase that more clearly - under what use case is having the
"Title - Season" in the third column necessary or useful? It just seems
redundant.
--
Lindsay
http://blackpaw.jalbum.net/home
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


robert.mcnamara at gmail

Oct 2, 2009, 4:32 AM

Post #5 of 7 (994 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Fri, Oct 2, 2009 at 1:42 AM, Lindsay Mathieson
<lindsay.mathieson [at] gmail> wrote:
> On Fri, 2 Oct 2009 05:51:08 pm Lindsay Mathieson wrote:
>> > -- but it's not the
>> > only one out there and for now we have to take into account all
>> > permutations, which means TV gets formatted that way in the
>> > buttontree.
>> >
>>
>> I'm not sure I understand why - the Title & Season aren't from the
>>  directory  structure, they're from the videometa data. If they aren't
>>  available there then they won't be visible in the first 2 columns either.
>>
>
>
> Or to perhaps phrase that more clearly - under what use case is having the
> "Title - Season" in the third column necessary or useful? It just seems
> redundant.

Not everyone is using a metadata browse mode, nor will everyone want
to-- they're brand new. Consider the following possible structures:

$VideoDir/Television/$item
$VideoDir/$item

While you and I might be more fastidious about the organization of our
material, or more willing to experiment with new features like
metadata browse mode, not everyone will be, and thus all the
information must be present in the buttonitem value for now. You are
welcome to patch locally until the buttontrees are more themable, but
until they are, I must account for situations such as the above, or
I'll instead be contending with people who are asking me:

"In tree mode, examples of my items are '02 - Water' and fifty copies
of '01 - Pilot.' How am I supposed to know what they are???"

Robert.
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


lindsay.mathieson at gmail

Oct 2, 2009, 6:05 AM

Post #6 of 7 (987 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Fri, 2 Oct 2009 09:32:32 pm Robert McNamara wrote:
> Not everyone is using a metadata browse mode, nor will everyone want
> to-- they're brand new. Consider the following possible structures:
>
> $VideoDir/Television/$item
> $VideoDir/$item
>


Ah - so its for the people who browse in Folder mode without a proper folder
hierarchy? - I get it now, thanks.

>You are welcome to patch locally until the buttontrees are more themable,

Will do, thanks for your patience Robert.


--
Lindsay
http://blackpaw.jalbum.net/home
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


robert.mcnamara at gmail

Oct 2, 2009, 7:21 AM

Post #7 of 7 (980 views)
Permalink
Re: "videos" widget buttontree 3 col text question (0.22) [In reply to]

On Fri, Oct 2, 2009 at 6:05 AM, Lindsay Mathieson
<lindsay.mathieson [at] gmail> wrote:
> On Fri, 2 Oct 2009 09:32:32 pm Robert McNamara wrote:
>> Not everyone is using a metadata browse mode, nor will everyone want
>> to-- they're brand new.  Consider the following possible structures:
>>
>> $VideoDir/Television/$item
>> $VideoDir/$item
>>
>
>
> Ah - so its for the people who browse in Folder mode without a proper folder
> hierarchy? - I get it now, thanks.

Exactly right. :)

>
>>You are welcome to patch locally until the buttontrees are more themable,
>
> Will do, thanks for your patience Robert.
>

No problem at all, I also am eager to get the buttontrees as themable
as the buttonlists, it's a shortcoming that I definitely recognize.

Robert
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.