gpodder / gpodder-sailfish

gPodder 4 for Sailfish OS Packaging
https://openrepos.net/content/keeperofthekeys/gpodder
49 stars 29 forks source link

gPodder does not take custom edited "Outline Titles" into Account when importing OPML File #164

Open EarthlingX opened 2 years ago

EarthlingX commented 2 years ago

Hello,

in first, I want to send you a huge THANK YOU for this great app! I am using it daily to listen to several podcasts all around the globe. :+1:

However, there is one little eyesaw that bugs me:

Some podcasts are recorded by the same providers, for example by a newspaper agency that offers many podcasts to different topics simultaneously. I usually add RSS-feeds of podcasts to gPodder via URL. They now appear alphabetically sorted in the podcast list:

"Title A Podcast" "Title B Podcast" "Title C Podcast"

However, I would like to also add the providers names into the titles of each podcast to let them appear alphabetically sorted depending on providers names. So when subscribing to a new podcasts I always rename the podcast to match my individual scheme of structure:

"Provider A - Title A Podcast" "Provider A - Title B Podcast" "Provider B - Title C Podcast"

No problem so far!

The problem appears now:

When exporting an OPML file and re-importing it, gPodder does not consider the custom names anymore. It uses the default titles like seen in the upper list ("Title A Podcast"). Therefore I have to edit all titles once again to add the providers names.

Would there be an option to allow gPodder to consider user-specific, custom outline titles also when re-importing an OPML-file?

Thank you very much!

Keeper-of-the-Keys commented 2 years ago

Hey thanks for your feedback!

I'll try to look at it this does seem like something that should work.

In the mean time if you want you can also use the "section header" to organize the podcasts if you aren't already doing that. Sections should be preserved in OPML export/import.

You can change the section by going into the information about a podcast and pressing on section or by long pressing the podcast and pressing the "shuffle" icon.

HTH!

EarthlingX commented 2 years ago

Thank you very much for your kind reply! :-)

In the mean time if you want you can also use the "section header" to organize the podcasts if you aren't already doing that.

Oh great, I didn't even know about this feature yet! Categorizing the subscriptions is very nice!

But section headers/categories won't get exported into the OPML-file, don't they? So each time I re-import the OPML I also have to edit all section headers of the subscriptions again, no?

Keeper-of-the-Keys commented 2 years ago

Hey sorry, I looked at an OPML file I had lying around which had sections in it and assumed it had been generated by gPodder but it seems I may have hand crafted it for testing purposes :/ Had hoped we had a work around but I guess not.

EarthlingX commented 2 years ago

I looked at an OPML file I had lying around which had sections in it [...] it seems I may have hand crafted it for testing purposes :/

No problem at all! :-) So you think, adding sections into the OPML file via text editor could work fine?

Do you still remember what code you have been adding to each subscription item?

I guess it will be something like "section=audio" or similar? :-) Maybe importing a hand crafted OMPL file will work fine!

Keeper-of-the-Keys commented 2 months ago

Hey @EarthlingX as you I hope are already enjoying the OPML import/export now supports section headers.

At this point it still ignores custom titles this is because the flow is basically:

  1. Read OPML
  2. Extract RSS feed
  3. Subscribe to RSS feed and populate title etc. based on the retrieved metadata

I'm not sure if I should change this behavior and would be happy to hear your thoughts, maybe a checkmark to override titles?