Page 1 of 1

[Feature] Implement "Newest Episodes" for podcasts

PostPosted: Sat Sep 05, 2015 6:46 pm
by grumpwagon
The newest subsonic server beta implemented a list of newest podcasts. That's really nice. Would it be possible to recreate that in dsub?

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Sat Sep 05, 2015 8:36 pm
by daneren2005
Sindre did not appear to add support for it to the API. I will ask him to because yeah that is way nicer than what we currently have. I would love to just be able to have a list of recents at the top like that.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Mon Oct 26, 2015 1:37 pm
by grumpwagon
From the changelog:

REST: Add method to get newest podcast episodes.

Woohoo!

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Mon Oct 26, 2015 3:36 pm
by daneren2005
I missed that. Added it to my TODO list to add support

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Mon Oct 26, 2015 10:24 pm
by daneren2005
How are you envisioning it being implemented? There is significantly less real estate to work with on a phone than on a PC. I'm trying to decide between one of:

1) The top x (maybe 10?) most recent podcasts at the top and then the podcast channels
2) The top x most recent podcasts belong all the channels
3) A button at the top you can press to load all of the top channels.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Tue Oct 27, 2015 12:57 pm
by grumpwagon
daneren2005 wrote:How are you envisioning it being implemented? There is significantly less real estate to work with on a phone than on a PC. I'm trying to decide between one of:

1) The top x (maybe 10?) most recent podcasts at the top and then the podcast channels
2) The top x most recent podcasts belong all the channels
3) A button at the top you can press to load all of the top channels.


If you did #1, I'd do the first 3-5 instead of 10 (and maybe make the first "channel" a link to a new page with the top 10-15), just for screen real estate issues. If you did #3, that's best for screen real estate, but maybe worst for flow (adds an extra click for most common usage).

This might be extra work, but what if you did #3, and had the button toggle back and forth between recent view and channels view, and remember the last position of the toggle?

I'd be happy with any option you chose, they're all better than what we had access to before this, but if I had to rank my preferences, I'd say (in order):

My new option (i.e. modified #3), #1, #2, #3

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Fri Nov 06, 2015 9:07 pm
by SenorSmartyPants
Recently added podcasts do not indicate which podcast they are from. They only display title of podcast episode and length.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Sat Nov 07, 2015 1:00 am
by daneren2005
Right you are. I will add that before the date.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Sat Nov 07, 2015 1:23 pm
by grumpwagon
Just got the update, looks good, thanks!

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Sat Nov 07, 2015 7:33 pm
by daneren2005
The API does not include the podcast name in the newest episodes listing. It includes a Album and Artist field which sometimes match and sometimes do not. It's usually close enough to understand which podcast it is from. I will be putting that in the place of the name, but it will not be exact until a future version of Subsonic adds the Podcast channel's name to the API.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Tue Nov 10, 2015 2:20 pm
by grumpwagon
This is working well, but I just added a podcast from the Recent Episode section and the cover art is very messed up.

The widget has cover art from the first added podcast even though I added 3 podcasts and am listening to the 2nd and 3rd.

The main album art display in the app appears to be showing an alternate image for the podcast (e.g. instead of showing the blue The Bill Simmons podcast cover, like it does on the subsonic webapp and the dsub podcast channel, when playing, it instead shows a picture of Bill Simmons).

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Tue Nov 10, 2015 5:30 pm
by daneren2005
This might also require an API update for the server before I can fully fix. Before podcasts each had a cover art associated with each individual episode. Now the server has a cover associated with the entire podcast, but the API was not updated to put that cover art for each episode. I'm not really sure where the per-episode cover art comes from to be honest. I think I can do a work around but it might not be 100% until the API is updated. But it will definitely be closer in the next Beta release.

Re: [Feature] Implement "Newest Episodes" for podcasts

PostPosted: Tue Nov 10, 2015 7:00 pm
by grumpwagon
Alright. Thanks for looking in to it. No big deal either way, the podcasts still play and that's what's important.