![]() |
|
|||||||
| Scraper Development Developers forum for meta data scrapers. Scraper developers only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2004
Posts: 35
![]() |
so i've been looking into a way of getting my mythtv recordings better integrated with xbmc. the myth:// method works fine, but because of an issue with schedules direct and the lack of database support in mythtv itself; important information like the series and episode numbers are missing.
my goal is to be able to use the TV Shows pane with all the nice graphics and extra info provided by the scrapers, rather than the drab Video's list. i currently use mythrename.pl to generate readable filenames for all my mythtv recordings. this filename can then have info such as the original air date, syndicated episode numbers and the episode name. eg: Code:
Fringe - Unleashed - (2009-04-14 @ 2101).mpg so i have: Code:
Fringe - Unleashed - (2009-04-14 @ 2101).nfo Code:
<tvshow>
<title>Fringe</title>
<episodeguide><episodeguide><url cache="82066.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/82066/all/en.zip</url></episodeguide></episodeguide>
<episodedetails>
<title>Unleashed</title>
<season>1</season>
<episode>16</episode>
</episodedetails>
</tvshow>
![]() can anyone help? cheers, |
|
|
|
|
|
#2 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
that's not the correct format of the nfo's.
either you want Code:
tvshow> <title>Fringe</title> <episodeguide><episodeguide><url cache="82066.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/82066/all/en.zip</url></episodeguide></episodeguide> </tvshow> Code:
<episodedetails>
<title>Unleashed</title>
<season>1</season>
<episode>16</episode>
</episodedetails>
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#3 |
|
Member
Join Date: Feb 2004
Posts: 35
![]() |
thanks for the quick reply!
![]() i still can't get it to work i think i should clarify what i'm trying to do; i do not want to do a full scrape of data and dump it into the nfo's, i only want to populate the episode and series numbers so that the xbmc scapers can have sufficient data so that it gets the remaining information about the tv show.can it work like this? or do i have to populate the entire <episodedetail/> myself? thanks! |
|
|
|
|
|
#4 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
if you do it like this you need to populate the entire info yourself.
plus currently it won't work as the filenames needs to enumerate, i.e. match one of the regular expressions, for us to find the nfo files
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#5 |
|
Member
Join Date: Feb 2004
Posts: 35
![]() |
hmm.. so it sounds like i'm probably better off renaming the files to have the series and episode data instead.
![]() i was hoping not to have to write my own scraper, but i guess i'll have to get my hands dirty ![]() i noticed from the wiki that there is a scape.exe where i can test my xml files (which i'm lead to believe is out of date anyway). is there a version available for linux? i tried a simple gcc -o scraper on a couple of the files, but they all come back with errors. is there a makefile available? |
|
|
|
|
|
#6 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
we lost the source to that program :/
in any case, you don't need to write a new scraper. you need to change the xbmc code to accept any nfo files, then read the episode and season number from those nfo files. based on those you can do a normal scrape
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
![]() |
| Bookmarks |
| Tags |
| mythtv |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|