Discussion:
[SlimDevices: Plugins] Announce: UPnPBridge = integrate UPnP/DLNA players with LMS (squeeze2upnp)
philippe_44
2015-05-30 22:24:41 UTC
Permalink
This is a re-announcement of the UPnP/DLNA to LMS bridge I've published
under the name 'squeeze2upnp'. For ease of use, I've now added a proper
LMS plugin, so it made sense to start a new thread, as suggest by users
on the original one.

This plugin/app integrates UPnP/DLNA players found on your network and
let LMS use them as if they were regular Squeezeboxes (they appear as a
squeezelite instance).

To install, you need to add this repository to your "Plugins" page

Code:
--------------------
http://sourceforge.net/projects/lms-to-upnp/files/stable
--------------------

and choose "UPnPBridge" in the list of plugins

It should provide pretty much all the features of squeezelite, except a
few things
- synchronization does not work (at least don't use "keep
synchronization during playback")
- crossfade is not available
- gapless only works if the UPnP player supports it

Once installed, there is a "UPnP/DLNA Bridge" page added to your
"Settings" and you'll have to tweak probably a few parameters there. A
list of pre-existing profiles is available as well, but if your player
is not included and you manage to have it working, please post here your
successful configuration settings so that I can add them to the list of
known devices
There is a complete guide that explains all this in details and goes
through all the parameters, including the advanced ones that are not
available from the LMS webpage. It can be found here

Code:
--------------------
https://github.com/philippe44/LMS-to-uPnP/blob/master/doc/New%20user%20guide%20(with%20plugin).pdf
--------------------

If should work for Windows, OSX, Linux x86 and ARMv5 and v6+

Key parameters are in blue in the LMS webpage and info-bubble do help
understanding their respective usage

"what codec to choose" ? is a frequent question, so here are few tips:

- Remember that UPnPBridge is ... a bridge between LMS and your UPnP
players, so it does not do transcoding, just a few format tweaking. So
the "agreement" on supported codecs is between LMS and your player,
UPnPBridge just helps the negotiation
- mp3 will give you best mileage, but I understand most hate it
- flc,mp3 is very likely to work in all cases - transcode the rest in
LMS, do not try sample rate higher than 48kHz
- in many cases, flc,pcm and mp3 work fine as well

- if your player does not support 24 bits samples (Sonos and many
others) and you have such files, then you *must* use uncompressed codecs
format like 'pcm' and/or 'aif'. There is an option in UPnPBridge to
truncate down to 16 bits
- You won't know if 24 bits works before you try as players won't say
(they go silent) and LMS does not offer the possibilities for the player
to feedback its sample size abilities
- If you feel adventurous you have many options to play with
uncompressed formats, but there are various side effects (stuck in
playlist, song skipping ...). Sample rate can go up 192kHz, you can use
32 bits and play with all parameters, including the advanced ones
explained in the manual but if you go that route, I strongly suggets
reading the manual

I'd like to really thank PasTim for his numerous suggestions, tests and
support and ralphy for patches and builds that allowed this to work on
OSX, Windows XP and ARM

NB: the port used for UPnP (49152 by default) must be open. Under
Windows, you might have a popup (only the very first time the
application is started) asking to allow squeeze2upnp-win to access your
network. If not and if players are detected and seem to play but you
have only silence, go under
c:\programdata\squeezebox\cache\Installedplugins\plugins\upnpbridge and
launch squeeze2upnp-win.exe - only need to do that once



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
tgv
2015-05-31 09:47:30 UTC
Permalink
Post by philippe_44
If should work for Windows, OSX, Linux x86 and ARMv5 and v6+
Ahh, this means no love for powerpc-based WD MyBookLive NAS, right?


------------------------------------------------------------------------
tgv's Profile: http://forums.slimdevices.com/member.php?userid=61355
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-05-31 10:16:29 UTC
Permalink
Ahh, this means no love for powerpc-based WD MyBookLive NAS, right?What Operating system does that run? A little googling says it runs
linux, which should be fine.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-05-31 17:56:29 UTC
Permalink
Just one message reserved for future use :)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-05-31 18:08:57 UTC
Permalink
Post by tgv
Ahh, this means no love for powerpc-based WD MyBookLive NAS, right?
I would need support of ralphy to build on powerPC. I don' thave a
cross-compiler chain for that. Having said that, squeeze2upnp does not
need to run on the same machine as LMS, it can be on any computer on
your network

1/ For easy configuration:
- install LMS on any Windows/Linux machine, or even a Raspberry pi
- add UPnPBridge plugin

2/ Find the configuration that works for your UPnP player
- use the LMS UI for easy changes of squeeze2upnp parameters

3/ Stop the LMS server

3/ Launch squeeze2upnp standalone on the machine/raspberry pi
- it is in the LMS sub directory
cache/InstalledPlugins/plugins/UPnPBridge/Bin, choose the apps that
maches your platform (squeeze2upnp-win.exe for Windows ...)
- configuration file is in LMS subdirectory prefs/upnpbridge.xml
- either copy these 2 somewhere else of let them where they are
- launch the app (eg for Windows) with 'squeeze2upnp-win.exe -x <path
to upnpbridge.xml>'



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
ralphy
2015-06-03 13:00:46 UTC
Permalink
Post by philippe_44
I would need support of ralphy to build on powerPC. I don' thave a
cross-compiler chain for that. Having said that, squeeze2upnp does not
need to run on the same machine as LMS, it can be on any computer on
your network
Sorry, I don't have any way to build powerpc binaries.

In my squeezeslave days, I only provided powerpc makefiles and used my
solaris sparc workstation to confirm the everything worked on BIG ENDIAN
machines which the powerpc and sparc cpus share.

Any powerpc builds I've hosted over the years were provided by other
community members.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=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=103728
herve
2015-06-05 20:22:51 UTC
Permalink
Great job! Thanks for the plugin.
I mainly tested streaming from tidal (flac) and it works well with an
Atoll st200 streamer. however i have got an issue with the pause and
resume. It will play the track from the begining again. I use the
pioneer n30 settings. Any idea ?




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-05 23:03:31 UTC
Permalink
Post by herve
Great job! Thanks for the plugin.
I mainly tested streaming from tidal (flac) and it works well with an
Atoll st200 streamer. however i have got an issue with the pause and
resume. It will play the track from the begining again. I use the
pioneer n30 settings. Any idea ?
If I remember well, I already had a hard time with such a problem. Just
to confirm, can you tell me if it does the same thing with a local file
vs tidal ? You can also try to check "LMS seeks on resume" option. I
have to look back earlier in this thread for the details, but if I
remember this is due to the fact that, some players, when they pause a
stream, they close the connection and when un-pausing, they re-open the
connection but do no ask to "seek" to the paused position. They treat it
as if it was a live, non-seekable stream (although I've set the
parameters to say that it is a seekable stream). If you can also take a
log, that would help me confirm. I'll dig into the "archives", but I
think one of the solution was to force flac transcoding in LMS. PasTim
might also remember all that better than I do



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
scintilla
2015-06-06 06:17:21 UTC
Permalink
I just tried to use the stable OSX plugin and had 16/44.1 playing at
half speed. TIDAL worked just fine. Would not play hirez files. I had
the codecs set initially for a slew and reduced them to flc, mp3 still
with no luck. I am going back to the executable for awhile until this
is more sorted. There are a lot of folks that are going to use and love
this when it's finally ready for primetime and I am extremely grateful
for all the work invested by several of you, especially Philippe.
Please keep the process moving forward.


------------------------------------------------------------------------
scintilla's Profile: http://forums.slimdevices.com/member.php?userid=11680
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-06 06:26:37 UTC
Permalink
Post by scintilla
I just tried to use the stable OSX plugin and had 16/44.1 playing at
half speed. TIDAL worked just fine. Would not play hirez files. I had
the codecs set initially for a slew and reduced them to flc, mp3 still
with no luck. I am going back to the executable for awhile until this
is more sorted. There are a lot of folks that are going to use and love
this when it's finally ready for primetime and I am extremely grateful
for all the work invested by several of you, especially Philippe.
Please keep the process moving forward.
ah ... few questions then, because the executable is in fact still used
in the plugin, it's just a newer version

1- Which version of the executable works for you ?
2- Not playing hirez files: what is hirez ? 24 bits ? Sampling rate > 96
KHz ?
3- 16/44.1 playing half speed: I guess you mean pitch is obviously
reduced by half ?

Any chance you can take a few logs ? I'm no open issue on 2.3.0 (the
executable used with the plugin) so if I re-introduced bugs compared to
a previous version, any help is welcome to try to remove them



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-06 08:33:24 UTC
Permalink
Post by philippe_44
If I remember well, I already had a hard time with such a problem. Just
to confirm, can you tell me if it does the same thing with a local file
vs tidal ? You can also try to check "LMS seeks on resume" option. I
have to look back earlier in this thread for the details, but if I
remember this is due to the fact that, some players, when they pause a
stream, they close the connection and when un-pausing, they re-open the
connection but do no ask to "seek" to the paused position. They treat it
as if it was a live, non-seekable stream (although I've set the
parameters to say that it is a seekable stream). If you can also take a
log, that would help me confirm. I'll dig into the "archives", but I
think one of the solution was to force flac transcoding in LMS. PasTim
might also remember all that better than I do
[edit]: if you use the "HTTP streaming option" at "chuncked", try "no
size" or "fixed large size". If it still does not work, then go back to
'chunked' and tryp "LMS seeks on resume"
I had what may be the same problem. I had to add a custom-convert file.
The extract from the user guide is as follows:

Some renderers do not support re-positioning of flac well. If you have
this problem you need to create a custom transcoding rule. You first
need to find the convert.conf file on your system (on linux this is in
/etc/squeezeboxserver). This file contains the rules LMS uses to
transcode from one format to another. To add a new rule, create a new
file called 'custom-convert.conf' in the same directory and
restart LMS. This file should contain (if you copy-paste below,be
careful with the indentation):

Code:
--------------------

flc flc * *
# IR
[flac] -cs - -

--------------------

This tells LMS to create a complete new flac file when a flac starts
playing or is re-positioned. The LMS File Type for flac should now show
flac transcoded to 'flac' rather than 'native'.

philippe - is the user guide copied to anywhere on the system when the
plugin is used? I also see a few cross-references have errors in them
(Erreur ! Source du renvoi introuvable.)



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-06 08:45:40 UTC
Permalink
Post by PasTim
I had what may be the same problem. I had to add a custom-convert file.
Some renderers do not support re-positioning of flac well. If you have
this problem you need to create a custom transcoding rule. You first
need to find the convert.conf file on your system (on linux this is in
/etc/squeezeboxserver). This file contains the rules LMS uses to
transcode from one format to another. To add a new rule, create a new
file called 'custom-convert.conf' in the same directory and
restart LMS. This file should contain (if you copy-paste below,be
Code:
--------------------
Post by PasTim
flc flc * *
# IR
[flac] -cs - -
--------------------
Post by PasTim
This tells LMS to create a complete new flac file when a flac starts
playing or is re-positioned. The LMS File Type for flac should now
show flac transcoded to 'flac' rather than 'native'.
philippe - is the user guide copied to anywhere on the system when the
plugin is used? I also see a few cross-references have errors in them
(Erreur ! Source du renvoi introuvable.)
thank you for your feedback, I will try as soon as possible this
weekend.




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-06 20:35:45 UTC
Permalink
Post by PasTim
philippe - is the user guide copied to anywhere on the system when the
plugin is used? I also see a few cross-references have errors in them
(Erreur ! Source du renvoi introuvable.)
No, it is not copied during local installation. What I can do is add a
link to it so that it opens up within the web browser



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-06 21:05:14 UTC
Permalink
Post by philippe_44
No, it is not copied during local installation. What I can do is add a
link to it so that it opens up within the web browser
May as well since you produced it. I don't know how useful people will
find it, but you never know.....



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-07 06:49:38 UTC
Permalink
Post by PasTim
May as well since you produced it. I don't know how useful people will
find it, but you never know.....
Integrated in a 0.2.4 dev version that I will release when I'll have
some updates from Scintilla



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
scintilla
2015-06-07 07:22:44 UTC
Permalink
I will load the plugin and run it with some logging tomorrow. Sorry
for delay am working this weekend.


------------------------------------------------------------------------
scintilla's Profile: http://forums.slimdevices.com/member.php?userid=11680
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-07 07:30:20 UTC
Permalink
Post by scintilla
I will load the plugin and run it with some logging tomorrow. Sorry
for delay am working this weekend.
No worries at all !



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-12 02:50:54 UTC
Permalink
Post by scintilla
I will load the plugin and run it with some logging tomorrow. Sorry
for delay am working this weekend.
Any luck ?



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-07 14:48:31 UTC
Permalink
Post by herve
Great job! Thanks for the plugin.
I mainly tested streaming from tidal (flac) and it works well with an
Atoll st200 streamer. however i have got an issue with the pause and
resume. It will play the track from the begining again. I use the
pioneer n30 settings. Any idea ?
I think this may be something that Philippe can't solve and is a symptom
of the variability of differing uPnP implementations on different
machines. The Naim Uniti exhibits exactly the same quirk and we spent a
lot of time trying different solutions,(including PasTim's flac
custom-convert) and couldn't crack it. I even suggested changing my user
name to "Paul in Pause-it" so frequent were my posts on the subject! I
found that local files paused and unpaused correctly but that Qobuz, and
later Tidal, flacs re-started from the beginning after a pause. Triode's
Spotify plug-in, and radio streams worked perfectly. It was very much
"stress testing" of the Sq2u app and in no way detracts from what is a
brilliant plug-in so I just accept that that's what happens with
streamed flacs. Incidentally it made no difference on whether Qobuz was
streamed through the LMS plug-in or via ickStream in the way that Tidal
is. If a solution can be found then that would raise my user
satisfaction from 99.95% satisfied to 99.99.%. Always room for
improvement! ;)


------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-07 18:10:56 UTC
Permalink
Post by PaulinPosset
I think this may be something that Philippe can't solve and is a symptom
of the variability of differing uPnP implementations on different
machines. The Naim Uniti exhibits exactly the same quirk and we spent a
lot of time trying different solutions,(including PasTim's flac
custom-convert) and couldn't crack it. I even suggested changing my user
name to "Paul in Pause-it" so frequent were my posts on the subject! I
found that local files paused and unpaused correctly but that Qobuz, and
later Tidal, flacs re-started from the beginning after a pause. Triode's
Spotify plug-in, and radio streams worked perfectly. It was very much
"stress testing" of the Sq2u app and in no way detracts from what is a
brilliant plug-in so I just accept that that's what happens with
streamed flacs. Incidentally it made no difference on whether Qobuz was
streamed through the LMS plug-in or via ickStream in the way that Tidal
is. If a solution can be found then that would raise my user
satisfaction from 99.95% satisfied to 99.99.%. Always room for
improvement! ;)
I remember now all the test we did :) Still scratching my head on this
one. I have also to say that I have a better grip on all the various
slimprotocol and upnp "variations" now so, whenever/if you have time, I
could take a log of a "correct pause/resume" with a local file and a
"wrong one with Qobuz" (with your configuration file and the buffer
files -idx- generated ) ? I might be able to have a better idea this
time and find the mistery that probably is in some of the flac headers
variation



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-07 20:50:06 UTC
Permalink
Post by philippe_44
I remember now all the test we did :) Still scratching my head on this
one. I have also to say that I have a better grip on all the various
slimprotocol and upnp "variations" now so, whenever/if you have time, I
could take a log of a "correct pause/resume" with a local file and a
"wrong one with Qobuz" (with your configuration file and the buffer
files -idx- generated ) ? I might be able to have a better idea this
time and find the mistery that probably is in some of the flac headers
variation
Will do. I use pcm as preferred format for local files but flacs do work
correctly so I'll run some tests and post.


------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-08 00:49:44 UTC
Permalink
Post by PaulinPosset
Will do. I use pcm as preferred format for local files but flacs do work
correctly so I'll run some tests and post.
Thank you. ANother thing: do you know a UPnP control point that works
with (eg) Qobuz and the same files (does mnimserver or bubbleupnp works
for you) ? I you find one, do you know how to take wireshark traces of
the exchanges ? Do need to analyze them, I will do that, but if there is
one example working, I could see what they do. I searched a bit around
bubbleupnp and they had the same problem a while ago but they solved the
way I did it (I mean many players where not pausing properly, now most
do, it was about setting some flags that should not be really set for
flac, but we all did)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-08 19:34:31 UTC
Permalink
Thank you. Another thing: do you know a UPnP control point that works
with (eg) Qobuz and the same files (does minimserver or bubbleupnp works
for you) ? I you find one, do you know how to take wireshark traces of
the exchanges ? No need to analyze them, I will do that, but if there is
one example working, I could see what they do. I searched a bit around
minimserver and they had the same problem a while ago but they solved
the way I did it (I mean many players were not pausing properly, now
most do, it was about setting some flags that should not be really set
for flac, but we all did and it worked ... expect in my case for a few
players)
I am not aware of any uPnP control point that works with Qobuz and I
thought that Minimserver works only with local files although you can
use Minimstreamer to stream radio stations. I tried BubbleuPnP before
Naim introduced their Android app but found it wasn't consistently
reliable though I think the latest versions work a lot better. That's
why Sq2u is so good because it marries the flexibility and usability of
LMS with uPnP!
[edit]: I've re-read and re-read the DLNA spec and there are 2 options
that might be tested. You must be sure that 'LMS seeks on resume' (=
seek_after_pause set to 0 in XML file) is disabled for a valid test.
They are variants of the DLNA configuration that I don't think would
make a difference, but things seems to be a bit unclear (at least for
me) when flac is concerned. I think you are using Windows, so here they
are (must either be renamed squeeze2upnp-win.exe and put in the plugin
Bin directory, or manually started from anywhere with a good
configuration file). Sorry to ask for all these tests, I would gladly
make them if I had the right equiment
https://dl.dropboxusercontent.com/u/26754471/squeezecenter/tests/squeeze2upnp-win_00217.exe
https://dl.dropboxusercontent.com/u/26754471/squeezecenter/tests/squeeze2upnp-win_00017.exe
for info, there are 2 option for DLNA players to manage 'pause'
1- by keeping the TCP connection open but 'stalling' it until resume
requested
2- by closing the TCP connection and upon resume, by re-opening a new
one and asking the server to 'seek' to a given byte (or time) position
The server informs the player what it supports and by default I support
both 1- and 2- (byte only, not time) but it seems that it might be a
better idea to only do 1-, so the _00017 version does that (the _00217
version is a variant with a reduced byte seek authorization). It seems
that the Uniti first stalls the connection, but then upon resume it
closes it and then re-opens a new one starting at seek '0'
I carried out a series of tests on both variants with local and Qobuz
files, and "LMS seeks on resume" set to "no" but had a sense of deja vu
as the results were pretty much the same as when we carried them out
before although track 1 on test 1 of 00017 did pause and re-start
correctly but every other track re-started from the beginning.

Logs are attached for info.


