sspiff / lms-plugin-pyrrha

Pyrrha - Daughter of Pandora
GNU General Public License v2.0
13 stars 4 forks source link

Ability to create stations #13

Open ronluna opened 6 months ago

ronluna commented 6 months ago

Would it possible to add the ability to create stations just like the old official pandora plugin ?

sspiff commented 6 months ago

I think this should be possible. Will consider adding it in the future.

sspiff commented 6 months ago

Also need ability to remove/delete stations.

keithpleas commented 6 months ago

Note that you can add stations in Pandora (web, app). But I have noticed that it takes a while for them to propagate to Phrrya (like 15 minutes?). Running Pyrrha 0.3.2, LMS 8.3.1 on PCP 8.0.0

sspiff commented 6 months ago

Note that you can add stations in Pandora (web, app). But I have noticed that it takes a while for them to propagate to Phrrya (like 15 minutes?). Running Pyrrha 0.3.2, LMS 8.3.1 on PCP 8.0.0

Pyrrha currently takes a somewhat aggressive caching approach, and it caches the station list for 20 minutes. Probably need a better approach or offer some way to force a refresh (restarting LMS will do it, but that's a big hammer).

EDIT: Looks like the API offers a (presumably quick) way to check if the station list has changed. That might be the way to go.