Opened 13 years ago

Closed 13 years ago

#2545 closed patch (fixed)

'No menus' themes fail when trying to add intro movie

Reported by: sdyson@… Owned by: paulh
Priority: minor Milestone: unknown
Component: mytharchive Version: head
Severity: medium Keywords:
Cc: paulh Ticket locked: no

Description

Fails because introFile was not defined:

Creating DVD XML file for dvd author (No Menus)
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 3538, in ?
    processJob(job)
  File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 3345, in processJob
    createDVDAuthorXMLNoMenus(format, files.length)
  File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2022, in createDVDAuthorXMLNoMenus
    vob.setAttribute("file", getThemeFile(themeName, videomode + '_' + introFile))
NameError: global name 'introFile' is not defined
------------------------------------------------------------

Attached patch fixes the problem by copying the behaviour used for themes with menus.

Attachments (1)

mythburn.diff (566 bytes) - added by sdyson@… 13 years ago.
Patch for mythburn.py

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by sdyson@…

Attachment: mythburn.diff added

Patch for mythburn.py

comment:1 Changed 13 years ago by paulh

(In [11567]) Apply patch from sdyson (at) themaelstrom (dot) co (dot) uk. Refs #2545 - 'No menus' themes fail when trying to add intro movie'

comment:2 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

(In [11568]) Merge [11567] from trunk.

Apply patch from sdyson (at) themaelstrom (dot) co (dot) uk. Fixes #2545 - 'No menus' themes fail when trying to add intro movie'

Note: See TracTickets for help on using tickets.