Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread bpa


urknall wrote: 
> I have also observed something similar lately and am wondering if this
> is somehow related:
> 
> under favorites i have created a folder for my top radio stations, when
> i select for example a radio station which i marked as favorite in that
> folder from the radio now playing plugin (in this special case: RPR1.
> 80er Rock (aac)) and hit on play artwork is displayed. When i click
> pause that stream and later start the stream again by clicking on play
> again (without going the way over favorites again) the artwork is not
> updated any more. As soon as i restart the stream again from folder
> under favorites, the artwork is updated again.

It's another manifestation of similar behaviour but maybe not as such
"related" . Many ways for this to happen. 
Probably if the stream is paused for longer than about 30 secs - often
the source station will close the TCP connection.  If metadata is being
provided by a plugin, then stream "stop" or "close" is signalled to the
"active" plugin to stop all related activity and discard context.  So
all that is left is the URL that was being played (i.e. the pure URL
after all the processing, redirection and drilling down through
playlists).

Similar issue can be seen -  playing a stream from favorites.  While
playing a favorite  go into player context menu and use save Favorite
menu.  The saved URL will be the "final" URL and not the save as the
originating "favorite".  If you play it, it is unlikely you'll get
metadata or even station logo and title (although what is saved can
depend on which type of player you are using) .



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread bpa


Redrum wrote: 
> But if playlists were intended only for songs, so be it. LMS is just as
> wonderful without it.

Unfortunately, with internet stream things are always changing and
developers re-use code/protocols  in a different context which have a
side effect in old implementations.
M3U were originally playlist of files with fixed duration.
Then used by internet stations to load balance or provide choice (e.g.
bit rates, gelocking).
Now changed again (by Apple) to create HLS protocol where a stream is
made up of constantly changing M3U playlist made up of URLs for "files"
of about 3-6 secs in duration. 

It is all a moving target and just have to decide where to spend time.
Priorities are usually 1. implement the new stuff 2. Fix broken stuff
and 3. anything else if there is time.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread bpa


funa wrote: 
> Yes, it seems to be something related to Radiotime streams.
It will probably also appear with any stream that does not have embedded
metadata and that uses a plugin to get metadata such as Radio Paradise
and Radio Now Playing


> 
> I really see no reason why playlist should not contain radio stations.
> It is an item in the list and you can easily switch between stations in
> the list.
> I mainly use my own streamer based on LMS and the communication is based
> on CLI.
> So I send commands > 
Code:

  >   > playlist index -1

> >  or > 
Code:

  >   > playlist index +1

> >  to switch between stations in the playlist.
> 
> No clue how to switch to the previous/next item in some favorites
> folder via CLI.
> If anybody (maybe d6jg) knows how to do it, please let me know.

If you can see something similar when using Material UI - then enable
Material debugging (e.g. http://localhost:9000/material/?debug=json
),open WebUI developer console and you'll JSON commands which  are
easily translated into CLI.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread funa


It seems I found out what is causing the issue.

The original radio station that has issues with artwork/titles:
1.FM Classic Rock

Code:


http://opml.radiotime.com/Tune.ashx?id=s116726=aac,ogg,mp3,wmpro,wma,wmvoice,hls=16=5cb2c26d64f04c89f1b4c05e6357be69



When this station is in the playlist it works/plays fine - artwork and
titles are displayed correctly.

However, when I add to the playlist
Rock Max

Code:


http://opml.radiotime.com/Tune.ashx?id=s24937=aac,ogg,mp3,wmpro,wma,wmvoice,hls=16=2a022dd1b739b562eb0e8a962297a025=s



the artwork/titles of the currently playing (1.FM Classic Rock)
changes.
To reproduce the issue it is enough to browse to a playlist containing
this station (Rock Max).

