[mythtv] Ticket #6346: Subtitle, Season #, and Episode # support for MythVideo
Markus Schulz
msc at antzsystem.de
Fri Apr 17 19:54:50 UTC 2009
Am Friday 17 April 2009 schrieb Robert McNamara:
> On Fri, Apr 17, 2009 at 12:14 PM, MythTV <mythtv at cvs.mythtv.org>
wrote:
> > Comment(by Markus Schulz <msc at antzsystem.de>):
> >
> > nice work,
> > perhaps you should add something like this to
> > playercommand.cpp::PlayerFor
> >
> > QString title = item->GetTitle();
> > if (item->GetSeason() > 0) {
> > title += QString(" -
> > %1x%2").arg(item->GetSeason()).arg(item->GetEpisode());
> > }
> > if (item->GetSubtitle().size()) {
> > title += " " + item->GetSubtitle();
> > }
> >
> > to get the full title in the OSD.
>
> Hi Markus,
>
> Thanks for the input-- You're right, the information *should* be
> presentable in the OSD (and I would have no problem with Anduin
> adding that tweak when he commits) but the reason I held off is
> because the OSD will soon be converted to MythUI and that will allow
> the OSD themer to put whatever information he wants wherever he wants
> (rather than my needing to hack it in to the player command). I've
> limited my changes here to "behind the scenes" and MythUI only. Like
> I said, if that gets added when it gets committed, no problem with
> that.
ok, sounds plausible. My first idea was to transport the mythvideo
informations to the internal player via the existing ProgramInfo Class
intead of single Strings, but currently this was useless cause there are
no further informations to set there. Perhaps there should be a new
MediaDescription Class which can be used too for mythgallery, mythmusic
to provide informations to the internal player...
Is there a branch for the new OSD-mythUI stuff?
I'm really interested in OSD stuff, cause in my opinion it lacks many
informations, especially things like Audio/Video-Codec,
Resolution,avail. subtitles, ...
msc
More information about the mythtv-dev
mailing list