Req Proper Scrapping from MythTV sources
#1
I know there are other solutions for this via softlinks and stuff, but none of them are ideal, especially with commercial skipping now in XBMC.
In Videos
go to add source -> browse -> TV Recordings

From there I select a recording group, lets say "default"

From here XBMC gets the show Titles, but scraping for individual episodes fails, presumably because it is using the mythtv file name ChannelID_Startime which is something like "1522_20140330103000.mpeg"
If the source is obviously a pvr source, and it knows that pvr source is a myth source, then I dont see why it can't get relevant info from the mythtv database to send to theTVDB, or just use mythtv's info (it already does a metadata scrape of the TVDB and uses most of it in the Live TV section) rather than just trying to scrape the filename.

Getting this to work would allow for plugins like Next Aired and TvTunes workings, and since I have recording groups in myth I can create 2 recording groups, one that is my TV series, which are in DVD order (Breaking Bad, Workaholics, dramas, comedies), and another group that is absolute order for things that are daily or more recurring and I only keep the latest 10 (The Daily show, Around the Horn, Pawn Stars).

I dont know where to start at trying to implement this myself but I am willing to try any suggestions.

I am using mythTV .26 and XBMC 13 beta 3. All on Ubuntu 12.04

I can't upgrade MythTV to .27 till a stable openelec build is out for XBMC.
(Living Room)
core i7 HD4000 running MythTV .27 and XBMC 16
on XBMCUbuntu 14.04 with 24Hz, DTS-HDMA 7.1
(Bedroom)
core i3 Intel Nuc MythTV .27(front end) and XBMC 16
on Xubuntu 14.04 with 24Hz,
(Mother-in-Law)
Second Gen Raspberry Pi running OpenElec
Droid Turbo with kodi and live tv!
Reply
#2
This is the log output I get when it tries to scrape.

Again this is from adding my mythtv source via "Add Source" -> "Browse" -> "TV Recordings"

Code:
20:37:01 T:140285812127488  NOTICE: Thread VideoInfoScanner start, auto delete: false
20:37:01 T:140288327456640   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
20:37:01 T:140285812127488  NOTICE: VideoInfoScanner: Starting scan ..
20:37:01 T:140285812127488   DEBUG: CAnnouncementManager - Announcement: OnScanStarted from xbmc
20:37:01 T:140285812127488   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanStarted
20:37:01 T:140285812127488    INFO: AddOnLog: MythTV cmyth PVR Client: Received announcement: VideoLibrary, xbmc, OnScanStarted
20:37:01 T:140285812127488   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings/series/Justified)
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - A Murder of Crowes, TV (553 FXHD), 20140108_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - A Murder of Crowes' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20A%20Murder%20of%20Crowes.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20A%20Murder%20of%20Crowes&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - A Murder of Crowes' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20A%20Murder%20of%20Crowes.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20A%20Murder%20of%20Crowes&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - A Murder of Crowes, TV (553 FXHD), 20140108_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - The Kids Aren't All Right, TV (553 FXHD), 20140115_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - The Kids Aren't All Right' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20The%20Kids%20Aren%27t%20All%20Right.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20The%20Kids%20Aren%27t%20All%20Right&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - The Kids Aren't All Right' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20The%20Kids%20Aren%27t%20All%20Right.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20The%20Kids%20Aren%27t%20All%20Right&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - The Kids Aren't All Right, TV (553 FXHD), 20140115_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Good Intentions, TV (553 FXHD), 20140122_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Good Intentions' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Good%20Intentions.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Good%20Intentions&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Good Intentions' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Good%20Intentions.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Good%20Intentions&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Good Intentions, TV (553 FXHD), 20140122_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Over the Mountain, TV (553 FXHD), 20140129_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Over the Mountain' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Over%20the%20Mountain.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Over%20the%20Mountain&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Over the Mountain' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Over%20the%20Mountain.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Over%20the%20Mountain&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Over the Mountain, TV (553 FXHD), 20140129_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Shot All to Hell, TV (553 FXHD), 20140205_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Shot All to Hell' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Shot%20All%20to%20Hell.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Shot%20All%20to%20Hell&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Shot All to Hell' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Shot%20All%20to%20Hell.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Shot%20All%20to%20Hell&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Shot All to Hell, TV (553 FXHD), 20140205_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Kill the Messenger, TV (553 FXHD), 20140212_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Kill the Messenger' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Kill%20the%20Messenger.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Kill%20the%20Messenger&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Kill the Messenger' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Kill%20the%20Messenger.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Kill%20the%20Messenger&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Kill the Messenger, TV (553 FXHD), 20140212_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Raw Deal, TV (553 FXHD), 20140226_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Raw Deal' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Raw%20Deal.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Raw%20Deal&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Raw Deal' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Raw%20Deal.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Raw%20Deal&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Raw Deal, TV (553 FXHD), 20140226_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Whistle Past the Graveyard, TV (553 FXHD), 20140305_030000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Whistle Past the Graveyard' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Whistle%20Past%20the%20Graveyard.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Whistle%20Past%20the%20Graveyard&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Whistle Past the Graveyard' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Whistle%20Past%20the%20Graveyard.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Whistle%20Past%20the%20Graveyard&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Whistle Past the Graveyard, TV (553 FXHD), 20140305_030000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Wrong Roads, TV (553 FXHD), 20140312_020000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Wrong Roads' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Wrong%20Roads.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Wrong%20Roads&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Wrong Roads' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Wrong%20Roads.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Wrong%20Roads&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Wrong Roads, TV (553 FXHD), 20140312_020000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - Weight, TV (553 FXHD), 20140319_020000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Weight' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20Weight.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20Weight&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - Weight' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20Weight.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20Weight&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - Weight, TV (553 FXHD), 20140319_020000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No NFO file found. Using title search for 'pvr://recordings/series/Justified/Justified - The Toll, TV (553 FXHD), 20140326_020000.pvr'
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - The Toll' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20-%20The%20Toll.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20-%20The%20Toll&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488   DEBUG: FindMovie: Searching for 'Justified - The Toll' using The TVDB scraper (path: '/home/davey/.xbmc/addons/metadata.tvdb.com', content: 'tvshows', version: '1.5.6')
20:37:01 T:140285812127488   DEBUG: scraper: CreateSearchUrl returned <url cache="cache-Justified%20%20%20The%20Toll.xml">http://thetvdb.com/api/GetSeries.php?seriesname=Justified%20%20%20The%20Toll&amp;language=en</url>
20:37:01 T:140285812127488   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>
20:37:01 T:140285812127488 WARNING: No information found for item 'pvr://recordings/series/Justified/Justified - The Toll, TV (553 FXHD), 20140326_020000.pvr', it won't be added to the library.
20:37:01 T:140285812127488   DEBUG: VideoInfoScanner: No (new) information was found in dir pvr://recordings/series/Justified/

On the very last one it scans too, just for fun i put a .nfo file created from thetvdb.pl which MythTV uses in the same recordings directory, just to see if XBMC would see it. It cant thought I would assume from the way the video is linked in the plugin.

Does anyone else have this problem. I dont want to submit a ticket if this is just some feature not supported because I am using MythTV .26 and it works fine in MythTV .27
(Living Room)
core i7 HD4000 running MythTV .27 and XBMC 16
on XBMCUbuntu 14.04 with 24Hz, DTS-HDMA 7.1
(Bedroom)
core i3 Intel Nuc MythTV .27(front end) and XBMC 16
on Xubuntu 14.04 with 24Hz,
(Mother-in-Law)
Second Gen Raspberry Pi running OpenElec
Droid Turbo with kodi and live tv!
Reply

Logout Mark Read Team Forum Stats Members Help
Proper Scrapping from MythTV sources0