YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

dirHash videoimage directory error #2651

Closed Omertron closed 9 years ago

Omertron commented 9 years ago

Original issue 2654 created by Omertron on 2013-05-14T21:05:21.000Z:

What steps will reproduce the problem?

  1. Have TV series with Number and Space in name (e.g. "2 Broke Girls")
  2. Have missing videoimages
  3. Run YAMJ with dirHash=true

What is the expected output? What do you see instead?

Expect videoimage to be pulled from thetvdb.com

Get

RecheckScanner: 2 Broke Girls.s02e01 - Part 1 XML is missing TV video image, will rescan WebBrowser: Attempting to download 'http://thetvdb.com/banners/episodes/248741/4399295.jpg' VideoImageScanner: Failed to download videoimage : http://thetvdb.com/banners/episodes/248741/4399295.jpg error: C:\MovieJukeBox\temp\Jukebox_SD43\2\2\2 Broke Girls.s02e01.videoimage.jpg (The system cannot find the path specified) FileTools: Failed copying file '.\skins\ppp2-43\resources\dummy_videoimage.jpg' to 'C:\MovieJukeBox\temp\Jukebox_SD43\2\2\2 Broke Girls.s02e01.videoimage.jpg' java.io.FileNotFoundException: C:\MovieJukeBox\temp\Jukebox_SD43\2\2\2 Broke Girls.s02e01.videoimage.jpg (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at com.moviejukebox.tools.FileTools.copyFile(FileTools.java:219) at com.moviejukebox.scanner.artwork.VideoImageScanner.downloadVideoImage(VideoImageScanner.java:360) at com.moviejukebox.scanner.artwork.VideoImageScanner.scan(VideoImageScanner.java:287) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:974) at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:928) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecutor.java:105)

Both the original file download error and the dummyimage error are caused by trying to put the files into C:\MovieJukeBox\temp\Jukebox_SD43\2\2\, when the directory created is C:\MovieJukeBox\temp\Jukebox_SD_43\2\2\ (no underscore)

What version/revision of YAMJ are you using? On what operating system?

r3704, Win 7,

What skin are you using?

Zappiti and PPP2

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other?

Error arises during Jukebox creation stage

Please provide any additional information below.

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2013-05-15T08:04:20.000Z:

Did this occur with a new xml file? I.E. one that was generated after the change to the dirHash (circa r3699)

That directory (without underscores) is from pre-3699 and therefore will not be found afterwards (I believe).

Resolution: Delete the jukebox and re-generate (or at least the folders that are affected)

Omertron commented 9 years ago

Comment #2 originally posted by Omertron on 2013-05-15T20:44:54.000Z:

As you say, the problem is with new xml files. Looking at the jukebox I found 2 2, a a, i i_, etc. To fix the problem (without a full rebuild which is many hours) I deleted the non-underscored folders and the xml files for any movie/tv-show inside. Many thanks

Omertron commented 9 years ago

Comment #3 originally posted by Omertron on 2013-05-15T22:20:01.000Z:

<empty>