Opened 9 years ago

Closed 5 years ago

#12842 closed Patch - Feature (Unverified)

Override language for series in ttvdb.conf + ttvdb.py patched

Reported by: christophe.agathon@… Owned by: sphery
Priority: minor Milestone: unknown
Component: Contributed Scripts & Apps Version: 0.28.0
Severity: medium Keywords: series metadata ttvdb
Cc: Ticket locked: no

Description

I have modified the python script ttvdb.py in order to be able to force the language for a specific serie in ttvdb.conf.

1) I have added a section named [series_language_override] in ttvdb.conf

2) ttvdb.py is patched to read this section and the loading of the ttvdb.conf stuff is made sooner (before any use of opts.language).

It works quite well, both from command line and from MythTV.

Attachments (1)

ttvdb.py.tar.gz (20.3 KB) - added by christophe.agathon@… 9 years ago.
ttvdb.py patched to use [series_language_override] section in ttvdb.conf

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by christophe.agathon@…

Unfortunately I can't attach any file (they are reported as spam even if I provide my e-mail address) and don't know what to do :-/

comment:2 Changed 9 years ago by J.Pilk@…

I had the 'spam' problem once. It might help to create a wiki account so that you are known to the system. Try 'Login'

comment:3 in reply to:  2 Changed 9 years ago by christophe.agathon@…

Replying to J.Pilk@…:

I had the 'spam' problem once. It might help to create a wiki account so that you are known to the system. Try 'Login'

Thanks a lot but since there is no way to register, I think MythTV doesn't really want me to contribute :-/

comment:4 Changed 9 years ago by paulh

trac must have spotted something in the files you are trying to upload that it thinks may be spam. To work around that just compress the files using gzip of similar and upload that file.

Changed 9 years ago by christophe.agathon@…

Attachment: ttvdb.py.tar.gz added

ttvdb.py patched to use [series_language_override] section in ttvdb.conf

comment:5 in reply to:  4 Changed 9 years ago by christophe.agathon@…

Replying to paulh:

trac must have spotted something in the files you are trying to upload that it thinks may be spam. To work around that just compress the files using gzip of similar and upload that file.

Thanks that worked. By the way I wouldn't mind register but didn't find how to.

comment:6 Changed 9 years ago by J.Pilk@…

I think it's registration for the MythTV wiki that might work. After that my posts got through, with no need to log in to trac.

comment:7 Changed 9 years ago by stevegoodey@…

Mythtv wiki was being hit by spam so new accounts have been disabled.

Steve Goodey

comment:8 Changed 5 years ago by Stuart Auchterlonie

Resolution: Unverified
Status: newclosed

Closing all old tickets in trac.

If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues

and reference the existing trac ticket.

Note: See TracTickets for help on using tickets.