View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 403 posts ] 
Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 27  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Aug 06, 2009 6:08 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
This is interesting. The first lot of info is just what has been deduced from the file name, not what was returned from tvrage.

It appears that i can't get the search conducted at tvrage to return the 1966 version.

Sorry, there's no easy fix at this stage.

BigB


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 06, 2009 6:57 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
By removing 'Batman (1966) - ' fromt the filename, it gets detected properly


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 06, 2009 7:12 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Copper0,

Could you supply me with some log output, I'm interested to know what it is doing :-)

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 06, 2009 7:18 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
Code:
/var/lib/mythtv/videos/Movies/shows/Batman/Season 1/S1E01 - Hi Diddle Riddle.avi
Title so far:
Prematch: /var/lib/mythtv/videos/Movies/shows/Batman/
Cleaned prematch: Batman
Details ------------------------------
Title: Batman
 Season: 1
 Episode: 1
 Prematch: Batman
 Postmatch: Hi Diddle Riddle
End ------------------------------
TV episode, looking up TVRage website...success
Details ------------------------------
Title: Batman
 Season: 1
 Episode: 1
 Subtitle: Hi Diddle Riddle (1)
 Lenght: 30 minutes
 Year: 1966
End ------------------------------
Details ------------------------------
Title: Batman
 Season: 1
 Episode: 1
 Subtitle: Hi Diddle Riddle (1)
 Title Image: http://images.tvrage.com/shows/3/2719.jpg
 Episode Image: http://images.tvrage.com/screencaps/14/2719/17942.jpg
 Lenght: 30 minutes
 Year: 1966
 Plot:  Batman and Robin are sued for one million bucks for false arrest by the Riddler, who seeks to force Batman to unmask in court.

End ------------------------------
Poster exists, won't overwrite.
Folder image exists, won't overwrite.
Details ------------------------------
Title: Batman
 Season: 1
 Episode: 1
 Subtitle: Hi Diddle Riddle (1)
 Title Image: http://images.tvrage.com/shows/3/2719.jpg
 Episode Image: http://images.tvrage.com/screencaps/14/2719/17942.jpg
 Poster: /home/mythtv/.mythtv/covers/S1E01 - Hi Diddle Riddle.avi.jpg
 Lenght: 30 minutes
 Year: 1966
 Plot:  Batman and Robin are sued for one million bucks for false arrest by the Riddler, who seeks to force Batman to unmask in court.

End ------------------------------
Updating DB entry


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 30, 2009 11:06 pm 
Offline
Joined: Sat Feb 03, 2007 12:52 am
Posts: 187
Location: Manitoba, Canada
Hey bigB, thanks for the script. It has worked well on everything I've tried so far. I would like to put it a feature request if possible.

My kids have gotten old enough that they can grab the remote and select their own shows, therefore I've enabled the parental controls in mythvideo. The scanner that comes with mythtv automatically assigns different parental control levels based on the rating of the video. I'd like to see that implemented if possible. I've done some homework but unfortunately I don't know how to code.

The rating field in videometadata table contains the video rating. eg. "Rated PG for some mild action and peril."
the showlevel field in videometadata table contains a numer 1-4 based on the level of parental control. The levels are determined and customizable in the settings table. The defaults are
Code:
mysql> SELECT * FROM settings WHERE value  LIKE 'mythvideo.Auto%' AND hostname = 'DellFE';
+---------------------+---------+----------+
| value               | data    | hostname |
+---------------------+---------+----------+
| mythvideo.AutoR2PL1 | G       | DellFE   |
| mythvideo.AutoR2PL2 | PG      | DellFE   |
| mythvideo.AutoR2PL3 | PG-13   | DellFE   |
| mythvideo.AutoR2PL4 | R:NC-17 | DellFE   |
+---------------------+---------+----------+


Hope you'll consider adding it to your script. Thanks. Warren.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 30, 2009 11:12 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Warren,

Thanks for using the script. I'll add the request as soon as i can, but i don't know when that will be. I'll add a ticket in the google code project, so you can at least track its progress.

BigB.

PS. I'm adding support for tmdb, and tvdb to the script, so loads of changes are happening at the moment.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 01, 2009 8:14 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
bigB

I haven't started using your script yet, but it looks awesome and I'm looking forward to using it once you include tmdb support.

I have a few questions, though. From what I've read, it looks like this is a script that runs and grabs metadata for videos as a batch job. Is it also possible to force it to replace the metadata for one video? In other words, can I also use your script as a replacement to imdb.pl and tmdb.pl?

Also, what information do you look at for finding TV Show information? Are you just looking at filename, or do you also look at the name of the folder the videos are in? I ask because the way I normally sort my TV Shows is I create a folder with the name of the show (for instance 'Doctor Who - Season 1') and then inside that folder I will name my videos things like Episode 1, Episode 2, etc. Would your script find data for these files, or should I name each file things like 'Doctor Who - S01E01'?

Thanks for your hard work.

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 01, 2009 4:59 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

You can get the script to only update one item by specifying it on the command line, but it is not a direct replacement for imdb.pl as it does not output the data in the format expected by the video manager.

The main reason behind me not providing proper interfacing with the video manager is because only the filename is passed to the script and not the entire path.

To answer your other question, the script tries to mimic you in how you would identify season and episode info. The arrangement you describe should work fine. If it does not, then please let me know.

There is also an option to do a "dryrun" so you can see what damage it will do before hand.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 02, 2009 12:23 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Thanks for the info bigB.

What about a forced overwrite? You mention it works on videos that don't have descriptions. What if I've already ran a crappy imdb.pl on the video and I want to overwrite it with better stuff from your script?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 02, 2009 5:09 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

Here is the usage page:
http://code.google.com/p/mythvideo-scan ... annerUsage

You can tell it to update all videos, default is to only update videos with poor data.

BigB.


Top
 Profile  
 
PostPosted: Wed Oct 28, 2009 3:41 am 
Offline
Joined: Wed Oct 28, 2009 3:37 am
Posts: 1
Heya,

First of all, I love this script, it's exactly what I was looking for! However I was wondering if you could tweak it to detect Daily Show episodes properly:

Code:
/var/lib/mythtv/videos/the.daily.show.2009.10.27.pdtv.xvid-fqm.avi
Title so far: the daily show 2009 10 27
Prematch: /var/lib/mythtv/videos/the.daily.show.2009.10.27.pdtv.xvid-fqm
Cleaned prematch: the daily show 2009 10 27
Details ------------------------------
Title: the daily show 2009 10 27
 Prematch: the daily show 2009 10 27
End ------------------------------
Non-episode, looking up IMDB...
Imdb lookup failed. Lets perform a google spell check...
Before spell check: the daily show 2009 10 27
After spell check: the daily show 2009 10 27
mythtv@meepmeep:~/mythvideo-scanner$


It thinks it's a movie and then ends :(

Thanks, and keep up the great work!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 29, 2009 6:40 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
This looks nice, but I couldn't get it to work in R6. Maybe an update? I was able to install with a couple changes to the makefile. But upon running, it barfs at lines 38 and 532. 38(?) I just commented out, but I don't think that will work with 532.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 29, 2009 9:15 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

Difficult to tell with just a line number, but i think you need to install "Text::Levenshtein" perl module.

BigB


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 29, 2009 11:54 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
Awesome BigB! That's the deal. I installed the Text::Levenshtein .deb and did a dryrun and it ran through my pointed to directory just fine. Nice job BigB, this script look great. Can we get this in R6? Is there a way to run this from the FE? (sorry, I didn't read 14 pages, if this is already answered)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 29, 2009 11:57 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

The script is actually designed to run as a cronjob. But would be possible to run from FE.

BigB


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 403 posts ] 
Go to page Previous  1 ... 10, 11, 12, 13, 14, 15, 16 ... 27  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 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