SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.13k stars 273 forks source link

All Show Calendar #720

Open garfield69 opened 8 years ago

garfield69 commented 8 years ago

as raised in this Reddit post:

There's a very handy default calendar option on trakt that you can use to see all shows on this week, and filter to display only premieres or only brand new shows. (all without logging in) All shows - https://trakt.tv/calendars/shows Premieres - https://trakt.tv/calendars/premieres Brand New - https://trakt.tv/calendars/new-shows I find myself wanting a add to DuckieTV button when looking at these calendars as if i was in Duckie browsing to find a new show! It'd be great to have an option to show this on Duckie in a similar weekly calendar view. Perhaps an extra option on the add a show page or even a button on the download calendar page similar to the sort/filter for unwatched episodes on the favorites page... "Display Live Shows Calendar" with tickboxes for All Shows - Premieres - Brand New. It'd make it really easy to find and be reminded about shows. with the info side banner and option to add to the download calendar.

schizoduckie:

I've been thinking about this as well. It could be a cool calendar view, but it will require a sort of Trakt 'live' switch and an abstraction layer between the data from Trakt and the info we can show If we could limit the sidepanel that pops up when clicking a specific episode on the calendar to just that show's info, amended with a nice 'add to calendar' button I could completely see this feasible

garfield69 commented 6 years ago

the current trakt.tv API for shows does not support requests for All shows -https://trakt.tv/calendars/shows Premieres - https://trakt.tv/calendars/premieres Brand New - https://trakt.tv/calendars/new-shows

Their API supports https://trakt.docs.apiary.io/#reference/shows the following: Trending (we currently use this in our add-a-show panel), Popular (get the most popular shows) Played (returns the most played shows during a specific period) Watched (the most watched shows in a period) Collected (the most collected shows in a period) Anticipated (based on the number of lists the a show appears in) and Search (which we use in the add-a-show panel, as the search-box above the trending list). All other queries require you to know what the show/episode/movie/etc is that you want info on.

Clearly the Trakt.tv web page gathers information over its whole database in order to present those web pages reported by the OP, but since DuckieTV does not fetch every show in the trakt.tv db, duckie cannot do anything similar. And before you ask, no, we are not going to do HTML scraping to fetch the data off those web pages, trakt.tv would not like that, they expect apps to use the API.

garfield69 commented 6 years ago

scratch that.

found https://trakt.docs.apiary.io/#reference/calendars which returns all shows (all shows airing during a time period) all new shows (premiers during period) all season premiers (season premiers during period).

so putting this back on the enhancement request list again.