[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
"NFOScanner: Failed parsing" in multiple episode files.. what to do?
05-05-2012, 08:35 AM
Post: #1
"NFOScanner: Failed parsing" in multiple episode files.. what to do?
When running my_yamj, I get this error a lot, but only with tvshow episodes that consist of multiple episodes in 1 file.

Code:
NFOScanner: Failed parsing NFO file: \\DISKSTATION\02-tvshows\FRASIER\Season 4\F
rasier - S04E19E20 - Three Dates and a Breakup.nfo. Please fix or remove it.
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[64,2]
Message: The markup in the document following the root element must be well-formed.
        at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)
        at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(Unknown Source)
        at com.moviejukebox.scanner.MovieNFOScanner.parseTVNFO(MovieNFOScanner.java:948)
        at com.moviejukebox.scanner.MovieNFOScanner.parseXMLNFO(MovieNFOScanner.java:371)
        at com.moviejukebox.scanner.MovieNFOScanner.scan(MovieNFOScanner.java:133)
        at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1855)

        at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:961)
        at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:945)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(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:10​1)

what to do to avoid this?
Find all posts by this user
Add Thank You Quote this message in a reply
05-05-2012, 10:43 AM
Post: #2
RE: "NFOScanner: Failed parsing" in multiple episode files.. what to do?
What revision of YAMJ are you using? I did try and fix this error in the r3040ish range so it might be worth updating to r3072+

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
05-05-2012, 01:09 PM
Post: #3
RE: "NFOScanner: Failed parsing" in multiple episode files.. what to do?
ok, good one..

the version file says

PHP Code:
Yet Another Movie Jukebox
Build Date
2012-03-21 20:31:21
Version
2.6.1
Revision
r3000 

is upgrading just a matter of replacing files, or is there more to it? my database is nearly perfect, assume it's no problem?
Find all posts by this user
Add Thank You Quote this message in a reply
05-05-2012, 01:32 PM
Post: #4
RE: "NFOScanner: Failed parsing" in multiple episode files.. what to do?
Well, it depends on how much work you want to do.

If that's your only issue and you only have a couple of NFO files, I would edit them manually and add a "<xml>" at the start and "</xml>" at the end of the file to solve the issue.

If you have a couple hundred NFO files, then upgrading is probably better.

Backup your jukebox and YAMJ folder. Download the latest revision from http://mediaplayersite.com/yamj_latest
delete the properties and lib folder, unpack the zip folder over the top and you should be good to go.

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
05-05-2012, 03:37 PM
Post: #5
RE: "NFOScanner: Failed parsing" in multiple episode files.. what to do?
And don't use a dash - before the S04Exx
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [YAMJ] slf4j classpath contains multiple slf4j bindings fickle 4 164 Yesterday 08:07 AM
Last Post: Omertron
Sad [YAMJ] YAMJ does not create scan files Jascha 16 372 05-18-2013 05:01 PM
Last Post: jluc2808
  Unable to updata jukebox I/O errors and failed to create output files mabies 3 151 05-15-2013 08:52 AM
Last Post: Omertron
  [YAMJ] Issues with multiple '1x01 - Pilot.avi' episodes martinwright3 4 245 04-18-2013 04:53 PM
Last Post: martinwright3
  [YAMJ] empty Audio/Video channels added to xml files of existings tv-shows Boba Fett 6 939 04-16-2013 05:34 PM
Last Post: mattty_d2002
  TV Episode file names sal iva 5 436 04-13-2013 04:05 PM
Last Post: Omertron
  java parsing error wgstarks 5 422 04-06-2013 04:10 PM
Last Post: wgstarks
  [YAMJ] + MyIhome not showiong Genres and not locating all files Iggersm00 1 263 03-31-2013 11:48 AM
Last Post: Omertron
  [YAMJ] multiple players and sources Talosia 1 235 03-30-2013 07:31 PM
Last Post: accident
  Multiple jukebox in the same folder irmandadedocopo 2 360 03-27-2013 04:19 PM
Last Post: irmandadedocopo

Forum Jump: