pgp90 / Plex-Crunchyroll-plugin

a crunchyroll plugin for plexapp
12 stars 5 forks source link

Only episodes from first season of a series work. #5

Open pgp90 opened 11 years ago

pgp90 commented 11 years ago

Since Crunchyroll changed their feeds, the feeds for getting the episodes for a series only display the episodes in the first season. While there is another feed (boxee) that can be used, it does not provide as much information. It is also possible to get the information from the normal webpage.

As this could impact the users, I thought that the users should have a say in what should happen, or if there are any other sources of the information.

a list of information from each feed will be added later.

MattRK commented 11 years ago

I would be curious to know what the difference is between the two feeds. I was actually looking at the two feeds the other day and didn't really see the difference. I'm assuming it's missing information such as rating, publisher, etc? Everything else (Description included) seemed the same.

pgp90 commented 11 years ago

I actually found a new set of feeds that are even better/easier to use. for a full list of the series/seasons there is http://www.crunchyroll.com/syndication/feed?type=series there there is a feed for each season at http://www.crunchyroll.com/syndication/feed?type=episodes&id=19346 where the id is a GUID for the season of the series you want. In this case it is for Bleach season 13.

I've actually started to do a full rework of all the code using the feeds. I'm also working on the Dict objects for caching the series/episodes to reflect the need for the seasons and to finally clean up the various versions of the objects....

The nice thing about this is that it should make it possible (if done correctly) to improve the caching and minimize the http requests. I also hope to fix a small issue of episode information never being updated after being added to the Dict.

Since there is so much to change, this might take a while to finish.

As for the differences, yes it is that the boxee feed has less information. While having less information means that it would load faster, it is missing very important parts (or soon to be important parts) like when the episode is available and rating.

I'm hoping to finish adding "video currently unavailable" and tv ratings support. I'm also planing on looking into using the subtitle/restrictions information to make the plugin usable internationally. But that is for later after getting the feed parts updated.

Feel free to look at the very early work/plans in the dev branch.

pgp90 commented 11 years ago

Small progress update.

Most of the coding work for changing over to the new feeds is complete. All that remains is to do some bug testing and clean up the code. If anyone reads this before the changes are submited to the master version, and you want to help test it, you can download the code from the dev branch (https://github.com/pgp90/Plex-Crunchyroll-plugin/archive/Dev.zip).

MattRK commented 11 years ago

Looking at the Dev branch now. I see you've started separating the code out into various different files to help organize the code. However i also see that the includes for those files are commented out. It looks like all the code in the various files are also still contained in the init.py file. Which specific files are you working on?

pgp90 commented 11 years ago

I've been trying to pull out all the direct server/user access functions out into the API.py file but for some reason it does not seem to want to work if imported. You can see for yourself if you remove/comment out the API class at the end of the main file and uncomment the API include.

Sent from my iPhone

On Feb 8, 2013, at 0:04, MattRK notifications@github.com wrote:

Looking at the Dev branch now. I see you've started separating the code out into various different files to help organize the code. However i also see that the includes for those files are commented out. It looks like all the code in the various files are also still contained in the init.py file. Which specific files are you working on?

— Reply to this email directly or view it on GitHub.