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 ... 9, 10, 11, 12, 13, 14, 15 ... 27  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Fri May 22, 2009 2:00 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Whilst your changing it, could you get your script to update the IMDB number as well.

I noticed just the other day when you do an update of a movie from the FE, it actually puts the IMDB into the relevant place, but also that is what the name of the JPG is. Is there a reason why you don't enter the IMDB number and also why you name the cover after the movie and not the IMDB number?

I can understand the case of a TV series as they will not have this information, but with a movie would it be possible to put this in. From a programming perspective if an IMDB number is found updateDB with number.

Not asking you to justify what you are doing, trying to work out your thinking behind why you have done it the way you have.

Thanks

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 2:03 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi girkers,

I'd prefer to leave the jpeg name as it is at the moment. I'll add the imdb reference to the database if it has one.

BigB.


Top
 Profile  
 
 Post subject: Notes on R6 usage
PostPosted: Sun Jun 07, 2009 6:36 pm 
Offline
Joined: Tue Mar 14, 2006 12:15 pm
Posts: 9
I made some notes on the Mythvideo-scanner google page.
[url]http://code.google.com/p/mythvideo-scanner/issues/detail?id=39&colspec=ID%20Type%20Component%20Status%20Priority%20Summary[/url]

Basicly you need to install "make" with Pacman, then install the Levenshtein.pm file with CPAN

cpan Text::Levenshtein

If I knew how to have "make" use the "Makefile" for the project, I'd describe that, but I am a fairly clueless linux user and can't sort that, so I just copied the files to the appropriate directories, described in Makefile, and gave them 777 permissions.


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

I think the command you need is "make install".

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 08, 2009 4:22 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi,

I just read your comments on the google page, I have a few ideas to reduce the number of dependencies.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 23, 2009 6:17 am 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi all,

check out rev 59 here.

I have added support for multiple directories,
and parsing nfo files for imdb references (for accurate title only).

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 24, 2009 1:52 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi bigB,

Just wondering... what's the state of play for your grabber working with R6?

Many thanks.
Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 25, 2009 5:03 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
Hey BigB
any idea why I get the following?

Code:
$ ./mythvideo-scanner.pl /var/lib/mythtv/videos/Movies/Movies/"Harvard Man.avi" --getposter
Using settings for kenny
Reading MythTV DB settings from: /usr/share/mythtv/mysql.txt
Covers will be downloaded to: '/home/mythtv/.mythtv/covers'
Seaching for these extensions: avi mpg mpeg mkv mpg avi vob mpeg VIDEO_TS iso img
Starting search in '/var/lib/mythtv/videos/Movies/Movies/Harvard Man.avi'

/var/lib/mythtv/videos/Movies/Movies/Harvard Man.avi
Title so far:
Prematch: /var/lib/mythtv/videos/Movies/Movies/Harvard Man
Cleaned prematch: Harvard Man
Details ------------------------------
Title: var
 Prematch: Harvard Man
End ------------------------------
Non-episode, looking up IMDB...
0306185:Var (1965)
    Match Found, ref:0306185.
Downloading poster to: /home/mythtv/.mythtv/covers/Harvard Man.avi.jpg
400
FAILED to get image.
Folder image exists, won't overwrite.
Details ------------------------------
Title: Var
 Title Image:

 Lenght: 8 minutes
 Year: 1965
End ------------------------------
Updating DB entry


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

Yes, something has gone very wrong.

What the script does is when it finds a title, it tries to improve the information by finding a similar string in the path. So "Harvard Man" was improved by the directory name /var. Obviously my test cases don't cover this case.

Edit the script and remove this code block.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 26, 2009 5:50 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Copper0,

Actually there was two places that you had to remove that code. However, it is fixed in the latest revision.

BTW, the help will now display the revision of the source file if it was checked out with svn.

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 29, 2009 5:07 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
rev62 is looking really good BigB.
Thanks! :idea:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 01, 2009 12:12 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
HI BigB,
Just wanted to throw in a feature request if it's possible. I notice in the scripts output cast info is present. Can that data not be used? is it more than just the case of adding it to line 2023 of r62?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 01, 2009 3:48 pm 
Offline
Joined: Mon Feb 06, 2006 5:11 pm
Posts: 353
Location: Brisbane, Australia
Hi Copper0,

I would like to add cast info to the scripts. Truthfully, i had neglected to look at it. As far as i can tell there is a DB table for people, then the cast info for the video is then a list of ID's into that table. I would really appreciate it if anyone could work out the database structure for this and give a brief explanation on what is going on. Then when i get a chance I'll add it to the script. It might be similar to how a music playlist is stored in the DB.

The list of issues includes this as an item.
http://code.google.com/p/mythvideo-scanner/issues/list

BigB.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 02, 2009 7:17 am 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
I've noticed that i can populate the cast section after installing IMDbPY I've also started using tmdb, i don't think that makes a difference.
I do remember seeing that issue now that you point it out. I think I just got excited seeing the cast list populate.
I'm off to do some reading with my humble coding skilz


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 06, 2009 6:00 pm 
Offline
Joined: Thu Mar 08, 2007 11:13 am
Posts: 29
Location: Toronto Canada
Hey BigB,
I was wondering if you can help out with something.

I am getting the following:
Code:
/var/lib/mythtv/videos/Movies/shows/Batman/Season 1/Batman (1966) - S1E01 - Hi Diddle Riddle.avi
Details ------------------------------
Title: Batman
 Season: 1
 Episode: 1
 Prematch: Batman
 Postmatch: Hi Diddle Riddle
 Year: 1966
End ------------------------------
TV episode, looking up TVRage website...success, not happy try harder
Searching for [Hi Diddle Riddle] at http://www.tvrage.com/The_Batman/episode_list/all
Details ------------------------------
Title: The Batman
 Season: 1
 Episode: 1
 Subtitle: The Bat in the Belfry
 Lenght: 30 minutes
 Year: 2004
End ------------------------------
Details ------------------------------
Title: The Batman
 Season: 1
 Episode: 1
 Subtitle: The Bat in the Belfry
 Title Image: http://images.tvrage.com/shows/6/5602.jpg
 Episode Image: http://images.tvrage.com/screencaps/29/5602/174124.jpg
 Lenght: 30 minutes
 Year: 2004
 Plot:  A new villain who calls himself the Joker takes over Arkaham Asylum, and released all the criminals inside of it. The Batman manages to take back the asylum from the Joker, but after meeting one of Joker's victims, Batman realizes that this is no ordinary clown. Can Batman stop The Joker and save his victims?

End ------------------------------
Details ------------------------------
Title: The Batman
 Season: 1
 Episode: 1
 Subtitle: The Bat in the Belfry
 Title Image: http://images.tvrage.com/shows/6/5602.jpg
 Episode Image: http://images.tvrage.com/screencaps/29/5602/174124.jpg
 Lenght: 30 minutes
 Year: 2004
 Plot:  A new villain who calls himself the Joker takes over Arkaham Asylum, and released all the criminals inside of it. The Batman manages to take back the asylum from the Joker, but after meeting one of Joker's victims, Batman realizes that this is no ordinary clown. Can Batman stop The Joker and save his victims?

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

The first time it goes through and says success the information is correct. It does exsist at TVRage http://www.tvrage.com/shows/id-2719/episodes/17942/1x01
Then it goes on to say not happy, adds the word 'The ' and ends up with the 2004 animated show. http://www.tvrage.com/The_Batman/episodes/174124/1x01
Can I tell the script, 'whoa, you were right the first time' or possibly forcea search at imdb?


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu