I added a function to the YouTubeAPI to load all the videos of a playlist
and it works! Even if there's more than 50 videos. It actually do three
requests and return the promise. Now, I only need to save the data to the
localstorage and hope I'll stay under 5mo. 5mo is a lot of text. We'll see
with my tests.
Stopped using a model in the app. It was useless and more confusing than
anything else. Now, the controllers load stuff from youtube and save them
to localStorage when they want it. It works great and there's way less
useless code. I rewrote some of the controllers in Coffeescript and
reimplemented the "mark as read" functionnality. Everything is working
fine now. Now, I got to make sure that the auto-mark-as-read feature as
well as the progress still work. I can't seem to find the code. I'll have
to check at home. It seems that my repository was not up to date when I
started. I also need to implement the paging functionnality in the
PlaylistDetail view. I also want to implement a page with options when you
open the popup on a list.