+-------------------------------------------------------------------+
|Filename: upnpbridge-00217 test 1.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18250|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-08 20:25:28 UTC
Permalink
Post by PaulinPosset
I am not aware of any uPnP control point that works with Qobuz and I
thought that Minimserver works only with local files although you can
use Minimstreamer to stream radio stations. I tried BubbleuPnP before
Naim introduced their Android app but found it wasn't consistently
reliable though I think the latest versions work a lot better. That's
why Sq2u is so good because it marries the flexibility and usability of
LMS with uPnP!
I carried out a series of tests on both variants with local and Qobuz
files, and "LMS seeks on resume" set to "no" but had a sense of deja vu
as the results were pretty much the same as when we carried them out
before although track 1 on test 1 of 00017 did pause and re-start
correctly but every other track re-started from the beginning.
Logs are attached for info.
Lots of tests, thanks - One thing I'm wondering: the 1st track worked
because there was no "next track" loaded yet when you did the pause and
that's giving me a good indication. I'm wondering if the issue does not
happen when the pause is requested after all the data of the current
track have been buffered by the player (and maybe also when there is a
second track that has started to be buffered). To test that requires to
have only 1 track in the play list and pause at the very beginning and
then pause after a while (that 'while' is after the "sq_read:693
[004BDB58]: read (end of track)" log if you have an eye on the logfile)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-08 21:46:15 UTC
Permalink
Post by philippe_44
Lots of tests, thanks - One thing I'm wondering: the 1st track worked
because there was no "next track" loaded yet when you did the pause and
that's giving me a good indication. I'm wondering if the issue does not
happen when the pause is requested after all the data of the current
track have been buffered by the player (and maybe also when there is a
second track that has started to be buffered). To test that requires to
have only 1 track in the play list and pause at the very beginning and
then pause after a while (that 'while' is after the "sq_read:693
[004BDB58]: read (end of track)" log if you have an eye on the logfile)
Two more test carried out with one large 24bit 192k file in the
playlist. Not able to observe the logfiles during testing but paused a
couple of seconds into the track then re-started. Both versions
re-started from the beginning. After letting the track run for a while
re-paused but on unpause the track starts from the beginning.
I did notice that if I nudge the time bar, pause and unpause will work
but I wasn't sure if it re-starts from the correct place. It definitely
puts the LMS time bar out of sync with the track for when the track ends
the time bar hasn't.

As mentioned in an earlier post, if the only consequence of setting "LMS
seeks on resume" to "on" is a +/- 1 sec difference, I for one would
accept that compromise.


+-------------------------------------------------------------------+
|Filename: upnpbridge-00217-single track test.log |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18252|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-09 03:43:37 UTC
Permalink
Post by PaulinPosset
Two more test carried out with one large 24bit 192k file in the
playlist. Not able to observe the logfiles during testing but paused a
couple of seconds into the track then re-started. Both versions
re-started from the beginning. After letting the track run for a while
re-paused but on unpause the track starts from the beginning.
I did notice that if I nudge the time bar, pause and unpause will work
but I wasn't sure if it re-starts from the correct place. It definitely
puts the LMS time bar out of sync with the track for when the track ends
the time bar hasn't.
As mentioned in an earlier post, if the only consequence of setting "LMS
seeks on resume" to "on" is a +/- 1 sec difference, I for one would
accept that as more than acceptable.
When changing timebar while pausing, and upon resume, LMS sends a new
file, as if it was a new track, so in fact the 'pause' mechanism is not
used. This is this "strange" thing that LMS does where it never tells
the player to 'seek' somewhere when you re-position in a track, but
instead sends a new file that starts at the repositionned time.

The limitation of 'LMS seeks on resume' is that it does not work if you
use a password in LMS (and I have to admit that I'm very stubborn so I
like to find the cause of problems :-))



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-07 18:15:08 UTC
Permalink
Post by PaulinPosset
I think this may be something that Philippe can't solve and is a symptom
of the variability of differing uPnP implementations on different
machines. The Naim Uniti exhibits exactly the same quirk and we spent a
lot of time trying different solutions,(including PasTim's flac
custom-convert) and couldn't crack it. I even suggested changing my user
name to "Paul in Pause-it" so frequent were my posts on the subject! I
found that local files paused and unpaused correctly but that Qobuz, and
later Tidal, flacs re-started from the beginning after a pause. Triode's
Spotify plug-in, and radio streams worked perfectly. It was very much
"stress testing" of the Sq2u app and in no way detracts from what is a
brilliant plug-in so I just accept that that's what happens with
streamed flacs. Incidentally it made no difference on whether Qobuz was
streamed through the LMS plug-in or via ickStream in the way that Tidal
is. If a solution can be found then that would raise my user
satisfaction from 99.95% satisfied to 99.99.%. Always room for
improvement! ;)
It doesn't work with my local files neither... But it is not a big deal,
i can live with.
I tried the custom-convert.conf file and changed all different settings
but that did not the trick. It may be my renderer, does anyone has a
streamunlimited card and has the same issue ?
The funniest thing is that pause / resume function did work... I could
press the button "pause" twice but the third time it crashed.
I installed bubbleupnp + linn kazoo, i have the same issue.
Anyway thanks again for the plugin.




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-07 19:28:12 UTC
Permalink
Post by herve
It doesn't work with my local files neither... But it is not a big deal,
i can live with.
I tried the custom-convert.conf file and changed all different settings
but that did not the trick. It may be my renderer, does anyone has a
streamunlimited card and has the same issue ?
The funniest thing is that pause / resume function did work... I could
press the button "pause" twice but the third time it crashed.
I installed bubbleupnp + linn kazoo, i have the same issue.
Anyway thanks again for the plugin.
If you can still take a log of the incorrect resume, I will still have a
look as I'm still trying to solve this problem - thanks !



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-08 12:55:50 UTC
Permalink
Post by philippe_44
If you can still take a log of the incorrect resume, I will still have a
look as I'm still trying to solve this problem - thanks !
I had a log which works fine :
18237
'log-debug'
(https://dl.dropboxusercontent.com/u/10675874/upnpbridge/upnpbridge.log.txt)
And another not :
18235
18236

hope it can help.
Thanks


+-------------------------------------------------------------------+
|Filename: upnpbridge.xml.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18237|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-08 14:32:18 UTC
Permalink
Post by herve
18237
'log-debug'
(https://dl.dropboxusercontent.com/u/10675874/upnpbridge/upnpbridge.log.txt)
18235
18236
hope it can help.
Thanks
Thanks - Can you just give me a bit of context of what was playing
during the working and failed one ?



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-07 19:38:15 UTC
Permalink
Ok I will. Thanks Philippe




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-07 20:41:59 UTC
Permalink
Post by herve
Ok I will. Thanks Philippe
Yes for your question about bubbleupnp. Pause/resume doesn't work with
my renderer... The track restarts from the beginning.
I don't know what the Pioneer settings are but have you ticked the "LMS
seeks on resume" box in the settings? The Uniti will also re-start every
track, local and remote, after a pause unless this is set.


------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-07 21:16:15 UTC
Permalink
Post by PaulinPosset
I don't know what the Pioneer settings are but have you ticked the "LMS
seeks on resume" box in the settings? The Uniti will also re-start every
track, local and remote, after a pause unless this is set.
I also tried the naim settings with the "seeks on resume" check box
ticked with no more sucess.




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-07 21:26:07 UTC
Permalink
Post by herve
I also tried the naim settings with the "seeks on resume" check box
ticked with no more sucess.
Oh ... this is really weird then as the "seek on resume" should always
work on local file. There are cases where some streaming services do not
support "seeking" and which case, the problem remains and is at LMS
level. But the "seek on resume" is faking a repositioning request to
LMS. So this is like a "new play", but with position"0" being where you
paused (this is the way LMS works when repositioning: it does not tell
the player "go here within the data you already have received", but it
stops everything and sends a brand new file to the player that starts at
the desired position).

The reason why I do not recommend this mode is that the repositionning
is the memorized position +/- 1 second, so this is not perfect



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-08 07:08:39 UTC
Permalink
The reason why I do not recommend this mode is that the repositioning is
the memorized position +/- 1 second, so this is not perfectI don't think this matters too much to most people, given that the music
has been stopped.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-08 19:41:12 UTC
Permalink
Post by philippe_44
The reason why I do not recommend this mode is that the repositionning
is the memorized position +/- 1 second, so this is not perfect
I agree with PasTim. A second or so either side of the pause point is
not as important as having a pause that works.


------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
herve
2015-06-08 15:40:37 UTC
Permalink
First log, i could play pause/resume my local files (any format) and
stream from tidal (flac), pause/resume as well, it worked perfectly. I
can't explain why (i think i didn't change any settings) my second log
failed with my local files and tidal, i did the same tests.




------------------------------------------------------------------------
herve's Profile: http://forums.slimdevices.com/member.php?userid=63366
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
kolossos4730
2015-06-08 18:11:19 UTC
Permalink
Philippe,

Is there a way to remove a device from the xml file via the web
interface or do I have to edit the xml file manually?

I added a WiFi adapter to my Moode RasPi. This changes the MAC address
and now the player was listed twice in the web interface with the same
name but different MAC addresses. To distinguish between the Ethernet
and WiFi version I added WiFi to the UPnP name in Moode. This created a
new instance of the player in sq2u with a new UUID. Then I disabled both
the Ethernet and 'old' WiFi player in sq2u. I now had three Moode
players in the xml file, two disabled and one enabled. I couldn't get
the 'new' Moode player working; LMS didn't show the Moode player so I
couldn't select it as a destination.

I had to stop sq2u and manually edit and remove all three instances of
Moode from the xml file and do a rescan to get playback working again.

18244


+-------------------------------------------------------------------+
|Filename: configuration.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18245|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-08 19:17:43 UTC
Permalink
Post by kolossos4730
Philippe,
Is there a way to remove a device from the xml file via the web
interface or do I have to edit the xml file manually?
I added a WiFi adapter to my Moode RasPi. This changes the MAC address
and now the player was listed twice in the web interface with the same
name but different MAC addresses. To distinguish between the Ethernet
and WiFi version I added WiFi to the UPnP name in Moode. This created a
new instance of the player in sq2u with a new UUID. Then I disabled both
the Ethernet and 'old' WiFi player in sq2u. I now had three Moode
players in the xml file, two disabled and one enabled. I couldn't get
the 'new' Moode player working; LMS didn't show the Moode player so I
couldn't select it as a destination.
I had to stop sq2u and manually edit and remove all three instances of
Moode from the xml file and do a rescan to get playback working again.
Forgive me if I've misunderstood, but can't you rename them in sq2u? I
had a similar problem having the LMS DLNA Server running - my devices
were listed twice.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
kolossos4730
2015-06-08 19:29:49 UTC
Permalink
Post by PasTim
Forgive me if I've misunderstood, but can't you rename them in sq2u? I
had a similar problem having the LMS DLNA Server running - my devices
were listed twice.
You are right. Totally overlooked this :o I did it the difficult way :D

But even with two different names I think sq2upnp gets confused with
double entries with the same MAC address. Maybe an option in the web
interface to remove a device from the xml file would be a nice addition.


------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-09 06:01:59 UTC
Permalink
Post by kolossos4730
You are right. Totally overlooked this :o I did it the difficult way :D
But even with two different names I think sq2upnp gets confused with
double entries with the same MAC address where one is disabled and the
other enabled. An option in the web interface to remove a device from
the xml file would be a nice addition.
Done - will be in next dev (just waiting for a few feedback before
pushing it)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-27 19:31:17 UTC
Permalink
Hello, still have the issue with not starting playback for the next
song. I have to start each song manually. Please let me know if you have
any further idea.

Thanks,
Rainer



Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-27 22:24:08 UTC
Permalink
Post by AudioUser
Hello, still have the issue with not starting playback for the next
song. I have to start each song manually. Please let me know if you have
any further idea.
Thanks,
Rainer
Gesendet von iPhone mit Tapatalk
Were you able to see this ?
http://forums.slimdevices.com/showthread.php?102496-announce-squeeze2upnp-a-bridge-between-LMS-and-uPNP-devices&p=821667&viewfull=1#post821667



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-27 22:29:41 UTC
Permalink
Update a development version (not stable yet !) here :
http://sourceforge.net/projects/lms-to-upnp/files/dev/repo-sf.xml

It includes various changes made over the past 3 weeks, to fix bugs,
player compatibility and requests. Here is a change abstract

0.2.4.dev.1
- Fix track not updating or playing the same track again or not moving
to next track (moode)
- Fix volume command sent twice, locking some UPnP players
- Add possibility to block LMS mute command when pausing
- (P) increase web UI log line to 200
- (P) user guide now available in a web browser tab
- (p) add option to delete a player



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PaulinPosset
2015-06-28 08:52:32 UTC
Permalink
Post by philippe_44
http://sourceforge.net/projects/lms-to-upnp/files/dev/repo-sf.xml
It includes various changes made over the past 3 weeks, to fix bugs,
player compatibility and requests. Here is a change abstract
0.2.4.dev.1
- Fix track not updating or not moving to next track (moode)
- Fix playing the same track again and again (force UPnP mode to be
"NORMAL")
- Fix volume command sent twice, locking some UPnP players
- Add possibility to block LMS mute command when pausing
- (P) increase web UI log line to 200
- (P) user guide now available in a web browser tab
- (p) add option to delete a player
All working fine with the Uniti. Thanks again:)


