Sick-Beard
Sick-Beard copied to clipboard
Trakt watchlist support
Adds new shows to sickbeard when they are added to your trakt watchlist. Has the option to download the pilot of that show as well ( the whole show or none of it) also added removing shows from a watchlist when they are downloaded
This looks awesome! Is there any way to also add Trakt recommendations as well? That way, the users that we associate with on Trakt can influence what we watch/download without extra hasstle.
I built this off how I use the site, which is every so often I go through my recommendations and ones I like the look of to my watchlist. It seems dangerous to let sick-beard download new shows with no prompt from the user. Although it is possible.
You could add conditions in like in CouchPotato for the Automation section for things like Votes and Ratings. That way it could filter the Recommendations section slightly.
I would love to have this code merged into sickbeard. I'm using it from EchelonFour's repo, and it's awesome!
This appears to be all on the Linux build side of SickBeard. Is there a somewhat easy way for me to put these changes into my windows Sickbeard? Or better yet, I would request that this great feature be pulled into the standard Sickbeard distro.
Maybe a dumb question but I am new to Git and dont really know how it works. How do I pull this into my current install that is running from source?
I have Git installed and currently do this every morning prior to launching Sick-Beard when my server restarts.
git pull git://github.com/midgetspy/Sick-Beard.git git merge origin/development
Any help would be much appreciated as Trakt support is something that I have been waiting for for a long time.
Thanks
Harroguk
This looks awesome, adding to my install now :D
i must be missing something, i installed the full version echelonfour has on his repository but i cant find the settings or how to import trakt shows into sickbeard
It's under the trakt settings in notifications. If it's not there you probably got the wrong branch, you want: https://github.com/EchelonFour/Sick-Beard/tree/trakt_watchlist
Thanks for your help EchelonFour, however I get an error ERROR::TRAKTWATCHLIST :: No default root directory, any ideas?
oh I fugured it out !
Wonderfully! I could kiss you!
--?For windows users, don't try this yet, unless you know what you are doing.--
Is there a way, to get this working?
Mine runs on Windows. There is nothing os specific in this. Just merge this into the latest development branch and find a guide for running from source on windows.
Okay, thanks. I'll try finding a way to do it. While Sickbeard crew is lazy accepting request. :)
we are not lazy. just busy.
@thezoggy Sorry m8, wasn't trying to offend you. Keep up the good work! :o)
Does it remove from the watchlist when the item is added to couchpotato?
wrong program, and yes
oh hehe yeah ofc i meant sick beard ;) awesome! Can i merge this build with the main on my installation (linux). Im not very good with GIT.
This must be added to the official sickbeard git repository
Works like a charm and merges cleanly with the current master :)
:+1: for merging
I get a 500 Internal Error File "cheetah__sickbeard_data_interfaces_default_config_notifications_tmpl_1353001615_56_35983.py", line 1424, in respond NotFound: cannot find 'TRAKT_REMOVE_WATCHLIST' while searching for 'sickbeard.TRAKT_REMOVE_WATCHLIST'
Any ideas how to fix this?
Im new to GitHub so can anyone please tell me how i can add - merge this commits to my Local installation ?
Im using Linux and have git installed.
Thanks in advance.
I just did a rebase and squash, and this is still good to go
Thanks for this. It's exactly what I was looking for. I'm hoping it gets accepted into master.
I am trying to get this running on Windows 7, I have python 2.7.3 and cheetah 2.4.2.1 installed and the SickBeard.py script seems to run properly, I can see it start on the proper port, the only error in the command window is about NameMapper, which I have read can be disregarded.
My issue is the web interface gives the following 500 error: Traceback (most recent call last): File "C:\Program Files\Sick-Beard-trakt_watchlist\cherrypy_cprequest.py", line 660, in respond response.body = self.handler() File "C:\Program Files\Sick-Beard-trakt_watchlist\cherrypy\lib\encoding.py", line 193, in call self.body = self.oldhandler(_args, *_kwargs) File "C:\Program Files\Sick-Beard-trakt_watchlist\cherrypy_cpdispatch.py", line 25, in call return self.callable(_self.args, *_self.kwargs) File "C:\Program Files\Sick-Beard-trakt_watchlist\sickbeard\webserve.py", line 1943, in index return _munge(t) File "C:\Program Files\Sick-Beard-trakt_watchlist\sickbeard\webserve.py", line 120, in _munge return unicode(string).encode('utf-8', 'xmlcharrefreplace') File "C:\Python27\lib\site-packages\Cheetah\Template.py", line 1010, in unicode return getattr(self, mainMethName)() TypeError: unbound method respond() must be called with Program_Files_Sick_Beard_trakt_watchlist_data_interfaces_default_home_tmpl instance as first argument (got nothing instead)
I have pulled the zip from this page: https://github.com/EchelonFour/Sick-Beard and to the error above. I have downloaded git, pulled the repository and locally merged in the origin/development and the trakt watchlist branch (I cant remember the exact name) and got the above error.
Can someone point me in a direction to help resolve this issue? I'm honestly at a loss as to where to start.
Thanks M
hi there would like to test this but rather unfamiliar with linux and github
i tried cloning with:
git clone git://github.com/EchelonFour/Sick-Beard.git my-sickbeard-install
but don't see a diference from master - i have trakt notification but not watchlist
thanks
You need to pull the required branch
git clone -b trakt_watchlist git://github.com/EchelonFour/Sick-Beard.git my-sickbeard-install
Thank you ppslim
Working grate, hope this makes it into main branch.
EchelonFour Could I use this in my branch TPB Branch? Seem a good feature to me.
Absolutely. I encourage it.
Added at the moment in my development branch Pistachitos https://github.com/mr-orange/Sick-Beard/tree/Pistachitos. Could you check if it's working? I'm not a track user. Thank you.
Mr_Orange
It doesn't. You didn't merge lib/trakt/init.py and you also forgot one of the changes to webserve.py
Thanks. Now Fixed.
Hi EchelonFour have made minor gui modify on Trakt config notification page. In short word some options related to trakt watchlist are hidden/visible when trakt watch list is not flagged/flagged. Thanks again for this nice feature.
PS: this is the url of the commit: https://github.com/mr-orange/Sick-Beard/commit/f8ebbf1587104eea1cab3e61d4f44c4677f6dd72
So, I still have not got this to work. Currently I do the following in order to run Sick-Beard from source and this works with no problems
cd c:\installedprograms\sick-beard git pull git://github.com/midgetspy/Sick-Beard.git git merge origin/development C:\InstalledPrograms\Python27\pythonw.exe C:\installedprograms\sick-beard\sickbeard.py
What do I need to add and where do I need to add it to the above script in order to get the EchelonFour changes into this? I have tried (and failed) to "merge" it but it seems that my lack of knoweldge regarding GIT terminology is stopping me from getting this working.
Any help would be much apprecieated.
Thanks
Harroguk
Request. If I add a show to watchlist and trakt.tv knows the last episode I have seen and not collected. I want a choose to automatically add to wanted the next "X" number of episodes on sickbeard. I can't/won't create this myself. If someone does add this feature and submit a pull request to https://github.com/mr-orange/Sick-Beard/tree/Pistachitos . That would be great.
http://trakt.tv/api-docs/user-progress-watched http://trakt.tv/api-docs/user-progress-collected
how this works? I enabled the trakt API key and etc but I see no option to sync/add-shows to SB database (my SB database is empty). What should I do? Connection to trakt is ok (tested)
On the trakt site you add the show to your "watch list", that should make Sickbeard add it to your list automatically.
I see. So I won't pick shows from my library ? Too complex to implement this? Thanks for your fast reply. I thought this option would add "Add-shows from Trakt" at the "Add shows" page.
The current implementation simply adds everything in your watch list, seems more sensible to me anyhow. I have about 50 shows in my watched list in Trakt and I wouldn't like it to automatically start downloading series I've seen years ago and which I have no need to see again.
If you want to have a show from Trakt within Sickbeard, simply add them to your watch list and you're done :) Having a button to import them all shouldn't be too hard to implement, but... noone has done that so far.
But watchlist isn't the list that I want to watch but didn't watched yet ? As far as I know whenever I mark an episode of this show as watched, trakt removes it from watchlist, I will try add to watchlist but It will better an "add shows from trakt" option. It would show the list of all shows from Library with checkboxes and then you select which one you want to add (you would do this one time only). And the watchlist is for new shows. again, thanks for your suggestion and quick reply!
Any series that you want to watch but didn't watch yet should be downloaded, no? How can you watch it otherwise ;) And once you've watched it, what's the point of adding it to sickbeard?
Either way, it sounds like a nice feature request. Not sure if @EchelonFour wants to (and has the time to) write it, otherwise I can take a look at it but that won't be within a month as I'm fairly busy at the moment.
Imagine a new user of SB that used to download from other sources/programs. There's ended shows (don't want to download again), new shows (never watched but want to download - this commits does that), and continuing shows (already watched some episodes but want to SB to get the new episodes). This feature request would help to create the SB database of continuing shows.
Let's wait for @EchelonFour reply. Just want to give my 2cents to help others new users. I will manage to add all my shows so don't need to rush this. thanks again.
I wouldn't use it, so I probably won't write it. Sorry. Sounds like a lot of UI work that I'm not very good at.
I understand the issue of fernandovg. But I think the solution can be much easier.
...SB database is empty..
Perhaps you don't know this. There is on option to add existing shows on your harddrive.
... pick shows from my library ? ...
A media player can do this for you. I understand this is even recommend. If you aren't using one. Start using SB and/or trakt.tv with a media player. Which builds on trak.tv a history of every TV show and movie you watch. http://trakt.tv/downloads
But the only issue I have. It doesn't distinguish Continuing shows : already watched some episodes but want SB to get the new episode(s) I have not seen. New shows : never watched but want to download first episode(s).
That's why in my previous reply I posted a request which will distinguish these. https://github.com/midgetspy/Sick-Beard/pull/401#issuecomment-15923052 Continuing shows : shows added to trakt.tv watchlist and trakt.tv knows the last episode you have watched. New shows : shows added to watchlist and trakt.tv knows I never saw an episode of that show.
Of course to make this work. A user should use "add show to trakt.tv watchlist". Only for the shows that you want to view all episodes. Which in my opinion the "add show to watchlist" should be used for.
I'm a heavy user of XBMC for Raspberry Pi (Raspbmc - linux) with the official Trakt addon that scrobbles/mark-seen all my tv-shows and movies (I can also manage my progress). I'm trying to add SB to this "process". Also SB can send command to update XBMC library. With a Trakt app for android I can manage everything using a tablet and watch in XBMC and get notifications from SB using Notify my Android. Full integration.
@thezoggy: when do you expect to have some time to review this pull request and merge it in? The pull still has no merge conflicts right now, but that probably won't stay forever.
@fernandovg I understand you know. Somehow I had misread it. "Add shows from your trakt.tv library." Which will work like . "Add existing shows on your harddrive." And I can imagine the need for this. Also it isn't in conflict with my request or the current Trakt watchlist support.Which I previously thought.
However I find this a very different discussion than Trakt watchlist support. I found a request on googlecode about your idea. "Add existing shows from your trakt.tv library or other library (media player/website)." https://code.google.com/p/sickbeard/issues/detail?id=657
@EchelonFour I'm getting some errors related to TRAKTWATCHLIST. I did some tests and If I'm logged to Trakt they don't appear or appear very often. If I'm not connected, they appear frequently. Maybe a problem with cookies/storage or authentication? This feature is adding ok the tv-shows but I get this errors. If you need some more testing or anything count with me
http://img560.imageshack.us/img560/5738/logup.png
If it works some of the time then there is nothing I can do and the issue is that the trakt server is unreliable. To combat this I recommend donating to trakt and becoming a VIP so they can afford better servers. If it never works then you probably got your username, password or api key wrong.
Thanks for your fast reply. I'm already VIP. =) How often this feature does requests to trakt API? Does is it handle the error "is crunching data from the insane amount of tv shows and movies you guys watch, please wait a moment then try again" thanks!
I think it runs every 30 minutes. The way it is handling server error is by stopping the check and printing that error in the log.
Is it possible to print to the log the return message(error message) from trakt api, so users can distinguish from password/api errors from "chunching" errors? Or change the log error text to "is crunching data..." thansk
XBMC Trakt addon handles it. Don't know if you can port the code: https://github.com/rectifyer/script.trakt/blob/master/traktapi.py Line 64
I tried to edit in init.py file to check the 503 error so traktWatchListChecker.py can distinguish the errors but I couldn't...
Why this don't work? Tried 503, "crunching", etc.. I got nothing at log with "Error 503". I imported logger again. resp = json.loads(resp) if ("503" in resp): raise Exception(resp["error"]) logger.log("Error 503")
help me? thanks
Sounds great
Would LOVE to see this... In both Master and Anime.
Hello there, I get this error, can anyone help me? ERROR::TRAKTWATCHLIST :: No default root directory
Please pull this in to the main code!
I am running from release version, not source. I would pull this branch and set that up, but I am not sure if this branch has been maintained over the years, and I am pretty sure this won't work anymore with the Trakt v2.0 API out.
Can anyone give an update on this?
Have a look at Sick Rage - it has working trakt support. On Mon, 6 Apr 2015 at 11:52, cyrus-za [email protected] wrote:
I am running from release version, not source. I would pull this branch and set that up, but I am not sure if this branch has been maintained over the years, and I am pretty sure this won't work anymore with the Trakt v2.0 API out.
Can anyone give an update on this?
— Reply to this email directly or view it on GitHub https://github.com/midgetspy/Sick-Beard/pull/401#issuecomment-90015447.
Agreed with @nikotime, Sickrage has all of the features that never got merged into Sickbeard, Sickbeard is not a bad system but if you want more features and/or want earlier access to them, try Sickrage instead.
Long story short: Reliable and steady: sickbeard Lots of features with some bugs at times: sickrage
Or Sonarr for something a little different!
On Mon, Apr 6, 2015 at 5:43 PM Rick van Hattem [email protected] wrote:
Agreed with @nikotime https://github.com/nikotime, Sickrage has all of the features that never got merged into Sickbeard, Sickbeard is not a bad system but if you want more features and/or want earlier access to them, try Sickrage instead.
Long story short: Reliable and steady: sickbeard Lots of features with some bugs at times: sickrage
— Reply to this email directly or view it on GitHub https://github.com/midgetspy/Sick-Beard/pull/401#issuecomment-90143873.
Forgive me, but has this been implemented?