Post Reply CloudyRoll - Managing your Crunchyroll queue has never been easier
5012 cr points
Send Message: Send PM GB Post
22 / M
Offline
Posted 8/15/15 , edited 8/15/15
Hello there!

I've been using Crunchyroll for almost a year now, and one thing that always annoyed me was the lack of a good queue system. You could follow, unfollow, and sort. That was it.
Over time the queue just kept on growing, and once it reached around 50 shows, it was quite hard to keep track of what you were following, what you had put on hold, and what was finished. (I actually had a text document which I updated manually every time I saw an episode.. and I still do for series that aren't available on crunchyroll)
So, a few months back I began developing a Chrome extension to help solve these problems, http://cloudmodding.com/cloudyroll, and today I'm finally ready to go public with it, though there may still be plenty of bugs hiding around somewhere in the code.

Images



Basically I've reverse-engineer the android app and website API to give me the data necessary to allow creating and managing your queue outside the website, directly in the extension.
For other developers out there that are interested, I've documented pretty much everything I've used, and then some. You can find it here: https://github.com/CloudMax94/crunchyroll-api/wiki

The extension allows you to add new series to your queue, remove current ones, mark episodes as seen, change order, and put series on hold.

Your queue is grouped into separate lists for easier management.
Following - Simulcasts that you are keeping up with will be kept here. You can specify how many days it takes before it isn't considered being followed. Series are ordered automatically by airdate in this list and days are separated into subgroups, giving you a quick overview of all the shows you are currently following, and when they air.
Watching - These are all the remaining shows that you are watching.
To-Watch - Shows in your queue that you haven't seen the first episode of.
Unseen - All series in your queue where you haven't seen the latest episode.
On Hold - You can put series on hold. When doing so, they'll appear in this group, and they'll be removed from the others.
Done - All shows that you've finished watching will be moved to this list. As I currently do not have a way to determine if you've actually seen the last episode of the series, and only the last available episode, you specify the amount of days that should pass since the last episode before it's considered finished.
All - All shows are listed here, including the ones put on hold.

When a new episode of a show you're following becomes available, you'll instantly recieve a notification from chrome.

You can download the extension here: https://chrome.google.com/webstore/detail/cloudyroll/dlllcfhpddibpcimgobcchnaknpbalod

If you have any questions, feel free to ask.

And before anyone asks, No, I currently do not have any plans to port this to Firefox. Having to manage two versions for separate browsers is quite timeconsuming. And since I'm doing this for free, I simply do not feel like throwing away what time I have available developing for a browser which I don't use.

And while I'm at it, here's some quest passes.
HPMLPD4YNMM
9FRVZGDAH3E
E9E6KKHRZQP
ZMZFCULJ9TF
2009 cr points
Send Message: Send PM GB Post
21 / M
Offline
Posted 8/15/15
Downloaded and installed your extension. I don't if CR doesn't realize there are so many UI improvements that could be done all throughout their site and mobile app or if they are too poor to pay programmers. Thanks for the extension and also thanks for guest pass ZMZFCULJ9TF.
4065 cr points
Send Message: Send PM GB Post
24 / M
Offline
Posted 8/15/15
This is awesome... like wow. Also ty for
HPMLPD4YNMM
10099 cr points
Send Message: Send PM GB Post
21 / M / New Zealand
Offline
Posted 8/16/15
Having used this for a while (in various states of development), this is the one extension that you need to install if you use Crunchyroll.

Now, if only the Android and iOS apps were as organised as this...
86 cr points
Send Message: Send PM GB Post
16 / M
Offline
Posted 8/16/15
I downloaded it and when I go to my queue, it's empty in the lists. I try to find a way to put them in there but I can't.
How does this work? Does it do it automatically?
5012 cr points
Send Message: Send PM GB Post
22 / M
Offline
Posted 8/16/15
It is supposed to be doing it automatically.
First of all, make sure that you're logged in to crunchyroll when using the extension.

Though, you are probably getting some error that no one else have come across so far.
When opening the popup, right click it and inspect element, then go to the console.
Check if there are any errors in there. (you can ignore ones that say "Cannot create item with duplicate id", it's a known issue which shouldn't affect anything).
You should also go to extensions in settings, then locate CloudyRoll and click on details and then "background page". It will open a popup. Check if there are any errors in the console there as well. Again, you can ignore "Cannot create item with duplicate id" messages.
If you do not see any errors in either console, try reloading them (press F5 while in the console) and see if any additional messages appear.
If you're not sure about the errors, you can always right click on the console and save it, and send if over and I'll take a look.

If you send over the entire log, send it in a private message, as some specific API call errors may contain your session id in the debug information, which others could use to hijack your account.
86 cr points
Send Message: Send PM GB Post
16 / M
Offline
Posted 8/16/15 , edited 8/16/15
So apparently after opening up the console and not seeing anything, it got fixed.
Though, there are some anime that are not on the following list, do you have to have the series on the last episode for it to get on the list.
For example, I am following Naruto Shippuden, I watched all episodes and am waiting for new ones. I watched a couple of old ones so now it says I'm at ep. 37 in the queue. Does it need to be on the last episode?

Answering my own question: Yes, yes you do have to have it on the last episode.
5012 cr points
Send Message: Send PM GB Post
22 / M
Offline
Posted 8/16/15

RoastyMcToasty wrote:

So apparently after opening up the console and not seeing anything, it got fixed.
Though, there are some anime that are not on the following list, do you have to have the series on the last episode for it to get on the list.
For example, I am following Naruto Shippuden, I watched all episodes and am waiting for new ones. I watched a couple of old ones so now it says I'm at ep. 37 in the queue. Does it need to be on the last episode?

Answering my own question: Yes, yes you do have to have it on the last episode.


I'm glad you got it to work.

To add to your own answer: The crunchyroll API uses what they call "most_likely_media" to determine the next episode of each series in your queue. And which episode that is depends on the last episode you saw. So even if you've seen the latest episode, and are waiting for the next one, if you were to go back to an older episode, Crunchyroll would think that that is where you currently are, and as a result, display the episode that comes after that one.
There sadly is no method for retrieving the newest episode available that you haven't seen of a show, my hands are tied when it comes to some things due to how their API is set up.
Well, there is always the possibility that's API available out there which I haven't found. Digging thru their code and figuring out how things work can be a bit tricky. Some stuff I found by just guessing names even. But at least I haven't found anything like it so far, and there's no indication that there exists something like it.

And just to be clear, the show did not disappear entirely, right? It was only moved to another list? Because no matter where you are in a show, they should always appear. With one exception. There's a bug which causes a show to disappear entirely from lists when you click to mark an episode as seen when you aren't on the latest episode, but that will correct itself as soon as you refresh the list.
86 cr points
Send Message: Send PM GB Post
16 / M
Offline
Posted 8/16/15 , edited 8/16/15
No, it was in the normal queue, the 'all' list. After I did the last episode trick it went to the following list (it also stayed in the 'all' list, it basically copied it to the following list).
You must be logged in to post.