Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFO Premiered date error #1627

Closed
Omertron opened this issue Mar 15, 2015 · 1 comment
Closed

NFO Premiered date error #1627

Omertron opened this issue Mar 15, 2015 · 1 comment

Comments

@Omertron
Copy link
Member

Original issue 1628 created by Omertron on 2010-10-05T08:23:21.000Z:

I now get a JAVA error on every NFO file where I only have a year in the PREMIERED tag. Do I now have to sepcify a month and a day? Is there anyway continue using just the year and have YAMJ recognize both the dates that are complete and the dates that are only the year? I did not have this problem until I updated to 2.1.

Here is the error from log:

Failed parsing NFO file for movie: Don Donald. Please fix or remove it.
java.lang.IllegalArgumentException: Could not determine Year, Month, and Day from '1937'
at org.pojava.datetime.DateTime.parse(DateTime.java:806)
at org.pojava.datetime.DateTime.parse(DateTime.java:592)
at org.pojava.datetime.DateTime.(DateTime.java:225)
at com.moviejukebox.scanner.MovieNFOScanner.parseMovieNFO(MovieNFOScanner.java:426)
at com.moviejukebox.scanner.MovieNFOScanner.parseXMLNFO(MovieNFOScanner.java:332)
at com.moviejukebox.scanner.MovieNFOScanner.scan(MovieNFOScanner.java:122)
at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1207)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:775)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:760)
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:115)

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2010-10-05T08:25:25.000Z:

This issue was closed by revision r1820.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant