Closed iClosedz closed 10 years ago
Your movies are added to the library with a movie scrapper?
how to add it ? I can't lunch the trakt addon I just can config it
Thank for answer.
It's on xbmc, not in trakt.
OK. I watched tvshow on Go addon and it scrape.
I have question about the name to trakt for scrape
how to create a name that trakt can scrape ?
on setInfo(...) - Video Values:
http://mirrors.xbmc.org/docs/python-docs/13.0-gotham/xbmcgui.html#ListItem-setInfo
and the pattern of the name ? ex. name ep 1 - 1 name episode 01x01
Thank you.
so I test on my xbmc with
- Video Values:
'tvshowtitle': name
Falling Skies Season 1 EP 1 not scrape Falling Skies 1x01 scrape
on script.trakt / utilities.py
'Season ([0-9]+) - Episode ([0-9]+)[^\\/]*', # Season 01 - Episode 02
'Season ([0-9]+) Episode ([0-9]+)[^\\/]*', # Season 01 Episode 02
Can I pull request ? with
'Season ([0-9]+) - EP ([0-9]+)[^\\/]*' # Season 01 - EP 02
'Season ([0-9]+) EP ([0-9]+)[^\\/]*' # Season 01 EP 02
and last thing how can scrape the movie I try
- Video Values:
'title': The Amazing Spider-Man 2
http://mirrors.xbmc.org/docs/python-docs/13.0-gotham/xbmcgui.html#ListItem-setInfo
it doesn't scrape
Thank you.
XBMC 14 is still in alpha, until it reaches a beta status, or even RC status, I really have no intentions of testing the current code base against it.
The regex in the addon is meant for non-library items. So if you're not using the built in scrapers for your local media, you really should be.
Aside from this, logs are the only way to really debug something.
OK. my add-on like VOD it isn't use scraper like imdb themoviedb auto scraper, so I change my code on my add-on to handle this
# Season 1 Ep 2
to
# Season 1 Episode 2
for trakt to scrape it.
but I'm so confuse with the movie don't know how to scrape with trakt. anyway I will try to make it on the library
did you mean add movie to the library is use scraper like imdb, themoviedb script to scrap meta data ?
If this is data from another addon then it (you) should be providing data in the info labels, not relying on regex parsing of a single value.
VideoPlayer.TVShowTitle
VideoPlayer.Season
VideoPlayer.Episode
VideoPlayer.Year
VideoPlayer.Title
Movies requires title, year and all others listed above to be blank to recognize it as a movie. TV Shows require TVShowTitle, Season, and Episode at a minimum to pick it up, it will also use Title (which would be set to the Episode title), and Year if set. If only TVShowTitle is provided, then regex comes into play.
Since this is a video addon, ignore anything related to library then, as that's primarily for local media files.
OK! Thank you very much for the information.
I will try it.
EDIT: It work!
I do the thing follow this on XBMC
it not error show.
when I watched video on my hdd it not thing going to trakt It show You haven't watched anything :(