-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add podcast episode to Favorites #579
Comments
I'm happy to have a go at fixing this if someone can point me in the right direction. I've scanned the code and it's not clear what needs to be changed i.e. it's not clear to me how adding favorites actually works. |
@ChrisPanda I've made some progress, I can get podcasts saved into Favourites OK, and under certain circumstances they will even play from Favourites, but there are a couple of fairly large issues that I can see. Firstly, the code relies on I think the fix for this is to store the list of episodes under each podcast in Secondly, the URI scheme is based on integer indexes (e.g. Obviously if the Favourite refers to an episode of a podcast that has been removed then there's nothing we can do, since we won't have the RSS URL to read the episode list, so that should return an error to the user asking them to add the podcast again or delete the favourite. I think it's still OK to use the integer index for the episode number in the URI, as these are supposed to be immutable. What do you think? Can you see any simpler solutions? I'm going to start playing with changing the URI scheme to see how much work there actually is. |
I've implemented the new URI scheme, with the name instead of index for the second element, and the "on demand" loading of podcast items, it works well, except that the core code calls It's not terrible but it's probably unexpected behaviour for the user. |
Hi, you don't need to change URI scheme and I already fix the problem and it will be pull request to Volumio and the explodeUri has a bug for a favorite function. In addition, I almost finish the podcast directory searching feature and caching podcast items and I'll change RSS parsing library to speed up. Thanks |
OK, looks like I wasted a few days of my time then. I assumed from your response on the forum that you were happy for me to work on this and that you were working on the search function. Curious to see your solution, especially how it handles deleted podcasts while still using a simple integer index in the URI. |
In the UI it gives you the option to save a particular podcast episode to Favorites, and when you do it comes back with a message saying "Added to Favorites".
Except when you go to Favorites it's not there.
The text was updated successfully, but these errors were encountered: