Skip to content
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 play radiostreams from favorites anymore #123

Open
maartenlangeveld opened this issue Apr 24, 2020 · 7 comments
Open

Cannot play radiostreams from favorites anymore #123

maartenlangeveld opened this issue Apr 24, 2020 · 7 comments

Comments

@maartenlangeveld
Copy link

OMPD (latest verions through git pull)
DietPi 6.28 (Buster) on RPi zero w

Playing radiostream from favorites does not work anymore. The tooth weel keeps turning and mini player shows "Emtpy playlist". However adding the stream in the 'now playing' screen using the 'add' button works fine.

@ArturSierzant
Copy link
Owner

Thanks for reporting this. Unfortunately I can't reproduce this. In my case (DietPi 6.28, RPi 3+) this works OK. Please write what is the URL of stream that can't be played and what is the name of favorite list this stream is on - maybe it's a question of chars in the names...

@maartenlangeveld
Copy link
Author

maartenlangeveld commented Apr 29, 2020 via email

@maartenlangeveld
Copy link
Author

maartenlangeveld commented Apr 29, 2020

Hi Artur,

I have closed this issue since I have solved the issue.

Somehow there was an issue with favorite and favoriteitem tables. I exported those tables and recreated the ompd database.

Importing the favorite and favoriteitem tables did not solve the issue. But recreating the ompd database (again), importing the favorite and favoriteitem table as favorite2 and favoriteitem2 and then:

insert into favorite select * from favorite2 where favorite_id >17;
insert into favoriteitem select * from favoriteitem2 where favorite_id >17;

did the trick.

Thanks, Maarten

@ArturSierzant
Copy link
Owner

I'm glad you solved the problem. I'm just wondering if this issue was caused by just pulling new version from github (from what version did you upgrade?) or did you manually modify somehow data base?

Regards,
Artur

@maartenlangeveld
Copy link
Author

maartenlangeveld commented May 1, 2020 via email

@maartenlangeveld
Copy link
Author

Hi Artur,

Streams won't play anymore (again)...
Database seems fine though.

Have you any idea what's wrong?

kind regards,

Maarten

@ArturSierzant
Copy link
Owner

Hi Maarten,

first of all I'm sorry for late answer.

Please try to open url like this:
http://192.168.1.243/ompd/play.php?action=playSelect&favorite_id=320&menu=favorite&ajax=1
Of course put in it your IP and favorite_id of your playlist with radio stream that won't play.
Let's see the result.

And please write

  • how many mpd players you have defined (settings -> player profile)
  • do you have problems with playing whole playlist with streams (favorites -> play/add playlist) or with playing favorite items (favorite -> edit playlist -> play/add single stream) or both?

Regards,
Artur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants