Opened 13 years ago

Closed 13 years ago

#3761 closed enhancement (fixed)

Add a "PlayAll" button to mytharchive

Reported by: Steve VanDeBogart <vandebo-mythtvtrac@…> Owned by: paulh
Priority: minor Milestone: unknown
Component: mytharchive Version: 0.20
Severity: medium Keywords: playall mytharchive
Cc: Ticket locked: no

Description

The attached patch adds support for a playall button (in the code style of the next/previous buttons) to mythburn.py, as well as adding the button to the G.A.N.T. theme.

The 'play all' functionality is accomplished by using another dvd register to indicate the next title to play. After a title finishes, if the register is set, the player is dispatched to a hidden menu in order to jump to the next title.

Attachments (4)

autoplay-noaspect.patch (10.9 KB) - added by Steve VanDeBogart <vandebo-mythtvtrac@…> 13 years ago.
autoplay-aspect.patch (10.1 KB) - added by Steve VanDeBogart <vandebo-mythtvtrac@…> 13 years ago.
The same patch, except against code with the patch in Ticket #3706 already applied
all.png (1.2 KB) - added by Steve VanDeBogart <vandebo-mythtvtrac@…> 13 years ago.
These graphics aren't anything special. After reorganizing the button code, I would remove them in favor of using python to create the text as is done for the titles in the G.A.N.T. theme.
all_mask.png (342 bytes) - added by Steve VanDeBogart <vandebo-mythtvtrac@…> 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

Attachment: autoplay-noaspect.patch added

Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

Attachment: autoplay-aspect.patch added

The same patch, except against code with the patch in Ticket #3706 already applied

comment:1 Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

Sorry, version should be head, as this patch assumes the patch that was applied in Ticket #3755.

comment:2 Changed 13 years ago by paulh

Could you not just use one of the Autoplay themes?

comment:3 Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

As I understand it, the Autoplay themes will always play every title. This patch allows the user to select individual titles at play time or choose to play all of them. This kind of option is often prsent on commercial dvds for television shows,

comment:4 in reply to:  3 Changed 13 years ago by paulh

Replying to Steve VanDeBogart <vandebo-mythtvtrac@nerdbox.net>:

As I understand it, the Autoplay themes will always play every title. This patch allows the user to select individual titles at play time or choose to play all of them. This kind of option is often prsent on commercial dvds for television shows,

That's true.

I'll need the two missing graphics all.png and all_mask.png.

Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

Attachment: all.png added

These graphics aren't anything special. After reorganizing the button code, I would remove them in favor of using python to create the text as is done for the titles in the G.A.N.T. theme.

Changed 13 years ago by Steve VanDeBogart <vandebo-mythtvtrac@…>

Attachment: all_mask.png added

comment:5 Changed 13 years ago by paulh

(In [14092]) Apply the script part of a patch from Steve VanDeBogart? to optionally add a 'Play All' button to the main menu of DVDs created with MythArchive?.

Still need to make some theme changes to make this work.

Refs #3761.

comment:6 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

(In [14151]) Some DVD theme enhancements.

  • All theme items can now have a background which can be alpha blended onto the DVD menu.
  • The text within text boxes can now be vertically aligned to the top, center, or bottom and can also be indented from the left and/or top edges.
  • The 'Previous', 'Next', 'Play All', 'Main Menu', title item and chapter item buttons are all now defined in the same way and can contain images, text or both.
  • Adds a 'Play All' button to the G.A.N.T. theme. Closes #3761.
  • It's now possible to add images to a theme and have there aspect ratio preserved. The default behaviour is to always scale images to fit the space available except for MythVideo? cover art images. Some new attributes can override the default behaviour.

stretch="True|False" - if False the image will be scaled to best

fit the space available preserving the aspect ratio. The attributes below can be used to position the image within the available space.

halign="Left|Center|Right" - control the horizontal placement valign="Top|Center|Bottom" - control the vertical placement

Fixes #3706.

  • Revamps the G.A.N.T theme to use many of the new theme features.
Note: See TracTickets for help on using tickets.