Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44

To confirm, I used a different user-agent in LMS as a whole
(Slim::Utils::Misc.pm)


Code:


  #$userAgentString = sprintf("iTunes/4.7.1 (%s; N; %s; %s; %s; %s) 
%s/$::VERSION/$::REVISION",
  $userAgentString = sprintf("Mozilla/5.0 (%s; N; %s; %s; %s; %s) 
%s/$::VERSION/$::REVISION",
  



And voilà, mixcloud likes it and allows direct streaming on mixcloud://
url and plays de-obfuscated urls like
https://stream6.mixcloud.com/secure/c/m4a/64/2/6/0/6/442f-d95a-4b49-a3a1-8c1c59ed1186.m4a?sig=oP6RGk-Bo-2rKvOpYVPOTQ
direcly from tune-in box



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Youtube plugin only plays 44.1 khz files on sq classic & radio

2021-04-07 Thread Bassie


Goodmorning Phillipe

Thanks a lot for helping me !

I am going to take a good search to find an update server file 

i can't wait to try it out

thanks a lot

regards  Bas



Bassie's Profile: http://forums.slimdevices.com/member.php?userid=71554
View this thread: http://forums.slimdevices.com/showthread.php?t=114234

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


Re: [SlimDevices: Plugins] Spotty - 'stalled' stream

2021-04-07 Thread Michael Herger

Spotty never checks if a song is playable. In this case the song is not
playable due to market restrictions.


It usually does, but it indeed does not in this particular case.


$params->{fields} = 'next,items(track(uri*,restrictions*))' if


Hmm... I never see any restrictions. Would you have an example playlist 
which would return this for you? I've also looked into "is_playable". 
Would that give you the same expected result?

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


Re: [SlimDevices: Plugins] Trackstat statistics and Spotty content

2021-04-07 Thread Michael Herger

I guess the following if statement only updating lastPlayed/play counts
if isFile returns true is likely to cause issues ?
https://github.com/erland/lms-trackstat/blob/fe583776eafce682086a0cc2731a8676b67652f6/src/Plugin.pm#L4259


Yep, isFile() would fail on remote tracks.


And the following code will likely not work if persistent handling isn’t
implemented for remote tracks:
https://github.com/erland/lms-trackstat/blob/fe583776eafce682086a0cc2731a8676b67652f6/src/Plugin.pm#L5000


Yes again. That's something I'm currently looking into.


I suspect there are more issues than these in the plugin code so it
might not be worth the time to fix issues in LMS core unless someone
also is willing to fix the issues in the plugin.


There are other uses to that data. Even built in to LMS. So I'll look 
into implementing statistics for imported remote tracks anyway.

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


Re: [SlimDevices: Plugins] Jazz Groove Support

2021-04-07 Thread mark wollschlager


Wow, this will make my wife very happy.
Jazz Groove is one of her favorites, but the max stream message got her
down.



2 Duets controllers, 1 X Boom, 1 X Radio
1 X Receiver + Edifier S1000DB
1 X Receiver + Yamaha RX-A2000, Polk M70
1 X Receiver + Boston MicroSystem CD
Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0
Audioengine A5 ( passive mode )
Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play
SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub
HTC 10 w/ Squeeze Ctrl
ReadyNAS 516 LMS 8.1.1

mark wollschlager's Profile: 
http://forums.slimdevices.com/member.php?userid=22302
View this thread: http://forums.slimdevices.com/showthread.php?t=111294

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-04-07 Thread SamY


peterw wrote: 
> Except that you have to power cycle the AVR?

Not really. The timeout only happens (but rarely) when the AVR is
powered off (in standby mode) and I am trying to query its power status
(PW?) during player startup. If it's already powered on, there's not a
problem. The AVR always returns "PWON". The error routine that is
invoked on any TCP write errors, including this one, previously just
gave up the ghost and exited the callback. With the code change, if the
command was a "PW?" and the error is a timeout, it treats it the same as
if the AVR had returned a "PWSTANDBY" status and invokes the appropriate
plugin logic (PWON, Quick Select, etc.)

> Do you maintain a persistent TCP connection or connect, send, process
> responses, and then disconnect? Because my AVR will eventually (usually
> pretty soon) respond to normal "?" query and other commands if I just
> disconnect my TCP connection to the serial port server. (I have no idea
> if the 'ser2net' serial port software maintains a connection to the
> RS232 port.)

The latter, i.e. connect, send, process responses, and disconnect. Using
this method, we don't have to deal with all the extraneous small talk
that the AVR likes to engage in with its clients, proudly informing us
of the current settings of each and every one of its hundreds of
parameters over and over. I almost feel bad for the poor guy, just
disconnecting after I get the info I need without even asking how his
day is going. ;-)  Maybe this occasional refusal to answer is his way of
expressing his hurt feelings. I suppose it could be worse... "Turn down
the volume from 98dB, Hal..."   "HAL!!!"

> Don't let that stop you! "Enable Amp Status Polling" is a configurable
> option (as is the frequency with which the amp is polled, and the
> frequency can be different for active** and inactive modes). Turn amp
> status polling off and it will still take action promptly when the LMS
> player volume or muting or power state changes -- LMS just won't
> recognize when somebody has used a Denon remote or the big volume knob
> to change the AVR volume. 

Okay. I didn't know that. I've actually thought about adding that as an
optional feature in AvpControl also. Maybe v5.0. The only method
currently in place for handling that situation is the optional "Sync on
track change", which only works for the main zone since, as far as I
have been able to determine, there is no command analogous to "MV?" for
the secondary zones.

> ** For my plugin, "active" apparently*** means "has seen a recognized IR
> command recently" -- IIRC when I initially wrote this I saw that the SB3
> recognized the raw IR command codes of some other devices (though it had
> no mapping so didn't act on any of them), and thought if the SB3 saw
> somebody interacting with someting like the TV, then it was pretty
> likley that somebody was in the room and more likley than usual that
> somebody would turn the AVR volume knob.

Now THAT's what I call AI at its finest!!  ;-)



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


staresy wrote: 
> Hi Philippe,
> Successfully installed your latest mod but still no joy playing any
> mixcloud streams, I get the following error:
> 
> 34112
> 
> I'm not sure how "insecure HTTPS" is set as I can't see where to
> check/uncheck it.
> 
> Let me know if you want any log files to assist, and which ones.
> 
> Thanks

I don't think it's that, I have it disabled on mine and I can play on a
Touch, a Boom and a Squeezelite-esp32 that stream as well as (e.g.) "My
Apps/Mixcloud/Categories/Ambient/Quiet Music April 4" that you referred
to earlier. Can you post here your convert.conf and custom-convert.conf?



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-04-07 Thread DavidBulluss


SamY wrote: 
> Good news! I was able to re-create the situation with my fix applied and
> it worked like a champ.  It will be included in v4.0.  No more needless
> trips through the house to fiddle with the AVR, David. You will finally
> be able to achieve true "couch potato" nirvana.  ;-)
> 
> In other good news, I have been talking to the author of the Squeeze
> Ctrl app about adding support for muting in the UI.  While he informed
> me that there is more extensive functionality for muting in the Windows
> 10 version of the app (a separate purchase on the Microsoft Store), he
> also indicated that a player can be muted and unmuted on the "Manage
> Players" screen of the Android app by clicking on the speaker button,
> which is directly under the power button. Sure enough, it works great.
> Another thing I discovered on my own is that it is also possible to
> trigger the "hardware muting" plugin function from the "Now Playing"
> screen by pressing the "volume down" and "volume up" buttons in quick
> (within 0.25 secs) succession. I'm really loving the Squeeze Ctrl app,
> btw. One of my favorite features is the ability to cast the album art
> and track info to the Chromecast on my home theater TV. It's a great
> feature for laying back and streaming one of the Paradise Radio flac
> streams, which I often like to do, without having to constantly check my
> phone to see what artist/song is currently playing.

All very interesting! Looking forward to 4.0 :-)



*Server*rpi3 pCP7.0.1 LMS8.1.2
*Media*USB hard drive
*Lounge/dining areas*SBT > Denon AVR2113  > Bose Acoustimass10 / Krix
Seismix3 18" 300w RMS custom cinema sub (& AR 77XB t/table, Stanton
680MkII / Grado F-1+ > NAD7155 to phono pre-amp > Amp+)
*Family/kitchen*SBT > Denon AVRX3000 zone 1 > Krix Acoustix F, Centrix
C, Holographix R & Original Seismix 7 15" 400w RMS sub 
*Alfresco*as above zone 2 > Krix Tropix
*Others*SB Player/androids > Bose Soundlink Mini
*SBT/SB Player Remotes* Squeeze Ctrl/androids

DavidBulluss's Profile: http://forums.slimdevices.com/member.php?userid=60056
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


bpa wrote: 
> The URL I used Tune-in - plays OK outside of LMS and looks like an
> acceptable http/MPEG4 file - which is why I am curious why it fails so
> early (403 at initial fetch) in LMS when mixcloud URL is not installed.
> The mixcloud plugin regex grabs any mixcloud URL so no point testing
> with Tune-in if plugin is installed.
> 
> As I said I don't use mixcloud so it was a bit of random testing. Some
> stream were MP3 so I assume not all mixcloud streams have the same
> format and so mixed results are likely.
> 
> The half speed playback was happening when I was testing on DAC32.  I
> didn't look much further.

Oh, this sorry I should have mentionned: mixcloud does not like the
User-Agent of LMS, so it needs to be changes to something else. This is
the reason why this https generic link would work on your browser and
not when queried from LMS. To accept them, there should be a URL handler
from mixcloud for https://.mixcloud.com/... where domain is not
www so that we don not try to extract the usable https url from
mixcloud, but simply have a PH that replaces the UA. I'm not sure I'll
do that...



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


staresy wrote: 
> Hi Philippe,
> Successfully installed your latest mod but still no joy playing any
> mixcloud streams, I get the following error:
> 
> 34112
> 
> I'm not sure how "insecure HTTPS" is set as I can't see where to
> check/uncheck it.
> 
> Let me know if you want any log files to assist, and which ones.
> 
> Thanks

That's weird because I can play that track. Do you have your own key for
mixcloud (I don't)



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-07 Thread chaug


nickey wrote: 
> You must be running LMS on some pretty decent hardware...

LOL, never thought about that. It's a home server running a dozen docker
containers and two virtual machines, all on a Celeron G3930 CPU at 2.9
GHz. So nothing special but obviously a bit faster than a first gen Pi.



*Server*: LMS 8.8.1 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: Material Skin (Web UI), but also SqueezePad
(iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library

chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread staresy


Hi Philippe,
Successfully installed your latest mod but still no joy playing any
mixcloud streams, I get the following error:

34112

I'm not sure how "insecure HTTPS" is set as I can't see where to
check/uncheck it.

Let me know if you want any log files to assist, and which ones.

Thanks


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


location 1: lms 8.2 on win 10 brix server, x2 sb radios, x1 touch, x1
controller : location 2: lms 8.0 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-04-07 Thread Ron F.


cpd73 wrote: 
> Hmm... perhaps first, but not last. Reason being is its related to
> "Interface settings", so (to me at least) it should be close to that.Running 
> latest commit to master branch: I think definitely,
"Application" appearing first in the Settings sub-menu looks better and
makes more sense.



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite +
Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
*Bedroom:* RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink
Revolve
*Phone:* Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-04-07 Thread peterw


> I think we're probably talking about the same behavior, which is rooted
> in the fact that, under certain circumstances which are still unclear to
> me, an AVR in standby mode can go into a state where the only command it
> will respond to is a "PWON" (or "ZnON")

Except that you have to power cycle the AVR? Do you maintain a
persistent TCP connection or connect, send, process responses, and then
disconnect? Because my AVR will eventually (usually pretty soon) respond
to normal "?" query and other commands if I just disconnect my TCP
connection to the serial port server. (I have no idea if the 'ser2net'
serial port software maintains a connection to the RS232 port.)

SamY wrote: 
> I have always wanted to download your plugin and try it out for
> comparison, since it takes a much different approach in its design. One
> thing I like about this one is that there is no polling overhead
> involved. It functions as a true state machine and is completely idle
> during a long listening session, only waking up to process a registered
> player event received from LMS.

Don't let that stop you! "Enable Amp Status Polling" is a configurable
option (as is the frequency with which the amp is polled, and the
frequency can be different for active** and inactive modes). Turn amp
status polling off and it will still take action promptly when the LMS
player volume or muting or power state changes -- LMS just won't
recognize when somebody has used a Denon remote or the big volume knob
to change the AVR volume. 

I rely heavily on polling personally just because there's some
poltergeist in my home theater room repeating any Slim Devices code like
crazy. I spent a day swapping out SB3s, covering reflective surfaces,
etc., trying to identify what was IR-bombinng my player before giviing
up, turning off IR remote processing for the SB3, and switching the
universal remote to use the Denon IR commands.  But I also often
use a phone or tablet app to change the volume via LMS.

BTW, I've been thinking more about experimenting with your plugin
lately, too. I've had my AVR more than a decade but have only recently
been considering using the Quick Select buttons, spurred by this long
thread (which also got me to finally support muting, which I had
abandoned and forgotten after doing half the required work years ago). 

-Peter

** For my plugin, "active" apparently*** means "has seen a recognized IR
command recently" -- IIRC when I initially wrote this I saw that the SB3
recognized the raw IR command codes of some other devices (though it had
no mapping so didn't act on any of them), and thought if the SB3 saw
somebody interacting with someting like the TV, then it was pretty
likley that somebody was in the room and more likley than usual that
somebody would turn the AVR volume knob.

*** There's nothing quite like reading old source code to figure out
something you once knew but have completely forgotten!



owner of the stuff at https://tuxreborn.netlify.app/
(which used to reside at www.tux.org/~peterw/)
Note: The best way to reach me is email or PM, as I don't spend much
time on the forums.
*Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu
DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket
SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread bpa


philippe_44 wrote: 
> The URL in tune in probably did not work well, I've change that a bit as
> well. Now, according to what I see, it should not be the download url
> that you'd enter there, but more an URL you'd grab from
> www.mixcloud.com. It's probably doable to change the regex to accept
> any.
> Re half-speed, it might be an issue with the fact that MixCloud seems to
> use AAC SBR and not all decoder know how to read the header. As a
> result, you have the core samplerate returned to the player/LMS and it's
> 1/2 of speed.

The URL I used Tune-in - plays OK outside of LMS and looks like an
acceptable http/MPEG4 file - which is why I am curious why it fails in
LMS when mixcloud URL is not installed. The mixcloud plugin regex grabs
any mixcloud URL so no point testing with Tune-in if plugin is
installed.

As I said I don't use mixcloud so it was a bit of random testing. Some
stream were MP3 so I assume not all mixcloud streams have the same
format and so mixed results are likely.

The half speed playback was happening when I was testing on DAC32.  I
didn't look much further.



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

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


bpa wrote: 
> As a test, I set up a clean install of LMS 8.1.2 nightly with Mixcloud.
> Didn't change any default settings. No personal auth id.  Some MP4
> tracks without issue to both DAC32 and to a Radio
> 
> So FileType MPEG-4 is all default i.e. Native, faad/flac, faad/lame and
> faad.
> 
> For streams that plays OK on Radio - LMS  proxies https stream without
> any need to change default settings (i.e. Filetype is unchanged,
> insecure HTTPS is unchecked !)
> 
> Ones that worked OK 
> https://stream.btsstream.com:8012/dcfm.aac
> 
> It also seems to direct stream OK for another 
> > 
Code:

  >   > 
  > [21-04-07 10:48:32.1236] Slim::Player::Song::open (460) URL supports direct 
streaming 
[mixcloud://theresa-deane/ms-skyrym-sounds-03-04-2021/->mixcloudd://stream2.mixcloud.com/secure/c/m4a/64/9/9/7/3/90a7-4b3c-4930-ba14-56fe9e53907c.m4a?sig=JPjjUS_BpQRV8QB_jxOXyA]
  > 
  > 

> > 
> 
> However - some tracks fail. I found one track Classical/Fluidnation -
> which seemed to jam up the LMS/plugin.
> Another track (Jazz SaturdaySelects) plays at slow speed.
> 
> When I tried to play the URL I tested before using "Tune-in"
> https://stream6.mixcloud.com/secure/c/m4a/64/2/6/0/6/442f-d95a-4b49-a3a1-8c1c59ed1186.m4a?sig=oP6RGk-Bo-2rKvOpYVPOTQ
> 
> This cause problems with the mixcloud plugin - I'm guessing the plugin
> has hooks (maybe for metadata) and so mixcloud.com URL shouldn't be
> played via "Tune-in" or Favorites
> 
> I think this means the MP4 issue is OK and the LMS 8.* is prbably OK.
> However the plugin itself may need more work to be reliable.

The URL in tune in probably did not work well, I've change that a bit as
well. Now, according to what I see, it should not be the download url
that you'd enter there, but more an URL you'd grab from
www.mixcloud.com. It's probably doable to change the regex to accept
any.
Re half-speed, it might be an issue with the fact that MixCloud seems to
use AAC SBR and not all decoder know how to read the header. As a
result, you have the core samplerate returned to the player/LMS and it's
1/2 of speed.



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


staresy wrote: 
> Hi Philippe, thanks for looking into this.
> 
> I'm happy to test your modifications, but will need a little bit of hand
> holding to advise what files to download/install etc. If you can give me
> a pointer I'll happily give it a go.
> 
> My system is Win10, LMS 8.2.0 - 1617564089, no playmp4, no ffmpeg,
> mixcloud 0.4
> 
> Am happy to revert to 8.1 if required to test, just let me know which
> version.
> 
> Thanks

It's still wip but you can use the attached file and unzip it in
c:\ProgramData\squeezeboxserver\Cache\InstalledPlugins\Plugins\MixCloud
(erase everything in it at this point). LMS 8.2 is fine, all what is
needed is 8.1.1 or later


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


LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread staresy


philippe_44 wrote: 
> Did you try the PR on GitHub or the file I posted earlier? Because that
> ProtocolHandler.pm was missing a few things so the PR should be used. I
> can post here again the correct file.

Hi Philippe, thanks for looking into this.

I'm happy to test your modifications, but will need a little bit of hand
holding to advise what files to download/install etc. If you can give me
a pointer I'll happily give it a go.

My system is Win10, LMS 8.2.0 - 1617564089, no playmp4, no ffmpeg,
mixcloud 0.4

Am happy to revert to 8.1 if required to test, just let me know which
version.

Thanks



location 1: lms 8.2 on win 10 brix server, x2 sb radios, x1 touch, x1
controller : location 2: lms 8.0 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control

staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-04-07 Thread cpd73


Ron F. wrote: 
> Master branch: when using the APK, the additional settings choice,
> "Application" comes up inserted between "Interface" and "Player"
> settings. Since Interface, Player, and Server settings normally appear
> in that order outside the APK, I feel it would be more appropriate if
> the Application menu item were to be first or even last in the settings
> sub-menu. It could just be OCD acting up again ... not sure.

Hmm... perhaps first, but not last. Reason being is its related to
"Interface settings", so (to me at least) it should be close to that.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.

cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] LmsUpdate and LmsRepack - Synology 8.0.* packages

2021-04-07 Thread dingosurf


marc wrote: 
> My Synolgy Language is German, so you might need to read between the
> lines.
> 
> On Synology NAS NFS of shared folder:
> In NFS whole domain *
> Squash assign all users as admins
> 
> Regards
> Jacob

Thanks so much for everyone's posts.  I have no idea what I am doing
with this stuff, but now have my Squeezebox working again.  After the
initial excitement of installing Docker and then getting LMS to open, it
was really aggravating to not be able to find my music.  I have no idea
what NFS does, and what repercussions giving my family read/write will
do, but at least I didn't have to try to switch to some other platform. 
Thanks again!

doug



dingosurf's Profile: http://forums.slimdevices.com/member.php?userid=30521
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

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


Re: [SlimDevices: Plugins] Jazz Groove Support

2021-04-07 Thread dborod


dborod wrote: 
> Hi,
> 
> I have a premium plus membership but I'm not seeing any metadata
> (artist, title, album, year) displayed when I play my customized stream
> URLs. Are other people seeing this data? If so, how?

The expanded URLs that their UI offers up to copy and use in LMS are of
the form:

hxxps://streams.radiomast.io/?no-icy-metadata=1=-xxx

If one edits it instead to be

hxxps://streams.radiomast.io/?icy-metadata=1=-xxx

Then there is metadata included in the stream.



dborod's Profile: http://forums.slimdevices.com/member.php?userid=21049
View this thread: http://forums.slimdevices.com/showthread.php?t=111294

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-04-07 Thread Ron F.


Master branch: when using the APK, the additional settings choice,
"Application" comes up inserted between "Interface" and "Player"
settings. Since Interface, Player, and Server settings normally appear
in that order outside the APK, I feel it would be more appropriate if
the Application menu item were to be first or even last in the settings
sub-menu. It could just be OCD acting up again ... not sure.



*Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU >
VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans
cables > B 804 speakers
*Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite +
Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
*Bedroom:* RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink
Revolve
*Phone:* Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
*Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-04-07 Thread SamY


peterw wrote: 
> I've seen something similar, but far more frequently, sometimes just a
> small number of minutes apart and while the AVR was powered on.
> 
> It's been so long since I dealt with this, but several versions back in
> my DenonSerial plugin I added logic to clear my command queue and close
> my TCP or serial connection for any given AVR if LMS had sent a command
> but had not seen a response in the last 10 seconds -- once that much
> time had elapsed, I knew not to expect a response. 
> 
> In January 2021, my 10 second timeout was reached only four times, and I
> think back then I had the same basic configuration as today, with LMS
> polling my AVR every 30 seconds (commands MV?, SI?, and PW? since I use
> the master zone). In previous months I've seen timeouts more frequently,
> but I expect that's because in the past I sent more commands (I used to
> control home theater volume by sending Slim Devices codes to my SB3 and
> relying on LMS + DenonSerial to relay those to the AVR, but now in the
> home theater our normal IR remote sends Denon commands and we rely on
> the every-30-second polling to let LMS know about the change.)
> Unfortunately I have not been logging the specific commands I've been
> sending, even in these hang situations.
> 
> I'm using an AVR 2309CI which only has an RS232 port, so I have a
> Raspberry Pi running 'ser2net' on Raspbian to allow me to communicate
> with the AVR over basic TCP.

Interesting info, Peter. I think we're probably talking about the same
behavior, which is rooted in the fact that, under certain circumstances
which are still unclear to me, an AVR in standby mode can go into a
state where the only command it will respond to is a "PWON" (or "ZnON").
Since our plugin requires a response to an initial "PW?" query in order
to proceed, it just fails in this situation. My fix simply traps the
timeout failure on the "PW?" command and treats it as though it has
received a "PWSTANDBY" response, continuing from there with the power on
and quick select logic. I have been able to test it and, after a little
fiddling, it is working great.

I have always wanted to download your plugin and try it out for
comparison, since it takes a much different approach in its design. One
thing I like about this one is that there is no polling overhead
involved. It functions as a true state machine and is completely idle
during a long listening session, only waking up to process a registered
player event received from LMS.



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] Announce: Denon AVP Control Plugin

2021-04-07 Thread SamY


DavidBulluss wrote: 
> It probably does bother me as much as you, needless trips to that part
> of the house to turn the amp on and off! I have always assumed it was to
> do with the wifi in the amp needing livening up or something
> non-technical like that. Look forward to hearing if it does it again in
> your system ;-)