> The issues is probably (I haven't analysed the streams). - 1.FM does not
> include metadata in the stream so metadata is being supplied by Tune-in
> (aka Radiotime). LMS detects when a Radiotime stream is being played by
> the top level playlist URL (i.e. opml.radiotime.com ...) and then the
> RadioTime plugin fetches the metadata.
> 

Yes, it seems to be something related to Radiotime streams.


Regarding radios in the playlist ("unintended use"):

I really see no reason why playlist should not contain radio stations.
It is an item in the list and you can easily switch between stations in
the list.
I mainly use my own streamer based on LMS and the communication is based
on CLI.
So I send commands 
Code:

playlist index -1

 or 
Code:

playlist index +1

 to switch between stations in the playlist.

No clue how to switch to the previous/next item in some favorites folder
via CLI.
If anybody (maybe d6jg) knows how to do it, please let me know.

Thanks for help.



funa's Profile: http://forums.slimdevices.com/member.php?userid=23487
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread Redrum


bpa wrote: 
> .
> 
> There are a limited number of developers and they only have limited time
> to look after issues. So if a fix for this issue is offered by a user,
> it will be checked and probably accepted.

I appreciate you giving it some thought and hypothesizing on what might
be happening, but again, I have no issue with the behavior observed. I
was just confirming I experienced what the OP was reporting.

Would it be nice if it behaved the same way for streams as it does for
songs? Sure. I stated the use case. But if playlists were intended only
for songs, so be it. LMS is just as wonderful without it.

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread urknall


I have also observed something similar lately and am wondering if this
is somehow related:

under favorites i have created a folder for my top radio stations, when
i select for example a radio station which i marked as favorite in that
folder from the radio now playing plugin (in this special case: RPR1.
80er Rock (aac)) and hit on play artwork is displayed. When i click
pause that stream and later start the stream again by clicking on play
again (without going the way over favorites again) the artwork is not
updated any more. As soon as i restart the stream again from folder
under favorites, the artwork is updated again.



LMS 8.4 (Debian virtual machine on ESXi) - 3 x piCorePlayer on Raspberry
Pi 3 - Yamaha RX-A840 - 2 x *SqueezeAMP* (boost version) - Squeezeplay
on iMac at work (connected over vpn to home lms)

urknall's Profile: http://forums.slimdevices.com/member.php?userid=67774
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread bpa


Redrum wrote: 
> when I tried it and it failed, I tried it with the RP FLAC (both), mp3,
> and a couple of other random stations (probably tune in) Again, what I
> saw is you can add them all fine, and they usually play, but when you
> switch from playing say position 5, to 2, 2 plays with the meta data for
> 5.
> 
> I really just wanted to confirm that I saw what the OP saw, as I dropped
> it months ago, but I can recreate exact steps if requested.

I'm sure you're seeing a problem whether it is easily fixed is another
issues.

This is my idea of what happening although I not sure about some LMS
details.
Originally metadata was embedded in stream using ICY protocols.  
Often the URL to be played was a playlists which provided a number of
URLS to spread loads across servers.
However some stream just provided metadata on their websites (to force
users to see ads) so LMS added support for plugins which "registered"
with LMS to be activated whenever a specific URL is being played. 
Because the URL being played may not be the original URL played (e.g
redirected, playlist, CDN) - the concept of a "original" top URL is used
in LMS as the actual playing URL is not the URL that was originally
requested to play.  Over time additional APIs (function calls) have been
added to LMS to assist in tracking back to the "original" URL. I know
some of my plugins do not use these new APIs and so could be faulty in
some circumstances as they did workarounds (i.e. poked directly into
LMS) - I expect the same may be true of other plugins.

IIRC - Radio Paradise Flac uses a plugin for metadata (I think RP plugin
does more as RP Flac stream is special)
I don't know how the metadata is handled for the other stream you
mention. 
Metadata gathering in plugins are often driven by a timer - so once
activated stay running until some notifications.  
LMS will also request "metadata" suppliers for metadata (i.e. the
plugins getMetadatafor routine ) for playing stream but it is also
called for each item in a playlist waiting to be played (i.e. return
station icon/name metadata and not current metadata for a stream NOT
playing) . 

After moving up/down, some plugins may not be handling the "playlist"
aspect correctly or there may be issues (e.g. cached URLs) with
identifying "top" URL for the playing stream.

There are a limited number of developers and they only have limited time
to look after issues. So if a fix for this issue is offered by a user,
it will be checked and probably accepted.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread Redrum


Redrum wrote: 
> .
> 
> I really just wanted to confirm that I saw what the OP saw, as I dropped
> it months ago, but I can recreate exact steps if requested.
> 
> 

It's easy to create. see the image below. I selected planet radio to
"play" (top of cue). I added to queue (second to bottom) planet
pootwaddle, mother earth instrumental, radio paradise flac (regular) -
bottom. All good. I switched to radio paradise to play. Still OK. I
switched to planet pootwaddle to play, and it played, but it adopted the
artwork and song info from Mother Earth (which was never played)

Note in this case, after one song played, it self corrected, but it
doesn't always correct, just remains "stuck"

Again, it's not anything I am requesting be "fixed" if it is an
unintended use.


Jim

39572


+---+
|Filename: test.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=39572|
+---+


Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Music streaming stops intermittently

2022-12-28 Thread ralphy


Thank you philippe_44.

I've updated these lmsclient windows builds with the change.

'squeezelite 1.9.9-1419'
(https://sourceforge.net/projects/lmsclients/files/squeezelite/windows/)

'squeezeplay 8.0.1r1420'
(https://sourceforge.net/projects/lmsclients/files/squeezeplay/windows/)

and

'Marco Curti's squeezelite 1.8.4 R2'
(https://sourceforge.net/projects/lmsclients/files/squeezelite/windows/r2/)



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=114661

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread Redrum


bpa wrote: 
> The issues is probably (I haven't analysed the streams). - 1.FM does not
> include metadata in the stream so metadata is being supplied by Tune-in
> (aka  Radiotime).  LMS detects when a Radiotime stream is being played
> by the top level playlist URL (i.e. opml.radiotime.com ...) and then the
> RadioTime plugin fetches the metadata.
> 
> I suspect (but needs to be checked) when you put the the Radiotime URL
> within another playlist - it is no longer the top playlist and so plugin
> may not be activated (it looks for a radiotime.com or tunein.com URL to
> be playing).  The "bug" may be a limitation of LMS.   For playing URL
> (1.FM urL) within a playlist (opml.radio.com) within a playlist (your
> playlist with multiple URLs) - there can be only one top URL - having
> nested "top" URLs may be too complicated to manage.
> 
> To test - you should confirms the URL that is in your playlist si the
> onme liust in your 1st post.  You could try enabling logging for
> plugin.radio and maybe formats.metadata

when I tried it and it failed, I tried it with the RP FLAC (both), mp3,
and a couple of other random stations (probably tune in) Again, what I
saw is you can add them all fine, and they usually play, but when you
switch from playing say position 5, to 2, 2 plays with the meta data for
5.

I really just wanted to confirm that I saw what the OP saw, as I dropped
it months ago, but I can recreate exact steps if requested.

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS does not show artwork from radio stream when using playlists

2022-12-28 Thread Redrum

d6jg wrote: 
> But it’s not a playlist is it?
> A playlist plays items in sequence.
> You are treating it as a collection of favourites.
> Why should the developers (Michael) code for an unintended use when
> favourites does exactly what you want - albeit you might have to
> manually create them if you want a station in 2 or more places?
> I’m sure Michael has a long list of development ideas that would rank
> ahead of this.

Jim, I am not trying to ruffle any feathers, and I am not trying to
request any more work of anyone. I simply was confirming that I had seen
and reported what the OP had seen. Back when I tried it, I saw an
unintended use for it, had a "wow cool!" moment until I found the
issues. Like I said before, when I saw it wasn't something that was
"just broke and could be fixed" I just dropped it. I sincerely thought I
was reporting an issue that maybe had been created with a rev to LMS,
but realized that was not the case.

I have a use for something similar. I have a group of starting I select
between in the morning, and a group that I listen to in the afternoon,
especially late afternoon when I am fading a bit. Sometimes a station is
playing something I don't care for, so I switch it. I really like the
presets of, say a boom or a radio for switching station. But that does
not exists in LMS, sat on the material apk on my phone. Since I have my
favorites in a menu structure, I have several taps back and forward to
change the station.

My coding skills have not been used since K 'C' (without the ++), but
I have thought about trying to develop a plugin that would allow either
presets, or a favorite that can be a redirection (pointer) to another
favorite. Yes, you can duplicate, but when something changes with the
station (url) you need to change all locations.

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=117286

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Tidal and Library Scanning

2022-12-28 Thread Grumpy Bob


mherger wrote: 
> > Thanks for the reply. How do you prevent a scan after a restart? I
> 
> Yeah, I think this is the big question here: why is LMS running a scan 
> on every restart. What plugins are you using? Maybe one of them is 
> causing the behaviour?

My LMS does this. I think it's a consequence of the Simple Library Views
plugin.

Robert



*Home: *Raspberry Pi 4/pCP7.0/LMS8.1.2/Material  with files on QNAP
TS-251A
Touch > DacMagic 100 > Naim Audio Nait 3 > Mission 752 (plus Rega
Planar 3 > Rega Fono Mini; Naim CD3)
2 x Squeezebox Radios, 1 X Squeezebox 3 (retired), 1 x SqueezeAMP
*Office:* LMS8.0.0 running on Raspberry Pi3;  Raspberry Pi 3 player with
touchscreen/piCorePlayer/IQaudIO DAC and Amp
*Portable:* Raspberry Pi 3B/pCP7.0.1/LMS8.1.2/Material, files on Seagate
portable drive, powered via power brick

Grumpy Bob's Profile: http://forums.slimdevices.com/member.php?userid=41857
View this thread: http://forums.slimdevices.com/showthread.php?t=117288

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Tidal and Library Scanning

2022-12-28 Thread Michael Herger

Thanks for the reply. How do you prevent a scan after a restart? I


Yeah, I think this is the big question here: why is LMS running a scan 
on every restart. What plugins are you using? Maybe one of them is 
causing the behaviour?

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] uPNP - Adding Squieezelite to Loxone

2022-12-28 Thread V_J


A bit late to the party, but it may still be relevant... :)

There is https://music-server.net/ , which is a free LMS server on a
Linux distribution (installation via a script on DietPi linux) that adds
integration with Loxone and KNX. It presents the LMS as a Loxone Music
Server, so the standard audio interface blocks can be used.



V_J's Profile: http://forums.slimdevices.com/member.php?userid=66517
View this thread: http://forums.slimdevices.com/showthread.php?t=116386

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS on Hyper-V: players immediately return to standby

2022-12-28 Thread V_J

Hello,

I have a strange problem... I have an LMS installation on a linux
virtual machine running in Hyper-V in a Windows 10 host. The virtual
machine is connected to an external switch (hyper-v terminology: it is
present on the same physical network as the host).

My Squeezeboxes see this virtual server, and take the standby screen
from it. But when I switch on a Squeezebox, it briefly shows Free Your
Music, and the returns to standby. It is not fully consistent: on one
occasion a Squeezebox 3 managed to stay on without returning to standby.
But I cannot reproduce it: now all my physical devices immediately go
back to standby. Squeezelite-X seems to be able to connect without
problems. 

Any idea what could explain this behaviour? I have reinstalled Hyper-V,
cleaned up my network adapters, redefined the virtual switches, but the
result is always the same... I'm stumped: the Squeezeboxes work
perfectly with other LMS installations.

Thanks,

Jörg



V_J's Profile: http://forums.slimdevices.com/member.php?userid=66517
View this thread: http://forums.slimdevices.com/showthread.php?t=117293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Tidal and Library Scanning

2022-12-28 Thread bobcoupee


slartibartfast wrote: 
> Have you set your server to rescan after a server restart? Mine
> doesn't.
> 
> Sent from my Pixel 3a using Tapatalk

Hi.

Thanks for the reply. How do you prevent a scan after a restart? I
checked the Basic Settings, Performance, Online Music Library
Integration and Rescan Music Library menus but could not find an option
to disable scans on restarts.



bobcoupee's Profile: http://forums.slimdevices.com/member.php?userid=70646
View this thread: http://forums.slimdevices.com/showthread.php?t=117288

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter