Opened 12 years ago

Closed 12 years ago

#6553 closed defect (fixed)

Cannot play files with a # in the filename using storage groups

Reported by: damian@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no


I suspect this is a problem with the myth:// proto.

I copied a known working video to a filename with a # in it and was then unable to play. Copying back made it work again.

Logs do not show much :

2009-05-13 20:52:00.661 TV: Attempting to change from None to Watching Video 2009-05-13 20:52:01.062 RemoteFile?(myth://Videos@ #1.avi) 2009-05-13 20:52:01.062 TV: StartPlayer?(0, Watching Video, main) -- begin 2009-05-13 20:52:01.446 RingBuf?(myth://Videos@ #1.avi) Warning: Peek() requested 2048 bytes, but only returning 0 2009-05-13 20:52:01.446 NVP::OpenFile?(): Error, couldn't read file: myth://Videos@ #1.avi 2009-05-13 20:52:01.446 TV: StartPlayer?(0, Watching Video, main) -- end error

Change History (1)

comment:1 Changed 12 years ago by greg

Resolution: fixed
Status: newclosed

(In [20574])

Closes #6553. The problem was that in a URL a # is a fragment marker and not

actually part of the filepath so QUrl was not returning anything after the # in the path. This patch checks for a fragment and generates the path we need.

Note: See TracTickets for help on using tickets.