------------------------------------------------------------------------
PaulinPosset's Profile: http://forums.slimdevices.com/member.php?userid=63060
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-28 09:11:56 UTC
Permalink
Post by philippe_44
http://sourceforge.net/projects/lms-to-upnp/files/dev/repo-sf.xml
It includes various changes made over the past 3 weeks, to fix bugs,
player compatibility and requests. Here is a change abstract
0.2.4.dev.1
- Fix track not updating or not moving to next track (moode)
- Fix playing the same track again and again (force UPnP mode to be
"NORMAL")
- Fix volume command sent twice, locking some UPnP players
- Add possibility to block LMS mute command when pausing
- (P) increase web UI log line to 200
- (P) user guide now available in a web browser tab
- (p) add option to delete a player
All OK here too on Marantz and Musical Fidelity. Thanks.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 11:35:00 UTC
Permalink
Hi, sorry for stupid question. Not sure how to update the plugin? I run
LMS on a QNAP TS-269Pro. Do I have to copy the xml file manually into a
directory?

Thanks,
Rainer


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-28 11:44:12 UTC
Permalink
Post by AudioUser
Hi, sorry for stupid question. Not sure how to update the plugin? I run
LMS on a QNAP TS-269Pro. Do I have to copy the xml file manually into a
directory?
Thanks,
Rainer
Gesendet von iPhone mit Tapatalk
Which repository are you using for the plugin? To get the development
version of the plugin, use

Code:
--------------------

http://sourceforge.net/projects/lms-to-upnp/files/dev/repo-sf.xml

--------------------

Apply this change, and you should get a message to update the plugin on
the plugins page.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 12:05:30 UTC
Permalink
Ok, I got it updated right now - thanks!
Unfortunately still same issue, playback runs fine for the active track
but stops after track ending and no automatic starting of the next
track.

Http streaming option: fixed large size
(all other options do not work in the meaning of no sound coming out of
my speakers, although LMS seems to play with moving "cursor")

I run LMS 7.9 connected to JRMC 20.0.17 with JPlay 6.1 Asio on a single
PC configuration.

Looking forward getting this nice plugin successfully run so I can
control my complete setup by LMS / iPeng8.

Regards,
Rainer


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 12:33:24 UTC
Permalink
Example

Time value still counting but no more output from speakers after end of
actual played track
18324



Gesendet von iPhone mit Tapatalk


+-------------------------------------------------------------------+
|Filename: ImageUploadedByTapatalk1435494787.657119.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18324|
+-------------------------------------------------------------------+



------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 12:43:53 UTC
Permalink
I was hoping that another HTTP streaming option would solve the problem
for you as the issue is that the player insist on getting the 'promised'
size and would not move to the next track until that. To double check,
when you change streaming option, you stop the bridge first ? It is not
absolutely mandatory but safer



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 12:58:41 UTC
Permalink
Yes, I have tried all options again for HTTP streaming, between each
change I stopped the bridge before.

Hm, what else could make this happen?

Some setting within the JRMC player?


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 16:24:53 UTC
Permalink
Post by AudioUser
Yes, I have tried all options again for HTTP streaming, between each
change I stopped the bridge before.
Hm, what else could make this happen?
Some setting within the JRMC player?
Gesendet von iPhone mit Tapatalk
I will download JRiver and try



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 19:02:12 UTC
Permalink
Post by philippe_44
I will download JRiver and try
okay - I was able to reproduce the problem. I can confirm that with
"fixed large size", JRiver insists on receiving the full promised size,
so this will not work with that option.
With 'chunked' it works fine *except* for flac files. The problem is
limited to that format. So an easy workaround is to use for 'codecs' :
'pcm, mp3' or 'aif, pcm, mp3' if you have aiff files. Set 'HTTP
streaming option' to 'chunked'. You can leave the uncompressed format to
'raw, wav, aiff' - I'll update the pre-defined profiles for you, you'll
just have to fetch the model.

I'll work on the flac problem, but it might be what we experienced with
PasTim and could not find a solution for, after we hit our heads against
the wall, like really hard. PasTim uses a solution to force flac-to-flac
re-encoding on LMS.

Not that it will not prevent your flac files to be played if you set
'codecs' to 'pcm,mp3', but they will be transcoded to pcm by LMS



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-28 16:34:41 UTC
Permalink
Post by AudioUser
Yes, I have tried all options again for HTTP streaming, between each
change I stopped the bridge before.
Hm, what else could make this happen?
Some setting within the JRMC player?
Gesendet von iPhone mit Tapatalk
Forgive me if you said before somewhere on the other thread, but I'm
just interested to know what your setup is. Why are you using JRMC
rather than driving a renderer direct? If you are using PC sound output
have you tried any other software renderers, and is there a reason not
to use Squeezelite?



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 18:59:15 UTC
Permalink
Post by PasTim
Forgive me if you said before somewhere on the other thread, but I'm
just interested to know what your setup is. Why are you using JRMC
rather than driving a renderer direct? If you are using PC sound output
have you tried any other software renderers, and is there a reason not
to use Squeezelite?
My setup is:

Single Audio PC (i5 CPU running Win Server 2012 R2) adjusted with
Audiophile Optimizer 1.31 and installed JPlay 6.1 as Asio engine,
connected by USB to MF VLink 192, connected by XLR to NAD C510. My
renderer is still JRMC which I compared to Foobar2000. The reason for
JRNC in my system is SQ.

I'd like to use Squeezelite, I know it works best with LMS by default. I
gave it a short try and to be honest I was not able to get any sound out
of my speakers. Maybe I missed something by mistake!?

So any hints are welcome.

Philippe, if you have the chance to test the bridge with JRMC I would be
very interested in your results.

Thanks,
Rainer


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 19:08:34 UTC
Permalink
Post by AudioUser
Single Audio PC (i5 CPU running Win Server 2012 R2) adjusted with
Audiophile Optimizer 1.31 and installed JPlay 6.1 as Asio engine,
connected by USB to MF VLink 192, connected by XLR to NAD C510. My
renderer is still JRMC which I compared to Foobar2000. The reason for
JRNC in my system is SQ.
I'd like to use Squeezelite, I know it works best with LMS by default. I
gave it a short try and to be honest I was not able to get any sound out
of my speakers. Maybe I missed something by mistake!?
So any hints are welcome.
Philippe, if you have the chance to test the bridge with JRMC I would be
very interested in your results.
Thanks,
Rainer
Gesendet von iPhone mit Tapatalk
I got it to work, see above but also PasTim is right, if you really want
a player, squeezelite is much simplier. Maybe you should use Ralphy's
built that include options for many more sound card, including ASIO
(I've used it already that way)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 19:18:05 UTC
Permalink
Post by PasTim
Forgive me if you said before somewhere on the other thread, but I'm
just interested to know what your setup is. Why are you using JRMC
rather than driving a renderer direct? If you are using PC sound output
have you tried any other software renderers, and is there a reason not
to use Squeezelite?
BTW, a nice side-effect for me of trying JRiver is that it provides a 24
bits pcm option, so finally I may able to have a test platform for this
:) - I'm also able to see the flac header problem on chunked mode, maybe
I'll find a solution for this one as well. JRiver seems to behave like
my Sonos and a bit like your Marantz: flac cannot be transmitted in any
other mode than "large file size". All other file formats work in
chunked, but not flac. Maybe I'll either be able to investigate or
JRiver developpers will be more reactive than Sonos



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 13:10:12 UTC
Permalink
Although moving forward or backward within the actual playing track is
not possible.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
rino
2015-06-28 14:20:11 UTC
Permalink
Hi Philippe,

I am trying to get a AC Ryan Playon mediaplayer to work with this plugin
but there is no sound.
LMS ( Daphile version) is running on a Thin Client (Atom 280 chip).
The player is recognised in squeeze2unp using the static version. There
is no config file (404 error from server).
This is from the Daphile server log file:

