LinHES Forums
http://forums.linhes.org/

Mythvideo-scanner YET another imdb details grabber
http://forums.linhes.org/viewtopic.php?f=6&t=19082
Page 20 of 27

Author:  bigB [ Mon Feb 01, 2010 9:15 pm ]
Post subject: 

Hi,

I'm trying to use whatever the ttvbd and tmdb scripts return. If you can tell me the option to pass to those scripts, then I might be able to change it. I think the season fanart would be the better choice. I'll look into it.

As for the suggestion, that sounds more like a theme modification to use the screenshot. I know that my theme uses the screenshots in gallery mode, but not the other modes. I probably won't make this change.

BigB.

Author:  beav_53 [ Mon Feb 01, 2010 10:05 pm ]
Post subject: 

bigB wrote:
Hi,

Are you, by any chance, using a storage group for videos? The script currently doesn't support storage groups.

Bigb.


Yep, storage group was the problem.

Thanks for the help.

Author:  uteck [ Sat Feb 06, 2010 3:08 am ]
Post subject: 

I tried this again today and get this in all the files in this directory

Cast: Maile Flanagan,Kate Higgins,Debi Mae West
Plot: <div class="info-content">

Quote:
/mnt/maki/videos/Naruto/Naruto_051_100/Naruto_-_095-096_-_The_Fifth_Hokage_A_Life_on_the_Line_Deadlock_Sannin_Showdown.avi
Found better title in path: Naruto
Details ------------------------------
Title: Naruto
Season: 1
Episode: 95
Prematch: Naruto
Postmatch: The Fifth Hokage A Life on the
Poster Image: No Cover
Lenght: 0 minutes
Plot: None

End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
! Warning: For Series (Naruto), season (1) or Episode (95) not found

------------------------------
Grabber: Tmdb, Version: 1.1, tmdb.pl: v0.1.1
Not a Movie

------------------------------
Grabber: Imdb, Version: 1.1, imdb.pl: v1.3.5
0409591:"Naruto" (2002)
Match Found, ref:0409591.
Looking for: Season 1, Episode 95:
Year, Plot, Length, Cast, Title, PosterUrl,
------------------------------
Grabber: Tvrage, Version: 1.1, Rev: 88
Year, Plot, Length, Cast, Title, PosterUrl,
------------------------------
Details ------------------------------
Title: Naruto
Season: 1
Episode: 95
Prematch: Naruto
Postmatch: The Fifth Hokage A Life on the
Poster Image: http://ia.media-imdb.com/images/M/MV5BM ... SY135_.jpg

Poster Image: No Cover
Lenght: 30 minutes
Cast: Maile Flanagan,Kate Higgins,Debi Mae West
Plot: <div class="info-content">

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


Quote:
/mnt/maki/videos/Cinematic Titanic/6-Cinematic Titanic - Frankenstein's Castle Of Freaks.avi
Found better title in path: Cinematic Titanic
Details ------------------------------
Title: Cinematic Titanic
Season: 1
Episode: 6
Prematch: Cinematic Titanic
Postmatch: Frankensteins Castle Of Freaks
Poster Image: No Cover
Lenght: 0 minutes
Plot: <div class="info-content">

End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
! Warning: For Series (Cinematic Titanic), season (1) or Episode (6) not found

------------------------------
Grabber: Tmdb, Version: 1.1, tmdb.pl: v0.1.1
Not a Movie

------------------------------
Grabber: Imdb, Version: 1.1, imdb.pl: v1.3.5
1210513:Cinematic Titanic: The Oozing Skull (2007)
Match Found, ref:1210513.
1328610:Cinematic Titanic: Legacy of Blood (2008)
1334588:Cinematic Titanic: Santa Claus Conquers the Martians (2008)
1290392:Cinematic Titanic: The Doomsday Machine (2008)
1501345:Cinematic Titanic: The Wasp Woman (2008)
1501343:Cinematic Titanic: Blood of the Vampires (2009)
1501344:Cinematic Titanic: Frankenstein's Castle of Freaks (2008)
Looking for: Season 1, Episode 6:
Year, Plot, Title,
------------------------------
Grabber: Tvrage, Version: 1.1, Rev: 88
Year, Plot, Title,
------------------------------
Details ------------------------------
Title: Cinematic Titanic: The Oozing Skull
Season: 1
Episode: 6
Prematch: Cinematic Titanic
Postmatch: Frankensteins Castle Of Freaks
Poster Image: No Cover
Lenght: 0 minutes
Plot: <div class="info-content">

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

Author:  bigB [ Sun Feb 07, 2010 5:04 pm ]
Post subject: 

Hi,

Are those two examples movies or tv shows? Can you tell me if the episode parsing is correct.

BigB.

Author:  uteck [ Mon Feb 08, 2010 4:32 pm ]
Post subject: 

The Naruto one is a TV show. I have no idea if the season is correct since it was renamed a long time ago to just have the episode number and the title was added. (An early attempt to normalize names before I found this script.)

"6-Cinematic Titanic - Frankenstein's Castle Of Freaks.avi" is a movie. the "6-" is not part of the name (just there to make things sort in order) and it looks like the parser figures that out, but picks the wrong info anyway.

I tried removing the "1-" from Oozing Skull and using the title the parser finds (Cinematic Titanic: The Oozing Skull) but then the parser returns the original movie. Guess it does not like the colon. Replaced the colon with a dash, and the parser finds the correct version, but the Plot is just <div class="info-content">

Author:  Too Many Secrets [ Sun Feb 14, 2010 9:55 pm ]
Post subject: 

I'm finding that the grabber barfs at TV show title's an (') apostrophe in it. Also with older versions I seemed to get pics of the episode, now I get a DVD cover for all episodes. Anyone else?

Author:  Copper0 [ Sun Feb 21, 2010 7:27 pm ]
Post subject: 

After recovering from a HDD dying in my NAS, I've upgraded to 0.22.

Too Many, I can confirm your findings
Code:
$ ./mythvideo-scanner.pl /var/lib/mythtv/videos/Media/shows/"Chappelles Show"/"Season 2"/"Chappelle's Show - S02E10.avi" --getposter --reparse
Using settings for terwilliger
Reading MythTV DB settings from: /usr/share/mythtv/mysql.txt
Mythvideo Database schema is 1028, suggests Mythtv version >=0.22
Images will be downloaded to:
 Covers:      '/var/lib/mythtv/coverart'
 ScreenShots: '/var/lib/mythtv/screenshots'
 Fanart:      '/var/lib/mythtv/fanart'
 Banners:     '/var/lib/mythtv/banners'
Seaching for these extensions: avi mpg mpeg mkv mpg avi vob mpeg VIDEO_TS iso img mkv mp4 m2ts evo divx mov qt wmv 3gp asf ogg ogm flv
Starting search in '/var/lib/mythtv/videos/Media/shows/Chappelles Show/Season 2/Chappelle's Show - S02E10.avi'

/var/lib/mythtv/videos/Media/shows/Chappelles Show/Season 2/Chappelle's Show - S02E10.avi
Found better title in path: Chappelles Show
Details ------------------------------
Title: Chappelles Show
 Season: 2
 Episode: 10
 Prematch: Chappelles Show
End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
 Director, Subtitle, ScreenshotUrl, Title, PosterUrl, Length, FanartUrl, Year, Plot, Season, Episode, Cast, BannerUrl,
------------------------------
Downloading image
   from: http://www.thetvdb.com/banners/posters/71862-1.jpg
     to: /var/lib/mythtv/coverart/Chappelle's Show - S02E10.avi_poster.jpg
  Image exists, won't overwrite.
Downloading image
   from: http://www.thetvdb.com/banners/episodes/71862/62776.jpg

     to: /var/lib/mythtv/screenshots/Chappelle's Show - S02E10.avi_srnshot.jpg
  Image exists, won't overwrite.
Downloading image
   from: http://www.thetvdb.com/banners/graphical/71862-g3.jpg
     to: /var/lib/mythtv/banners/Chappelle's Show - S02E10.avi_banner.jpg
  Image exists, won't overwrite.
Downloading image
   from: http://www.thetvdb.com/banners/fanart/original/71862-2.jpg
     to: /var/lib/mythtv/fanart/Chappelle's Show - S02E10.avi_fanart.jpg
  Image exists, won't overwrite.
Details ------------------------------
Title: Chappelles Show
 Season: 2
 Episode: 10
 Subtitle: Making Da Band
 Prematch: Chappelles Show
 Poster Image: http://www.thetvdb.com/banners/posters/71862-1.jpg
 Poster Image: /var/lib/mythtv/coverart/Chappelle's Show - S02E10.avi_poster.jpg
 Screenshot Image: http://www.thetvdb.com/banners/episodes/71862/62776.jpg

 Screenshot Image: /var/lib/mythtv/screenshots/Chappelle's Show - S02E10.avi_srnshot.jpg
 Banner Image: http://www.thetvdb.com/banners/graphical/71862-g3.jpg
 Banner Image: /var/lib/mythtv/banners/Chappelle's Show - S02E10.avi_banner.jpg
 Fanart Image: http://www.thetvdb.com/banners/fanart/original/71862-2.jpg
 Fanart Image: /var/lib/mythtv/fanart/Chappelle's Show - S02E10.avi_fanart.jpg
 Lenght: 30 minutes
 Cast: Charlie Murphy, Christopher Franciosa, Dave Chappelle, Donnell Rawlings, Jonathan Corbett, Kyle Grooms, Mos Def, Neal Brennan, Paul Mooney, Robert Petkoff, Sophina Brown, Snoop Dogg, Q-Tip, Wyclef Jean
 Plot: Dave takes a closer look at the P. Diddy-produced reality television show called "Making Da Band" and introduces a new children's show called "Kneehigh Park." Also featuring musical guests Snoop Dogg, and Wyclef and Q-Tip.

End ------------------------------
Updating DB entry
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Show - S02E10.avi_poster.jpg', screenshot = '/var/lib/mythtv/screenshots/Chapp' at line 1 at ./mythvideo-scanner.pl line 1931.


In regards to the DVD cover issue, I found it makes a difference depending on which theme you're using.

Author:  bigB [ Mon Feb 22, 2010 5:10 am ]
Post subject: 

Hi,

Latest revision should fix the issues with quotes in image filenames.

BigB.

Author:  Copper0 [ Mon Feb 22, 2010 5:53 pm ]
Post subject: 

Looks all good again. BigB da man!

Author:  Too Many Secrets [ Mon Feb 22, 2010 7:08 pm ]
Post subject: 

Are there plans to get a pacman version of mythvideo-scanner?

Author:  uteck [ Mon Feb 22, 2010 9:22 pm ]
Post subject: 

Nope, I still get a mismatch even after removing the number and the 's from the title.
This should be "1501344:Cinematic Titanic: Frankenstein's Castle of Freaks (2008)" but it keeps listing it as the first one in the list. It seems to only be matching the fist part of the tile and not the second. Is the colon in the IMDB name messing things up?

Quote:
/mnt/maki/videos/Cinematic Titanic/Cinematic Titanic - Frankensteins Castle Of Freaks.avi
Title so far:
Prematch: /mnt/maki/videos/Cinematic Titanic/Cinematic Titanic - Frankensteins Castle Of Freaks
Cleaned prematch: Cinematic Titanic Frankensteins Castle Of Freaks
Found better title in path: Cinematic Titanic
Found better title in path: Cinematic Titanic
Details ------------------------------
Title: Cinematic Titanic
Prematch: Cinematic Titanic Frankensteins Castle Of Freaks
End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
Not a TV show

------------------------------
Grabber: Tmdb, Version: 1.1, tmdb.pl: v0.1.1

------------------------------
Grabber: Imdb, Version: 1.1, imdb.pl: v1.3.5
1210513:Cinematic Titanic: The Oozing Skull (2007)
Match Found, ref:1210513.
1328610:Cinematic Titanic: Legacy of Blood (2008)
1334588:Cinematic Titanic: Santa Claus Conquers the Martians (2008)
1290392:Cinematic Titanic: The Doomsday Machine (2008)
1501345:Cinematic Titanic: The Wasp Woman (2008)
1501343:Cinematic Titanic: Blood of the Vampires (2009)
1501344:Cinematic Titanic: Frankenstein's Castle of Freaks (2008)
Looking for: Season 1, Episode :
Year, Plot, Title,
------------------------------
Grabber: Tvrage, Version: 1.1, Rev: 88
Not a TV show
Year, Plot, Title,
------------------------------
Details ------------------------------
Title: Cinematic Titanic: The Oozing Skull
Prematch: Cinematic Titanic Frankensteins Castle Of Freaks
Plot: <div class="info-content">

End ------------------------------
DB Query: INSERT INTO videometadata (filename,title,subtitle,season,episode,plot,director,coverfile,screenshot,banner,fanart,year,length,showlevel) values ('/mnt/maki/videos/Cinematic Titanic/Cinematic Titanic - Frankensteins Castle Of Freaks.avi','Cinematic Titanic: The Oozing Skull','','','','<div class="info-content">','','','','','','2007','','1')

Author:  bigB [ Mon Feb 22, 2010 9:47 pm ]
Post subject: 

Hi Uteck,

move the files outside of the directory called 'Cinematic Titanic', the script is using that directory as the title as a title-clean-up measure.

I understand this is not ideal.

BigB.

Author:  uteck [ Thu Feb 25, 2010 8:59 am ]
Post subject: 

bigB wrote:
Hi Uteck,

move the files outside of the directory called 'Cinematic Titanic', the script is using that directory as the title as a title-clean-up measure.

I understand this is not ideal.

BigB.

That worked. Since the names start the same they will sort nicely in the main directory, so I can live with that.

Author:  Too Many Secrets [ Thu Feb 25, 2010 7:42 pm ]
Post subject: 

I'm seeing the same, "Plot" problem.

Code:
/myth/video/TV/X-FILES/S3/X-Files_3x4.vob
Details ------------------------------
Title: The X Files
 Season: 3
 Episode: 4
 Subtitle: Clyde Bruckman's Final Repose
 Poster Image: /myth/video/.covers/X-Files_3x4.vob_poster.jpg
 Screenshot Image: /myth/screenshots/X-Files_3x4.vob_srnshot.jpg
 Lenght: 60 minutes
 Plot: <div class="info-content">

End ------------------------------
Grabber: Ttvdb, Version: 1.1, ttvdb.py: v1.0.2
! Warning: Series (The X Files) not found

------------------------------
Grabber: Tmdb, Version: 1.1, tmdb.pl: v0.1.1
 Not a Movie

------------------------------
Grabber: Imdb, Version: 1.1, imdb.pl: v1.3.5
0106179:"The X-Files" (1993)
0120902:The X Files (1998)
    Match Found, ref:0120902.
0443701:The X Files: I Want to Believe (2008)
Looking for: Season 3, Episode 4:
 Year, Plot, Title, PosterUrl,
------------------------------
Grabber: Tvrage, Version: 1.1, Rev: 88
 LatestEpisode, Director, Subtitle, Status, ScreenshotUrl, Title, PosterUrl, Length, Plot, Year, Country, Season, Episode, Classification,
------------------------------
Details ------------------------------
Title: The X Files
 Season: 3
 Episode: 4
 Subtitle: Clyde Bruckman's Final Repose
 Poster Image: http://ia.media-imdb.com/images/M/MV5BMTY0NzA4MjYzNF5BMl5BanBnXkFtZTcwMzgwMjQyMQ@@._V1._SX98_SY140_.jpg

 Poster Image: /myth/video/.covers/X-Files_3x4.vob_poster.jpg
 Screenshot Image: http://images.tvrage.com/screencaps/32/6312/217147.jpg
 Screenshot Image: /myth/screenshots/X-Files_3x4.vob_srnshot.jpg
 Lenght: 60 minutes
 Plot: <div class="info-content">

End ------------------------------
DB Query: UPDATE videometadata SET title = 'The X Files', subtitle = 'Clyde Bruckman\'s Final Repose', season = '3', episode = '4', plot = '<div class="info-content">',director = 'David Nutter',year = '1998',length = '60', coverfile = '/myth/video/.covers/X-Files_3x4.vob_poster.jpg', screenshot = '/myth/screenshots/X-Files_3x4.vob_srnshot.jpg' WHERE filename = '/myth/video/TV/X-FILES/S3/X-Files_3x4.vob'

Author:  Ozdemon [ Sat Mar 13, 2010 8:30 pm ]
Post subject:  Install help

I have read all 20 pages of this thread and the mythvideo-scanner page on Google. I cannot work out how to install this on R6.

If I move the untarred folder to /mythtv/ and then cd to the mythvideo-scanner directory and input "make install" in a terminal I get "command not found".

Please, is there a clear explanation of how to install and run this script in R6?

Thanks.

Page 20 of 27 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/