Good news! I was able to re-create the situation with my fix applied and
it worked like a champ.  It will be included in v4.0.  No more needless
trips through the house to fiddle with the AVR, David. You will finally
be able to achieve true "couch potato" nirvana.  ;-)

In other good news, I have been talking to the author of the Squeeze
Ctrl app about adding support for muting in the UI.  While he informed
me that there is more extensive functionality for muting in the Windows
10 version of the app (a separate purchase on the Microsoft Store), he
also indicated that a player can be muted and unmuted on the "Manage
Players" screen of the Android app by clicking on the speaker button,
which is directly under the power button. Sure enough, it works great.
Another thing I discovered on my own is that it is also possible to
trigger the "hardware muting" plugin function from the "Now Playing"
screen by pressing the "volume down" and "volume up" buttons in quick
(within 0.25 secs) succession. I'm really loving the Squeeze Ctrl app,
btw. One of my favorite features is the ability to cast the album art
and track info to the Chromecast on my home theater TV. It's a great
feature for laying back and streaming one of the Paradise Radio flac
streams, which I often like to do, without having to constantly check my
phone to see what artist/song is currently playing.



Sam

SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

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


Re: [SlimDevices: Plugins] ANNOUNCE: YouTube Plugin (API v3)

2021-04-07 Thread nickey


