Opened 11 years ago

Closed 11 years ago

#6390 closed patch (fixed)

Allow tmdb.pl to ignore -M options (as used by imdb.pl command lines)

Reported by: sphery <mtdean@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patch allows tmdb.pl to ignore the options specified for the -M argument in imdb.pl command lines (such as "tv=no;video=no" or "tv=both" or "s=tt;ttype=ep" or whatever). With this patch, the imdb.pl command lines could be used directly by tmdb.pl without modification.

This would allow, for example, installing tmdb.pl and then creating a link called imdb.pl referring to tmdb.pl. Then, when calling imdb.pl, tmdb.pl would be executed. This would be particularly useful for "backporting" tmdb.pl to -fixes (where database updates aren't possible) or for MythWeb, where user sessions contain imdb.pl as the script name, so switching scripts would require code in MythWeb to update the session data or would require users to reset their sessions.

Attachments (1)

mythplugins-6390-mythvideo-tmdb-ignore_options_for_-M.patch (682 bytes) - added by sphery <mtdean@…> 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by sphery <mtdean@…>

comment:1 Changed 11 years ago by Anduin Withers

Component: MythTV - GeneralPlugin - MythVideo
Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:2 Changed 11 years ago by xris

Resolution: fixed
Status: assignedclosed

(In [20306]) Apply patch to close #6390 -- upate tmdb.pl to ignore the -M option, for imdb.pl compatibility mode

Note: See TracTickets for help on using tickets.