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: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Video Playback | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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@192.168.1.100:6543/Films/Grassroots #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@192.168.1.100:6543/Films/Grassroots #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@192.168.1.100:6543/Films/Grassroots #1.avi 2009-05-13 20:52:01.446 TV: StartPlayer?(0, Watching Video, main) -- end error
(In [20574])
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.