Opened 10 years ago

Closed 6 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@… 10 years ago.
ttvdb.py patched to use [series_language_override] section in ttvdb.conf

Download all attachments as: .zip

Change History (9)

comment:1 by christophe.agathon@…, 10 years ago

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 by J.Pilk@…, 10 years ago

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

in reply to:  2 comment:3 by christophe.agathon@…, 10 years ago

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 by paulh, 10 years ago

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.

by christophe.agathon@…, 10 years ago

Attachment: ttvdb.py.tar.gz added

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

in reply to:  4 comment:5 by christophe.agathon@…, 10 years ago

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 by J.Pilk@…, 10 years ago

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 by stevegoodey@…, 10 years ago

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

Steve Goodey

comment:8 by Stuart Auchterlonie, 6 years ago

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.