View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 31, 2008 9:59 pm 
Offline
Joined: Fri Jan 09, 2004 8:30 pm
Posts: 146
Location: Reno, NV
I have written a new parser. This time, it is written in Java and will be easier to maintain.

One of the biggest differences, is that the new code is more of a framework. Anyone can write their own plug-in as long as they have a rudimentary knowledge of Java and some regex skills. You might even be able to cannibalize the ones I have written.

The new parser also automatically figures out whether a video is a TV show or a movie and work accordingly.

Without further ado, here is the link:

http://code.google.com/p/mythmulitbatchparser/

Enjoy!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 7:56 am 
Offline
Joined: Thu Mar 02, 2006 5:42 pm
Posts: 410
Location: middleton wi usa atsc
Sorry Jesse, but I'm not familiar with the old parser. What does this do? Why do I want it? I went to the web site, but I couldn't figure out what this program does. :oops:
Thanks for enlightening me,
Ziggy


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 9:48 am 
Offline
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location: West Lafayette, IN
I gave it a shot this morning - this was the result:

Code:
Database connection established
5742 rows were retrieved for parsing
Exception in thread "main" java.lang.NumberFormatException: string length is null
   at java.lang.Integer.parseInt(libgcj.so.70)
   at java.lang.Integer.parseInt(libgcj.so.70)
   at parsers.NameParser.processTVShow(NameParser.java:110)
   at parsers.NameParser.execute(NameParser.java:61)
   at mythmultibatchparser.MythMultiBatchParser.parseNames(MythMultiBatchParser.java:279)
   at mythmultibatchparser.MythMultiBatchParser.execute(MythMultiBatchParser.java:129)
   at mythmultibatchparser.MythMultiBatchParser.main(MythMultiBatchParser.java:319)

_________________
Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 10:49 am 
Offline
Joined: Fri Jan 09, 2004 8:30 pm
Posts: 146
Location: Reno, NV
The default parser only does one type (movies) and only one at a time. I wrote a parser for TV shows and Movies that did it in a batch manner.

This parser does both and does it in a batch manner.

s1148625, it looks like it ran into an issue parsing one of your filenames. I will check it out and possibly need to add more logging to figure out the issue.

Also, I notice that you are using GCJ. I never tested with this and it may not work properly. You might try using the standard Sun Java.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 11:08 am 
Offline
Joined: Sat Aug 07, 2004 1:55 am
Posts: 219
Location: West Lafayette, IN
I'm running a standard R5F27 install, and I did a
Code:
apt-get install libmysql-java
to before trying to run the parser. What do I need to do to install java properly?

_________________
Silverstone LC10|MSI K8N Neo4-F|1GB PC3200|Athlon 64 X2 4200+|NEC 3550A DVD-RW
750GB + 400GB w/Storage Groups|eVGA GeForce 7600 GS w/VGA out to Aquos 32" LCD |PVR-500|PVR-250|SiliconDust HDHomerun


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 9:01 pm 
Offline
Joined: Fri Jan 09, 2004 8:30 pm
Posts: 146
Location: Reno, NV
I was referring to the Java run-time environment. There is GNU Java (gcj) and a Sun one.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 02, 2008 12:54 pm 
Offline
Joined: Fri Jan 09, 2004 8:30 pm
Posts: 146
Location: Reno, NV
I have uploaded a new version which may fix you issue. It will not try another naming scheme when it fails on one. Please note that it only works with the naming schemes shown here http://code.google.com/p/mythmulitbatchparser/wiki/TVShowNamingScheme.

If it doesn't please post the name of the file that it outputs so that I can add it to the naming schemes.[/code]


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu