Closed GoogleCodeExporter closed 9 years ago
Yes, these are the fields you need:
DBOnlineSeries.cPrettyName
DBSeries.Year
DBOnlineEpisode.cSeasonIndex
DBOnlineEpisode.EpisodeIndex
You can get this off a DBEpisode or DBOnlineSeries object.
There are plenty of examples on how you can achieve all this in the
TraktPlugin. In the constructor there is a bunch of events you can hook into so
you can post to your site once a episode has finished. There is also toggle
watched events, all these have examples in the trakt code.
Original comment by damien.haynes@gmail.com
on 9 May 2011 at 11:30
Hi.
I made a first version of MyShows Plugin.Sources and dll are in
attachements.Can you look at the code, please? I'm new in programming so i made
some mistakes.
I have to use DBOnlineSeries.OriginalName as series name but sometimes it is
empty. :(
i found out that it is filled in gui later and sometimes without success. Maybe
i shoud add a condition "when empty - make request after timeout 30 sec"?
I will appreciate your help.
Thanks.
Original comment by edale...@gmail.com
on 21 May 2011 at 4:27
Attachments:
cool, been a bit lately do not much time to review it. But nice to see more
sites like these popping up.
I dont think you need to worry about DBOnlineSeries.OriginalName failing, next
time you try it will try again because it will always try to do a lookup if its
empty and the language is not English.
Original comment by damien.haynes@gmail.com
on 23 May 2011 at 2:07
I'll wait when you have time to look deeply in my code cause some bugs need to
be resolved i.e it is shown in "other plugins" section not in "process" cause
my implementation of IPlugin is wrong etc.
For me and other future users of this scrobbler language will be russian.
And it is strange but DBOnlineSeries.OriginalName is filled well right after
mp's startup in my installation but failed in my friend's MP.
For now I decide to use DBOnlineSeries.PrettyName firstly and then OriginalName
if PrettyName is failed.
Original comment by edale...@gmail.com
on 23 May 2011 at 6:43
It just depends on what tries to read OriginalName...as far as I know its
really only accessed externally e.g. Trakt Sync gets originalName, likewise for
subtitles and your plugin.
I will have a look at your IPlugin implementation when I get a chance.
Original comment by damien.haynes@gmail.com
on 23 May 2011 at 11:53
Damien, i think first version is done.
I fixed IPugin bug and some other stuff.
It supports "watched" and "toggle watched" events for now.
Maybe in future versions i'll add syncing, rating episodes and maybe gui like
trakt :)
Original comment by edale...@gmail.com
on 25 Jun 2011 at 7:50
Attachments:
nice one edalax!
Original comment by damien.haynes@gmail.com
on 26 Jun 2011 at 12:03
Guess we can close this now as this can all be done externally to tvseries like
trakt plugin.
Original comment by damien.haynes@gmail.com
on 6 Nov 2011 at 1:54
Original issue reported on code.google.com by
edale...@gmail.com
on 9 May 2011 at 9:53