Opened 15 years ago

Closed 15 years ago

#7099 closed defect (fixed)

ttvdb.py returns multiline plots

Reported by: Raymond Wagner <raymond@…> Owned by: Anduin Withers
Priority: major Milestone: 0.22
Component: Plugin - MythVideo Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Thetvdb.com allows endline characters in the plot, which are then passed unaltered through to MythVideo?. MythVideo? silently ignores the unidentified line, entering only a partial plot into the database.

Attachments (2)

fringe_2x1_ttvdb (866 bytes) - added by Raymond Wagner <raymond@…> 15 years ago.
ttvdb_new_line.patch (1.4 KB) - added by r.d.vaughan@… 15 years ago.
ttvdb.py - Patch to remove new line characters for metadata.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Raymond Wagner <raymond@…>

Attachment: fringe_2x1_ttvdb added

Changed 15 years ago by r.d.vaughan@…

Attachment: ttvdb_new_line.patch added

ttvdb.py - Patch to remove new line characters for metadata.

comment:1 Changed 15 years ago by r.d.vaughan@…

Raymond,

See if the attached patch fixes the issue. The patch replaces all line-feeds characters with spaces in any TVDB metadata fields.

comment:2 Changed 15 years ago by robertm

Resolution: fixed
Status: newclosed

(In [21966]) Closes #7099. If TTVDB returns a plot with newline characters, replace them with spaces so that the plot is not truncated. Thanks to Raymond Wagner for discovering it and Doug Vaughan for the fix.

Note: See TracTickets for help on using tickets.