chaug wrote: 
> 
> 
> I think it took less than 15 seconds 

You must be running LMS on some pretty decent hardware...the upgrade
took several *minutes* on my first generation raspberry pi. :cool:



nickey's Profile: http://forums.slimdevices.com/member.php?userid=55348
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


Did you try the PR on GitHub or the file I posted earlier? Because that
ProtocolHandler.pm was missing a few things so the PR should be used. I
can post here again the correct file.



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Trackstat statistics and Spotty content

2021-04-07 Thread erland

mherger wrote: 
> > Isn't the problem more that things like "Last Played" and "Playcount"
> > are not stored in the database for online tracks?
> 
> I think you're right! The RemoteTrack class overrides the persistent 
> data handling with empty stubs. I'll have to figure out how I can better
> 
> handle this.

I guess the following if statement only updating lastPlayed/play counts
if isFile returns true is likely to cause issues ?
https://github.com/erland/lms-trackstat/blob/fe583776eafce682086a0cc2731a8676b67652f6/src/Plugin.pm#L4259

And the following code will likely not work if persistent handling isn’t
implemented for remote tracks:
https://github.com/erland/lms-trackstat/blob/fe583776eafce682086a0cc2731a8676b67652f6/src/Plugin.pm#L5000

I suspect there are more issues than these in the plugin code so it
might not be worth the time to fix issues in LMS core unless someone
also is willing to fix the issues in the plugin.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
Developer of 'many plugins/applets'
(https://wiki.slimdevices.com/index.php/User_Erland.html)
*Starting with LMS 8.0 I no longer support my plugins/applets* ('see
here for more information'
(https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836)
)

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=114317

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


Re: [SlimDevices: Plugins] [Announce] LMS-lite certified Smart Home skill for Alexa

2021-04-07 Thread philchillbill


https://forums.slimdevices.com/showthread.php?113966-Announce-Easy-ngrok-setup-for-MediaServer-amp-LMS-lite-Alexa-skills=1017968=1#post1017968



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111443

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


Re: [SlimDevices: Plugins] [Announce] 'MediaServer' *certified* Alexa skill for LMS

2021-04-07 Thread philchillbill


https://forums.slimdevices.com/showthread.php?113966-Announce-Easy-ngrok-setup-for-MediaServer-amp-LMS-lite-Alexa-skills=1017968=1#post1017968



philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

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


Re: [SlimDevices: Plugins] [Announce] Easy ngrok-setup for MediaServer & LMS-lite Alexa skills

2021-04-07 Thread philchillbill


Amazon is trying to make skill setup and account-linking easier, and a
while back they introduced so-called *app-to-app* account linking. The
idea is that you don't have to visit the Alexa app or web-portal to
perform account-linking, but instead can do it from the app or website
of the skill author.

I now have it live for both skills and links are available in the online
setup-help pages that will automatically perform account-linking for
you. There's no more need to paste your ngrok URL and chosen credentials
into the landing page at the Alexa portal. Instead you will log in to
your regular Amazon account (if you still have a valid cookie from the
last time you logged in then you won't even need to do this) and
authorize Amazon to link the skill(s) in question by just clicking on a
pop-up.

It's a complicated flow under the hood with 3 different bouts of oauth2
to-and-fro-ing but it's very secure and worked well in my testing.
MediaServer has now been upgraded to use full authorization code grant
instead of implicit tokens (LMS-lite already had that).

If you encounter any problems, please report them here as I will not see
anything in the skill logs to indicate failed attempts.

This is as easy as skill setup will ever get until Amazon releases the
promised capability to use an Echo as a native proxy device inside your
LAN (announced last Sept as 'coming soon') :cool:


34110


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


philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=113966

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


Re: [SlimDevices: Plugins] Spotty - 'stalled' stream

2021-04-07 Thread jepege


mherger wrote: 
> > Slim::Player::StreamingController::_playersMessage (796) Probleem:
> Kan
> > bestand niet openen voor:: spotify:track:63rTTYYRQUMK2JZIJ6pwXz
> 
> Interesting: this track would indeed not play ("Komodo" by "JF 
> Sebastien"). But spotty would skip right over it here.
> 
> I'll see why it's even showing up, as non playable items should not be 
> shown in Spotty.
> 
> -- 
> 
> Michael

Spotty never checks if a song is playable. In this case the song is not
playable due to market restrictions. 
I have made a fix in the code of API/Sync.pm to solve this issue:


sub playlistTrackIDs {
my ($self, $id, $getFullData) = @_;

my $offset = 0;
my $tracks;

do {
my $params = {
*market => 'from_token',*
offset => $offset,
limit => SPOTIFY_PLAYLIST_TRACKS_LIMIT,
};

$params->{fields} = 'next,items(track(uri*,restrictions*))' if
!$getFullData;

my $response = $self->_call("playlists/$id/tracks", $params);

$offset = 0;

if ( $response && $response->{items} && ref $response->{items} 
) {
push @$tracks, map {
$libraryCache->normalize($_->{track}) if 
$getFullData;
$_->{track}->{uri};
} grep {
$_->{track} && ref $_->{track} && 
$_->{track}->{uri} &&
$_->{track}->{uri} =~ /^spotify:(episode|track):/*  &&
!$_->{track}->{restrictions}*
} @{$response->{items}};
($offset) = $response->{'next'} =~ /offset=(\d+)/;
}
} while $offset && $offset < SPOTIFY_MAX_LIMIT;

return $tracks;
}

JP



jepege's Profile: http://forums.slimdevices.com/member.php?userid=41763
View this thread: http://forums.slimdevices.com/showthread.php?t=112588

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread bpa


As a test, I set up a clean install of LMS 8.1.2 nightly with Mixcloud.
Didn't change any default settings. No personal auth id.  Some MP4
tracks without issue to both DAC32 and to a Radio

So FileType MPEG-4 is all default i.e. Native, faad/flac, faad/lame and
faad.

For streams that plays OK on Radio - LMS  proxies https stream without
any need to change default settings (i.e. Filetype is unchanged,
insecure HTTPS is unchecked !)

Ones that worked OK 
https://stream.btsstream.com:8012/dcfm.aac

It also seems to direct stream OK for another 

Code:


  [21-04-07 10:48:32.1236] Slim::Player::Song::open (460) URL supports direct 
streaming 
[mixcloud://theresa-deane/ms-skyrym-sounds-03-04-2021/->mixcloudd://stream2.mixcloud.com/secure/c/m4a/64/9/9/7/3/90a7-4b3c-4930-ba14-56fe9e53907c.m4a?sig=JPjjUS_BpQRV8QB_jxOXyA]
  
  



However - some tracks fail. I found one track Classical/Fluidnation -
which seemed to jam up the LMS/plugin.
Another track (Jazz SaturdaySelects) plays at slow speed.

When I tried to play the URL I tested before using "Tune-in"
https://stream6.mixcloud.com/secure/c/m4a/64/2/6/0/6/442f-d95a-4b49-a3a1-8c1c59ed1186.m4a?sig=oP6RGk-Bo-2rKvOpYVPOTQ

This cause problems with the mixcloud plugin - I'm guessing the plugin
has hooks (maybe for metadata) and so mixcloud.com URL shouldn't be
played via "Tune-in" or Favorites

I think this means the MP4 issue is OK and the LMS 8.* is prbably OK.
However the plugin itself may need more work to be reliable.



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

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


Re: [SlimDevices: Plugins] LmsUpdate and LmsRepack - Synology 8.0.* packages

2021-04-07 Thread Wuthoqquan


MichaelFFM wrote: 
> Hi, some more Information.
> 
> Iam currently running LMS 8.0.1 and also i updated DSM to 6.2.4. but
> nothing changes when i try to install LMS 8.1.1 same error message. So
> we have to wait of answer from Pinkdot or others.
> 
> Best regards
> 
> Michael

As per my previous posts yesterday, I've recently updated the Logitech
Media Server on my Synology DS218+ to version 8.0.0-1605892076.

However, it looks like that at some point in time a version 8.0.1 for
x86_64 based systems was indeed released, as follows:

LogitechMediaServer-x86_64-8.0.1-1607087403.spk

However, the above version is not available on the official Pinkdot
repository (https://pinkdot.myds.me/sspks/?fulllist=true)

Additionally, I'm still not able to update to the latest 8.1.1 build,
which cannot be installed on my DS218+, since I still get an error
message about an alleged incompatibility with the current DSM version.
Not sure why this is happening hence why I was trying to locate the
file for the small update (possibly just a bug fix release?) to the
8.0.1 version.

Any hints/advices?



Wuthoqquan's Profile: http://forums.slimdevices.com/member.php?userid=71629
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

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


Re: [SlimDevices: Plugins] Trackstat statistics and Spotty content

2021-04-07 Thread Michael Herger

Isn't the problem more that things like "Last Played" and "Playcount"
are not stored in the database for online tracks?


I think you're right! The RemoteTrack class overrides the persistent 
data handling with empty stubs. I'll have to figure out how I can better 
handle this.

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


Re: [SlimDevices: Plugins] LmsUpdate and LmsRepack - Synology 8.0.* packages

2021-04-07 Thread slartibartfast


ggravier wrote: 
> Ah cool! Thanks. For some reason, the pinkdot.myds.me URL wasn't working
> either, some time ago, so I had reverted to the SourceForge repo... :)
> Glad to see at least there's s source up.
> 
> Now these are for PERL up to 5.24. I hope we'll soon get a 8.1.2 or even
> 8.2 for more recent PERL versions...
> 
> Cheers,
> GillesYou can hope but I think perl 5.24 is the end of the line as far as LMS
builds for Synology go. You have missed a lot in your time away from the
forum [emoji3]
Docker is the solution if your NAS is compatible or go the Raspberry Pi
route.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread cortegedusage


philippe_44 wrote: 
> Latest nightly of 8.1.x will be better but it look more like a SSL
> issue. Can you try disabling requirement for cert verification
> (settings, advanced, security, insecure https)

hmm then it still won't play.
(signing off for now, real life is calling (actually real life is 3y old
and redecorating my living room as we speak))

cheers



cortegedusage's Profile: http://forums.slimdevices.com/member.php?userid=69028
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


cortegedusage wrote: 
> no 8.1.1 should I update?

Latest nightly of 8.1.x will be better but it look more like a SSL
issue. Can you try disabling requirement for cert verification
(settings, advanced, security, insecure https)



LMS 8.1.x on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet,
1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi,
Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Trackstat statistics and Spotty content

2021-04-07 Thread rlem


Hi Erland & Michael,

I've been thinking about this case & am not sure if the fault really
lies in Trackstat mishandling online tracks, because they are picked up
perfectly in the Trackstat XML -including - ratings (as you can see in
my screenshot above).
Isn't the problem more that things like "Last Played" and "Playcount"
are not stored in the database for online tracks?
Because those are missing when I compare the info from the Song Info
screen in the LMS UI:

LOCAL TRACK:

34107

*Spotify track in my library, but without Last Played and Playcount*:

34108

Or are they added by TrackStat?
Anyway, Ratings Light installed fine (hence the double ratings in the
screenshots) & looks very promising!

Thanks,
Randy


+---+
|Filename: b. Spotify track (in library).PNG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34108|
+---+


1x Classic / 2x Radio / 2x Receiver / LMS 8.0.0 - 1603862260 on HP
Proliant N54L with Ubuntu 16.04 LTS
http://www.last.fm/user/rndr

rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931
View this thread: http://forums.slimdevices.com/showthread.php?t=114317

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread philippe_44


cortegedusage wrote: 
> Wow! that was quick!
> I actually don't know how to get this from github. I've replaced the
> ProtocolHandler.pm in the mixcloud plugin folder, I'm assuming that
> would do the trick right?
> 
> But, it still doesn't work... lms seems to display the actual codec
> values: 65kbps, 22.05kHz, MP4 (which before was 70 and 44.1khz
> 
> but it won't play.
> if I set file types to convert mpeg4 to flac (to force it to proxy) I
> get the following logs.
> 
> > 
Code:

  >   > 
  > [21-04-07 08:35:00.6313] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(134) Mixcloud URL from downloader: 
https://stream2.mixcloud.com/secure/c/m4a/64/a/1/1/a/f0ff-c738-4016-83b7-46440686e398.m4a?sig=YDj4PBtigfOplPHqIbtgdA
  > [21-04-07 08:35:00.6328] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(151) updating mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6361] Slim::Player::StreamingController::stop (2117) 
00:04:20:23:d8:ac
  > [21-04-07 08:35:00.6369] Slim::Player::StreamingController::resetSongqueue 
(1796) Song queue is now 
  > [21-04-07 08:35:00.6395] Slim::Player::StreamingController::play (2120) 
00:04:20:23:d8:ac
  > [21-04-07 08:35:00.6410] 
Slim::Player::StreamingController::_setPlayingState (2377) new playing state 
STOPPED
  > [21-04-07 08:35:00.6417] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  > [21-04-07 08:35:00.6432] Slim::Player::Song::new (109) index 0 -> 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6445] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  > [21-04-07 08:35:00.6454] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6466] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6476] Slim::Player::StreamingController::_playersMessage 
(796) Getting stream info...: mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6495] Slim::Player::Song::getNextSong (223) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6501] Slim::Player::Song::getNextSong (245) scanning URL 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6508] Slim::Player::Song::getNextSong (223) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6513] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(113) Fetching Trackhome: DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6520] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(119) Got play URL from cache, not retrieving again
  > [21-04-07 08:35:00.6525] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(151) updating mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6534] Plugins::MixCloud::ProtocolHandler::getNextTrack 
(81) formaturl: 
https://stream2.mixcloud.com/secure/c/m4a/64/a/1/1/a/f0ff-c738-4016-83b7-46440686e398.m4a?sig=YDj4PBtigfOplPHqIbtgdA
  > [21-04-07 08:35:00.6564] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6637] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6772] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.6828] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.7571] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.7591] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.8324] Slim::Player::StreamingController::_nextTrackReady 
(744) 00:04:20:23:d8:ac: nextTrack will be index 0
  > [21-04-07 08:35:00.8330] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 0
  > [21-04-07 08:35:00.8335] Slim::Player::StreamingController::_Stream (1213) 
00:04:20:23:d8:ac: preparing to stream song index 0
  > [21-04-07 08:35:00.8340] Slim::Player::Song::open (360) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  > [21-04-07 08:35:00.8346] Slim::Player::Song::open (384) seek=false time=0 
canSeek=1
  > [21-04-07 08:35:00.8362] Slim::Player::TranscodingHelper::checkBin (297)
couldn't find binary for: lame
  > [21-04-07 08:35:00.8367] 
Slim::Player::TranscodingHelper::getConvertCommand2 (485) Error: Didn't find 
any command matches for type: mp4
  > [21-04-07 08:35:00.8378] 

Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread cortegedusage


philippe_44 wrote: 
> Do you have LMS 8.1.2?

no 8.1.1 should I update?



cortegedusage's Profile: http://forums.slimdevices.com/member.php?userid=69028
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] LmsUpdate and LmsRepack - Synology 8.0.* packages

2021-04-07 Thread ggravier


Wuthoqquan wrote: 
> Gone on Sourceforge, but you can find all the latest releases on the
> official repository:
> 
> https://pinkdot.myds.me/sspks/

Ah cool! Thanks. For some reason, the pinkdot.myds.me URL wasn't working
either, some time ago, so I had reverted to the SourceForge repo... :)
Glad to see at least there's s source up.

Now these are for PERL up to 5.24. I hope we'll soon get a 8.1.2 or even
8.2 for more recent PERL versions...

Cheers,
Gilles



ggravier's Profile: http://forums.slimdevices.com/member.php?userid=17196
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread cortegedusage


Paul Webster wrote: 
> What version of LMS are you running?

Version: 8.1.1 - 1610364019



cortegedusage's Profile: http://forums.slimdevices.com/member.php?userid=69028
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread Paul Webster


What version of LMS are you running?



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=88286

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


Re: [SlimDevices: Plugins] Mixcloud plugin?

2021-04-07 Thread cortegedusage


philippe_44 wrote: 
> I've submitted a PR here
> https://github.com/danielvijge/lms_mixcloud/pull/13 to make it use the
> right features of LMS 8.x (8.1 really). It might help at least with mp4
> handling. It also provides seeking in mp4.

Wow! that was quick!
I actually don't know how to get this from github. I've replaced the
ProtocolHandler.pm in the mixcloud plugin folder, I'm assuming that
would do the trick right?

But, it still doesn't work... lms seems to display the actual codec
values: 65kbps, 22.05kHz, MP4 (which before was 70 and 44.1khz

but it won't play.
if I set file types to convert mpeg4 to flac (to force it to proxy) I
get the following logs.


Code:


  [21-04-07 08:35:00.6313] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(134) Mixcloud URL from downloader: 
https://stream2.mixcloud.com/secure/c/m4a/64/a/1/1/a/f0ff-c738-4016-83b7-46440686e398.m4a?sig=YDj4PBtigfOplPHqIbtgdA
  [21-04-07 08:35:00.6328] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(151) updating mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6361] Slim::Player::StreamingController::stop (2117) 
00:04:20:23:d8:ac
  [21-04-07 08:35:00.6369] Slim::Player::StreamingController::resetSongqueue 
(1796) Song queue is now 
  [21-04-07 08:35:00.6395] Slim::Player::StreamingController::play (2120) 
00:04:20:23:d8:ac
  [21-04-07 08:35:00.6410] Slim::Player::StreamingController::_setPlayingState 
(2377) new playing state STOPPED
  [21-04-07 08:35:00.6417] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state IDLE
  [21-04-07 08:35:00.6432] Slim::Player::Song::new (109) index 0 -> 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6445] 
Slim::Player::StreamingController::_setStreamingState (2386) new streaming 
state TRACKWAIT
  [21-04-07 08:35:00.6454] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6466] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6476] Slim::Player::StreamingController::_playersMessage 
(796) Getting stream info...: mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6495] Slim::Player::Song::getNextSong (223) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6501] Slim::Player::Song::getNextSong (245) scanning URL 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6508] Slim::Player::Song::getNextSong (223) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6513] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(113) Fetching Trackhome: DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6520] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(119) Got play URL from cache, not retrieving again
  [21-04-07 08:35:00.6525] Plugins::MixCloud::ProtocolHandler::getTrackUrl 
(151) updating mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6534] Plugins::MixCloud::ProtocolHandler::getNextTrack 
(81) formaturl: 
https://stream2.mixcloud.com/secure/c/m4a/64/a/1/1/a/f0ff-c738-4016-83b7-46440686e398.m4a?sig=YDj4PBtigfOplPHqIbtgdA
  [21-04-07 08:35:00.6564] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6637] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6772] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.6828] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.7571] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.7591] Plugins::MixCloud::ProtocolHandler::getMetadataFor 
(160) getting mixcloud_meta_mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.8324] Slim::Player::StreamingController::_nextTrackReady 
(744) 00:04:20:23:d8:ac: nextTrack will be index 0
  [21-04-07 08:35:00.8330] Slim::Player::StreamingController::_Stream (1210) 
Song queue is now 0
  [21-04-07 08:35:00.8335] Slim::Player::StreamingController::_Stream (1213) 
00:04:20:23:d8:ac: preparing to stream song index 0
  [21-04-07 08:35:00.8340] Slim::Player::Song::open (360) 
mixcloud://DJDennisWahDiddy/go-wild-boogaloo-baby/
  [21-04-07 08:35:00.8346] Slim::Player::Song::open (384) seek=false time=0 
canSeek=1
  [21-04-07 08:35:00.8362] Slim::Player::TranscodingHelper::checkBin (297)
couldn't find binary for: lame
  [21-04-07 08:35:00.8367]