Sproglet / oversight

Oversight Jukebox for Popcorn Hour 1 and 2 series. Original code by Lordy.
1 stars 0 forks source link

Local cover not found if file name contains an apostrophe #642

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version r2006

Movie with an apostrophe in name is shown without a poster, when local file is 
present.

Scanning recognize the file correctly:

[INFO]     01:16:33 : got image path 
/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/L'Immortale.[L'immortel].[2010]
.[ID IMDB tt1167638].jpg

And the download thread processes the file correctly:

[INFO]     01:16:59 :       >Begin 
download_image[_J][/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/L'Immortale.
[L'immortel].[2010].[ID IMDB tt1167638].jpg]
[INFO]     01:16:59 :           Force Update of ovs:_J/ovs_1028.jpg
[INFO]     01:16:59 :           getting image = 1
[DEBUG]    01:16:59 :           Image url = 
/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/L'Immortale.[L'immortel].[2010]
.[ID IMDB tt1167638].jpg
[DEBUG]    01:16:59 :           Referer = /opt/sybhttpd/
[INFO]     01:16:59 :       <End 
download_image[_J][/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/L'Immortale.
[L'immortel].[2010].[ID IMDB tt1167638].jpg]=[=[ovs:_J/ovs_1028.jpg]]

But file '_J/ovs_1028.jpg' is not on file system.

Original issue reported on code.google.com by psychowood@gmail.com on 8 Jan 2012 at 12:39

GoogleCodeExporter commented 9 years ago
More info (same movie, another log) it seems that the apostrophes are lost when 
queueing the file:

[INFO] 00:46:23 IMAGES-29023.0.004622 : Processing : [poster] 
[/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/LImmortale.[Limmortel].[2010].
[ID IMDB tt1167638].jpg] [/share/Apps/oversight/db/global/_J/ovs_1016.jpg]
cp: cannot stat 
'/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/LImmortale.[Limmortel].[2010].
[ID IMDB tt1167638].jpg': No such file or directory
[ERROR] 00:46:23 IMAGES-29023.0.004622 : Failed wget -O 
/share/Apps/oversight/db/global/_J/ovs_1016.jpg -T 31 -t 2 -w 2 -q 
--no-check-certificate --ignore-length -T 90 --referer=/opt/sybhttpd/ -U 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040613 
Firefox/0.8.0+ 
/opt/sybhttpd/localhost.drives/NETWORK_SHARE/NAS/LImmortale.[Limmortel].[2010].[
ID IMDB tt1167638].jpg

Original comment by psychowood@gmail.com on 8 Jan 2012 at 9:49

GoogleCodeExporter commented 9 years ago
fixed r2066

Original comment by a...@lordy.org.uk on 24 Mar 2012 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by a...@lordy.org.uk on 24 Mar 2012 at 6:37