18326

Thank you for this nice plugin!


+-------------------------------------------------------------------+
|Filename: lms.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18326|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
rino's Profile: http://forums.slimdevices.com/member.php?userid=64543
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 18:10:42 UTC
Permalink
Post by rino
Hi Philippe,
I am trying to get a AC Ryan Playon mediaplayer to work with this plugin
but there is no sound.
LMS ( Daphile version) is running on a Thin Client (Atom 280 chip).
The player is recognised in squeeze2unp using the static version. There
is no config file (404 error from server).
18326
Thank you for this nice plugin!
Usually, when the 'control' part is working fine but you have no audio,
there are 2 possibilities that are HTTP related

1- Firewall blocking the access to the web server that provides the
audio stream through HTTP (port 49152 usually) - best is to disable
firewall for a short while an d see
2- 'HTTP streaming option' not supported by the player: default is
'chunked', 'so try in order of preference 'chunked open range', 'no
size', 'no size open range' and then try 'fixed large size'. Don't
forget to hit 'appy' and between each test, give it 30-60s for
everything to restart



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 19:15:14 UTC
Permalink
Ok Philippe, thanks for testing. I will try playing with the codecs. On
the other hand it would be great having flac files directed to the
renderer without any encoding.

PasTim,
is there an easy way to configure Squeezelite as renderer within my
setup so I get a successful result. On reason for JRiver to use in my
scenario is the possibility to point the shell replacement option to
JRiver. I run Win Server in core mode, right now in Audiophile Optimizer
is no option to replace the shell by Squeezelite - unfortunately.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 19:20:19 UTC
Permalink
Post by AudioUser
Ok Philippe, thanks for testing. I will try playing with the codecs. On
the other hand it would be great having flac files directed to the
renderer without any encoding.
PasTim,
is there an easy way to configure Squeezelite as renderer within my
setup so I get a successful result. On reason for JRiver to use in my
scenario is the possibility to point the shell replacement option to
JRiver. I run Win Server in core mode, right now in Audiophile Optimizer
is no option to replace the shell by Squeezelite - unfortunately.
Gesendet von iPhone mit Tapatalk
You should not worry too much about flac->pcm encoding, this is fully
lossless. A bit more bandwidth hungry, but as everything is local to the
same PC, this is really not a problem. The extra CPU does not matter as
the flac->pcm decoding will happen anyway on that PC, either in LMS or
in JRiver



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-29 06:28:40 UTC
Permalink
Post by AudioUser
PasTim,
is there an easy way to configure Squeezelite as renderer within my
setup so I get a successful result. On reason for JRiver to use in my
scenario is the possibility to point the shell replacement option to
JRiver. I run Win Server in core mode, right now in Audiophile Optimizer
is no option to replace the shell by Squeezelite - unfortunately.
I don't know enough to be able to help you, sorry. You could ask on the
main squeezelite thread
(http://forums.slimdevices.com/showthread.php?97766-Announce-Local-Player-plugin-and-Squeezelite-for-Linux-Windows-OSX)



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-30 14:57:25 UTC
Permalink
Post by PasTim
I don't know enough to be able to help you, sorry. You could ask on the
main squeezelite thread
(http://forums.slimdevices.com/showthread.php?97766-Announce-Local-Player-plugin-and-Squeezelite-for-Linux-Windows-OSX)
I'm not sure I know much about the missing pieces in Win serevr core,
but if you decide to try squeezelite, the whole setup is made from LMS,
you don't need to do anything outside of it. Go to plugins, select
'local player' and upon LMS restarts, squeezelite should start as well.
Then you can select the audio output you want to use and this is where,
if one is missing, you might be willing to use Ralphy's build



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-28 21:17:37 UTC
Permalink
Thanks for the quick help. I fetched the profile for JRiver and run it
with chunked streaming option. But still the same, the actual track ends
and no further sound because next track is not starting. Cursor in ipeng
moves on.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-28 22:05:02 UTC
Permalink
Post by AudioUser
Thanks for the quick help. I fetched the profile for JRiver and run it
with chunked streaming option. But still the same, the actual track ends
and no further sound because next track is not starting. Cursor in ipeng
moves on.
Gesendet von iPhone mit Tapatalk
hmmm ... what version of JRiver are you using ? I'm testing 20.0.115. In
option, media network, I've set DLNA server to be Generic DLNA (although
I don't think it matters as it is for the server, not the renderer). I'm
running that on WinXP virtualized. I can confirm that with HTTP option
set to 'fixed large size' I have the same problem you see. With
'chunked', it works fine except for flac. I'm testing it right now and
I've been through already 4 tracks. Can you send me a log then ?



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-29 06:31:54 UTC
Permalink
Post by AudioUser
Thanks for the quick help. I fetched the profile for JRiver and run it
with chunked streaming option. But still the same, the actual track ends
and no further sound because next track is not starting. Cursor in ipeng
moves on.
Gesendet von iPhone mit Tapatalk
I use pcm as the main codec on one of my players, and it works very
well. I also used some flac to flac conversion (which does nothing
except add a proper header) for a while with good results - see section
4.3 of the user manual, accessible from the plugin configuration page.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-29 15:49:43 UTC
Permalink
How do you set up flac to flac conversation with in LMS?


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-30 00:05:12 UTC
Permalink
Post by AudioUser
How do you set up flac to flac conversation with in LMS?
Gesendet von iPhone mit Tapatalk
Extract from the user's guide made by PasTim



4.3 LMS Options
LMS has many options. The main ones that may affect sq2u are the LMS
File Types (see Settings, Advanced, in the Drop Down). This is
discussed in Section 2.2 above.
Some renderers do not support re-positioning of flac well. If you have
this problem you need to create a custom transcoding rule. You first
need to find the convert.conf file on your system (on linux this is in
/etc/squeezeboxserver). This file contains the rules LMS uses to
transcode from one format to another. To add a new rule, create a new
file called 'custom-convert.conf' in the same directory and restart LMS.
This file should contain:
(if you copy-paste below,be careful with the indentation)
flc flc * *
# IR
[flac] -cs - -
This tells LMS to create a complete new flac file when a flac starts
playing or is re-positioned. The LMS File Type for flac should now show
flac transcoded to 'flac' rather than 'native'.



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 11:22:10 UTC
Permalink
Ok, with this custom file now I can use "flac,pcm,mp3" as supported
codecs and "raw,wav,aiff" under uncompressed format.

Still have to live in the "just one track playback" world [emoji20]


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-30 11:54:35 UTC
Permalink
Post by AudioUser
Ok, with this custom file now I can use "flac,pcm,mp3" as supported
codecs and "raw,wav,aiff" under uncompressed format.
Still have to live in the "just one track playback" world [emoji20]
Gesendet von iPhone mit Tapatalk
Sorry if I've got a bit lost here, but what happens if you play all as
pcm? Does it play multiple tracks?



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-30 13:26:13 UTC
Permalink
Post by AudioUser
Ok, with this custom file now I can use "flac,pcm,mp3" as supported
codecs and "raw,wav,aiff" under uncompressed format.
Still have to live in the "just one track playback" world [emoji20]
Gesendet von iPhone mit Tapatalk
Just a side note: for flac, the codec name must be 'flc' not 'flac'. At
some point, if you want me to help, I will need a log file. You can do
that by ticking 'enable' on the 'logging option' line of the 'UPnP/DLNA
bridge' plugin settings. Then, do your test as usual and once you've
have something that shows the problem, go back to the plugin settings
and on the same line click 'view'. It will open a new tab and you can
copy/paste the log here or attach it as a .txt file (preferred)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 11:29:03 UTC
Permalink
I run JRiver version 20.0.17. This was the last version allowing jplay
driver to work together with JRiver. The company seems not to be happy
about jplay and it's nice sound. So in consequence a lot of their paying
users not happy about this politics and stay away from further updates
behind release xx.x.17.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 11:39:10 UTC
Permalink
New issue now raised up. Since I do the flac to flac transcoding I can
no longer stream Qobuz flac files. Any suggestions?


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 12:03:15 UTC
Permalink
Playing all as pcm goes on with the next track - strange!? Still no
playback with Qobuz streaming.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-30 12:24:38 UTC
Permalink
Post by AudioUser
Playing all as pcm goes on with the next track - strange!? Still no
playback with Qobuz streaming.
Gesendet von iPhone mit Tapatalk
If you are happy using pcm then at least one problem less to worry
about.

I'm now trying to remember what my problem was with Qobuz (I assume you
are streaming flacs). I think I got it to work, but I only had a trial
licence so didn't make a note of the issues. You could try the 'proxied
streaming' option in LMS Settings, Player, Audio, Streaming Method.

Note that for send pcm to a hardware renderer, your LMS server needs to
have the cpu power to do the conversion, and your network should
probably be wired rather than wireless, to handle the extra data. In my
case my server is much more powerful than my renderer, and I suspect I
get a better result on high quality tracks, since the renderer seems to
struggle to do the conversions itself (the display scroll almost stops).



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 12:41:32 UTC
Permalink
I tried proxy, it does not work.

Is there an easy way to remove the changed values done by the
custom-convert file. So I can change the LMS setting back to flac -
native, instead flac - flac?


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-30 12:45:31 UTC
Permalink
Post by AudioUser
I tried proxy, it does not work.
Is there an easy way to remove the changed values done by the
custom-convert file. So I can change the LMS setting back to flac -
native, instead flac - flac?
Gesendet von iPhone mit Tapatalk
Not sure why you would want to remove it, but anyway, just rename the
file with a suffix like '.old' and restart LMS.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 13:09:06 UTC
Permalink
Ok that's what I did. after reboot same. I only can decide in LMS flac -
flac or flac - deactivate, no more flac - native is visible!?
I have renamed the convert.conf to convert.conf.old followed by LMS
restart. Now looking in the directory I see no new created convert.conf,
still the renamed convert.conf.old. I'm afraid this is why I can not
switch back in LMS to flac - native??


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-30 13:13:17 UTC
Permalink
Post by AudioUser
Ok that's what I did. after reboot same. I only can decide in LMS flac -
flac or flac - deactivate, no more flac - native is visible!?
I have renamed the convert.conf to convert.conf.old followed by LMS
restart. Now looking in the directory I see no new created convert.conf,
still the renamed convert.conf.old. I'm afraid this is why I can not
switch back in LMS to flac - native??
Gesendet von iPhone mit Tapatalk
It's the custom-convert file you need to rename.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 13:21:34 UTC
Permalink
It's renamed to original, nothing changed in LMS for flac setup, still
no native option. Sorry for asking again [emoji20]


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-06-30 14:10:43 UTC
Permalink
Post by AudioUser
It's renamed to original, nothing changed in LMS for flac setup, still
no native option. Sorry for asking again [emoji20]
Gesendet von iPhone mit Tapatalk
You said you change the name of convert.conf. If that is what you did,
that is the wrong file. convert.conf should remain as standard. The
file to rename (or move somewhere else) is custom-convert.conf.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-06-30 17:08:48 UTC
Permalink
I reloaded the LMS software on my NAS and after reinstallation of the
bridge it works again. Only fault is I can not stream tracks from Qobuz.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-06-30 17:36:13 UTC
Permalink
Post by AudioUser
I reloaded the LMS software on my NAS and after reinstallation of the
bridge it works again. Only fault is I can not stream tracks from Qobuz.
Gesendet von iPhone mit Tapatalk
I have a Qobuz subscription so I'll try later today. Do you have flac
local files working normally or not ? (make sure that they are NOT
transcoded by LMS, otherwise flac might seem to work, but in fact, it
does not really, only pcm does)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-01 05:43:04 UTC
Permalink
I tried with Qobuz and confirm it does not work with flac. At this
occasion, I re-tested my Sonos configuration that used to have a similar
problem (cannot work with falc and chunked-encoding) and a good news is
that Sonos did correct that bug and now Sonos can be used with
chunked-encoding, which is a must-preferred option compared to the large
fixed size !



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-07-01 05:47:37 UTC
Permalink
Hi Philippe, looks Sonos have great engineering.

I'd like to thank you and PasTim for help and your investigation.


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-01 06:11:58 UTC
Permalink
Post by AudioUser
Hi Philippe, looks Sonos have great engineering.
I'd like to thank you and PasTim for help and your investigation.
Gesendet von iPhone mit Tapatalk
I've posted a request on JRiver forum and maybe I'll get a response. You
may also try squeezelite or use 320kbps for Qobuz (I realize that you
might not like mp3, though)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
AudioUser
2015-07-01 09:41:54 UTC
Permalink
Right, for Qobuz I like flac.

My scenario is: I run LMS on a NAS, while JRiver runs on my Audio PC. So
2 machines, 2 OS. NAS = Linux, Audio PC = Win Server 2012


Gesendet von iPhone mit Tapatalk




------------------------------------------------------------------------
AudioUser's Profile: http://forums.slimdevices.com/member.php?userid=64482
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-01 12:41:15 UTC
Permalink
Ok - I thought at first that everything was co-located. If you want to
try squeezelite, just get Ralphy's build, unzip in any directory, run it
with the the -h option to see all the parameters and then find out what
sound card output works for you. BTW, you could also use a raspberry pi
and run picoreplayer on it. Unless your in some other special things on
the Win PC. Squeezelite will give you a native LMS player



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-07-02 21:27:09 UTC
Permalink
I had problems tonight, playing 24/96 flac tracks in pcm on the latest
dev version. I wasn't very organised so didn't note precisely when, but
I was playing the track titled "Piano Trio No.2 in Cmi Op.66 MWV.Q33 -
1. Allegro energico e con fuoco" and several minutes in it went quiet,
then started making noise like the 24 bit conversion had gone wrong. I
tried several other tracks to reset it, and then tried to reposition to
roughly where it had stopped, and although it played for a while it
stopped early and went to the next movement (2).

The log is attached.


+-------------------------------------------------------------------+
|Filename: upnpbridge.log.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18338|
+-------------------------------------------------------------------+


LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-03 01:37:48 UTC
Permalink
Post by PasTim
I had problems tonight, playing 24/96 flac tracks in pcm on the latest
dev version. I wasn't very organised so didn't note precisely when, but
I was playing the track titled "Piano Trio No.2 in Cmi Op.66 MWV.Q33 -
1. Allegro energico e con fuoco" and several minutes in it went quiet,
then started making noise like the 24 bit conversion had gone wrong. I
tried several other tracks to reset it, and then tried to reposition to
roughly where it had stopped, and although it played for a while it
stopped early and went to the next movement (2).
The log is attached.
I don't have a full explanation yet, but what I see is a "spontaneous"
stop on the M1, that is detected by sq2u as an "unwanted stop", like
what happens when the player is stopped from the remote (I'm not
suggesting you did that :)). The behavior today is to report that to LMS
as an error and so LMS response is to move to next track.

[21:45:33.307009] SyncNotifState:448 M1 CliC: uPNP transition
[21:45:33.372644] sq_open:556 [0x6468c0]: open
[21:45:33.375441] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:45:34.308032] SyncNotifState:496 M1 CliC: uPNP playing
[21:45:34.835376] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:45:43.603958] stream_thread:254 [0x6468c0] end of stream
(t:252566400)

file is 252MB

[21:47:50.115911] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:48:03.384770] SyncNotifState:459 M1 CliC: uPNP stop
[21:48:03.384944] slimproto_run:727 [0x6468c0]: unwanted stop, reporting
error
[21:48:03.385122] sendSTAT:166 [0x6468c0]: STAT:[STMn] msplayed 0
[21:48:03.537829] sq_close:604 [0x6468c0]: read total:81788928

only 81MB has been sent to player, after 137 seconds, knowing that 24
bits @ 96K during 127 sec = 79M, so it does not seems to be a lack of
data (network) problem.

[21:48:03.538436] AVTBasic:313 uPNP Stop for
http://10.99.55.9:8080/AVTransport/ctrl (cookie 0xf7b)
[21:48:03.606123] process_strm:239 [0x6468c0] strm command s
[21:48:03.606703] stream_sock:425 [0x6468c0] header: GET
/stream.mp3?player=00:11:f6:8a:ac:19 HTTP/1.0

next track starts

But, if it happens systematically on that file, there might be an issue
with the circular buffers I'm using. Normally, everything is calculated
to that there is a proper alignment (I need all bytes of a 2-channels
sample to not cross the boundary of the buffers). If you have the
opportunity to confirm that it always happen with that file, can you
send share it using dropbox ? I'll run test with a debugger then



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-07-03 13:08:24 UTC
Permalink
Post by philippe_44
I don't have a full explanation yet, but what I see is a "spontaneous"
stop on the M1, that is detected by sq2u as an "unwanted stop", like
what happens when the player is stopped from the remote (I'm not
suggesting you did that :)). The behavior today is to report that to LMS
as an error and so LMS response is to move to next track.
[21:45:33.307009] SyncNotifState:448 M1 CliC: uPNP transition
[21:45:33.372644] sq_open:556 [0x6468c0]: open
[21:45:33.375441] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:45:34.308032] SyncNotifState:496 M1 CliC: uPNP playing
[21:45:34.835376] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:45:43.603958] stream_thread:254 [0x6468c0] end of stream
(t:252566400)
file is 252MB and properly buffered
[21:47:50.115911] sq_read:730 [0x6468c0]: read 1048576 (r:1048576
w:100)
[21:48:03.384770] SyncNotifState:459 M1 CliC: uPNP stop
[21:48:03.384944] slimproto_run:727 [0x6468c0]: unwanted stop, reporting
error
[21:48:03.385122] sendSTAT:166 [0x6468c0]: STAT:[STMn] msplayed 0
[21:48:03.537829] sq_close:604 [0x6468c0]: read total:81788928
only 81MB has been sent to player, after 137 seconds, knowing that 24
data (network) problem.
[21:48:03.538436] AVTBasic:313 uPNP Stop for
http://10.99.55.9:8080/AVTransport/ctrl (cookie 0xf7b)
[21:48:03.606123] process_strm:239 [0x6468c0] strm command s
[21:48:03.606703] stream_sock:425 [0x6468c0] header: GET
/stream.mp3?player=00:11:f6:8a:ac:19 HTTP/1.0
next track starts
But, if it happens systematically on that file, there might be an issue
with the circular memory buffers I'm using. Normally, everything is
calculated to that there is a proper alignment (I need all bytes of a
2-channels sample to not cross the boundary of the buffers when doing
24-bits re-packing). If you have the opportunity to confirm that it
always happen with that file, can you share it using dropbox ? I'll run
test with a debugger then
I just played the track again (from a fresh start, not preceded by
others), and it's fine. Is there anything else you'd like me to check?
My current config file is attached.


+-------------------------------------------------------------------+
|Filename: upnpbridge.xml.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=18339|
+-------------------------------------------------------------------+


LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-03 16:20:00 UTC
Permalink
Post by PasTim
I just played the track again (from a fresh start, not preceded by
others), and it's fine. Is there anything else you'd like me to check?
My current config file is attached.
I think that if it is not repeatable, I'll have to put in the transient
errors. It really could be so many different things...



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-07-03 19:22:10 UTC
Permalink
Post by philippe_44
I think that if it is not repeatable, I'll have to put in the transient
errors category and let it there. It really could be so many different
things...
Fine. I'll let you know if I get anything like it again.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-03 19:29:39 UTC
Permalink
Post by PasTim
Fine. I'll let you know if I get anything like it again.
Thanks - it's not that I don't want to investigate, but rather that I
cannot investigate :(



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-07-03 20:26:20 UTC
Permalink
Post by philippe_44
Thanks - it's not that I don't want to investigate, but rather that I
cannot investigate :(
I thought I would replay all the tracks I played last night to see if
something cumulative had gone wrong. Whilst playing one of the earlier
tracks I decided I liked it so much I would change the Rating tag on the
flac (I often do this whilst playing tracks). Due to monumentally
foolish finger trouble I managed to move the whole folder to another
place. LMS naturally threw a wobbly. I stopped playing, moved the
folder back where it should have been, started playing and got the
24-bit mashed up noise again. This makes me think that if and when some
form of LMS or network or renderer glitch or delay occurs, sq2p may not
restart cleanly. The occasional unexpected stop in music is a minor
thing. The 24 bit white noise is another.

I'm not sure the log would be much help, and I may be way off mark. So,
just a thought.



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
philippe_44
2015-07-04 01:03:01 UTC
Permalink
Post by PasTim
I thought I would replay all the tracks I played last night to see if
something cumulative had gone wrong. Whilst playing one of the earlier
tracks I decided I liked it so much I would change the Rating tag on the
flac (I often do this whilst playing tracks). Due to monumentally
foolish finger trouble I managed to move the whole folder to another
place. LMS naturally threw a wobbly. I stopped playing, moved the
folder back where it should have been, started playing and got the
24-bit mashed up noise again. This makes me think that if and when some
form of LMS or network or renderer glitch or delay occurs, sq2p may not
restart cleanly. The occasional unexpected stop in music is a minor
thing. The 24 bit white noise is another.
I'm not sure the log would be much help, and I may be way off mark. So,
just a thought.
I see now, yes I agree the white noise can be very painfull. I will
think about how it can happen, but I'm bit dry as of now in the sense
that I forward what I receive from LMS after having done a bit of
endianness change or byte packing, but I'm only processing an amount of
bytes that is a multiple of channels*bytes_per_sample. In case LMS stops
sending bytes and if there is a 'wrong' number of remaining bytes in the
buffer, they will not be processed until LMS feeds sq2u again or stops
the whole process. At this point I cannot think of a case where things
would go wrong and I could detect that automatically. That's the issue
with pcm, these are just bytes, no checksum, nothing to assess if they
are right or wrong - any other method to check validity would be prone
to a lot of false alarm. I'll continue thinking about a potential defect
case (apart from LMS sending random data)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
PasTim
2015-07-04 07:40:27 UTC
Permalink
Post by philippe_44
I see now, yes I agree the white noise can be very painfull. I will
think about how it can happen, but I'm bit dry as of now in the sense
that I forward what I receive from LMS after having done a bit of
endianness change or byte packing, but I'm only processing an amount of
bytes that is a multiple of channels*bytes_per_sample. In case LMS stops
sending bytes and if there is a 'wrong' number of remaining bytes in the
buffer, they will not be processed until LMS feeds sq2u again or stops
the whole process. At this point I cannot think of a case where things
would go wrong and I could detect that automatically. That's the issue
with pcm, these are just bytes, no checksum, nothing to assess if they
are right or wrong - any other method to check validity would be prone
to a lot of false alarm. I'll continue thinking about a potential defect
case (apart from LMS sending random data)
I'll go back to flc for a while and see if I still get any 'stops' (I
know I won't get noise).



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to MF amp &
ESLs) & Marantz CR603 UPnP renderers. Minimserver (server) & upplay
(control point) to same & to upmpdcli/mpd PC renderers. Squeezelite to
Meridian USB Explorer DAC to speakers/phones. Wireless Xubuntu 15.04
laptop with firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver. Have a Touch
with EDO, plus spare, but unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
woodster
2015-07-20 21:10:43 UTC
Permalink
Hi there,

I'm trying to install the plugin on a zyxel nsa325 v2 nas, but cannot
get it to work.
I have the plugin installed, but it seems the configuration file cannot
be created.

Could it be a missing armv5 file .... any ideas?

The log just shows:
Starting Squeeze2upnp:
/usr/local/zy-pkgs/gui/SqueezeCenter/Cache/InstalledPlugins/Plugins/UPnPBridge/Bin/squeeze2upnp-armv6hf
-Z -I -f /usr/local/zy-pkgs/gui/SqueezeCenter/Logs/upnpbridge.log -x
/usr/local/zy-pkgs/gui/SqueezeCenter/prefs/upnpbridge.xml

Thanks
Martin


------------------------------------------------------------------------
woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688
View this thread: http://forums.slimdevices.com/showthread.php?t=103728
Loading...