Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4103 closed patch (fixed)

Mythweb video scan doesn't handle brackets

Reported by: Tristan Crichton <mythtv@…> Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: mythweb Version: unknown
Severity: medium Keywords: mythweb video scan
Cc: Ticket locked: no

Description

The function eatbraces() in scan.php wasn't behaving and ended up returning 0 as the title when filenames contained brackets.

Re-wrote the function and it now works nicely, patch attached

Attachments (1)

scanpatch (1.6 KB) - added by Tristan Crichton <mythtv@…> 12 years ago.
Patch of scan.php fixing eatbraces()

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Tristan Crichton <mythtv@…>

Attachment: scanpatch added

Patch of scan.php fixing eatbraces()

comment:1 Changed 12 years ago by Tristan Crichton <mythtv@…>

This was using SVN 14707

comment:2 Changed 12 years ago by paulh

Component: mythtvmythweb
Owner: changed from Isaac Richards to xris

comment:3 Changed 12 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newassigned

comment:4 Changed 12 years ago by Rob Smith

Resolution: fixed
Status: assignedclosed

(In [14849]) Fixes #4103, this updates the eatbraces function. Thanks Tristan. In the future, can you give your patches .patch as the sufix? Thanks

comment:5 Changed 12 years ago by tcrichton

No problem (new to all this...)

Note: See TracTickets for help on using tickets.