[SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-05-17 Thread mherger

Ok, you're curious. But are you willing to fail? If not: don't continue
:-)

Here's Spotty, my not fully fleshed out potential next generation
Spotify implementation for Squeezebox. In its current form it's a
protocol handler only. What does that mean? You're going to continue to
use the Spotify app provided by mysb.com, but the plugin will take care
of playing back content to your devices. As such it replaces my Spotify
Protocol Handler plugin, which is based on the long deprecated
libspotify.

Spotty is using the open-source librespot library
(https://github.com/plietar/librespot). That library is implemented in a
programming language I didn't even know before (Rust). So please prepare
for failure and longish bugfix cycles :-). If you're ready to take the
risk, here you go:


- Add http://www.herger.net/slim-plugins/test.xml to the plugins
  repository list
- Install Spotty
- Uninstall the Spotify Protocol Handler and Triode's Spotify plugins
  (if installed)
- Restart LMS
- Go to Settings/Advanced/Spotty and follow the instructions
- Use Spotify on SB as before.
  

On platforms other than Windows you should be able to authorize the
plugin using your mobile or desktop Spotify application. On Windows
unfortunately you'll have to enter username/password (which are NOT
stored in LMS).

My kids have been using this plugin for a few weeks now, for hours a
day. It sometimes takes a tad longer to buffer the first track. But
after that playback seems to be pretty gapless. It does seeking. Doesn't
crash when skipping tracks. Isn't limited to a single device. Let's keep
fingers crossed it continues to work post Fall '17...

Technically this implementation follows a pretty different approach than
the old implementations. Rather than having a daemon run in the
background, Spotty is running the helper app for every track. It uses
the transcoding framework to pipe the audio data back in to LMS, very
much like any file format would do which required transcoding. By
default Spotty would stream audio as FLAC. But this can be changed in
the file formats settings (PCM or mp3). My office LMS is running on a
piCorePlayer based Pi3 installation. CPU load is well below 10% during
playback. 

There are binaries for MacOS, Windows (needs MS VC 2015 runtime), and
some Linux flavors (i686, x86_64, ARM HF & SF). I would be surprised if
they worked all, though :-/. In particular the arm build has seen little
to no testing. It fails on piCorePlayer running on a Pi B, but does work
on the same hardware using Raspbian. It fails on my ReadyNAS Duo v2 lack
of some dependencies. The list continues... Please report back your
"uname -a" if you fail on Linux. Thanks!



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Bands Campout - Error Retrieving My Collection

2017-05-17 Thread Michael Herger

[17-05-17 20:52:00.0561] Plugins::Bandcamp::Scraper::get_fan_page (63)
Getting fan page for: [Username Deleted for Posting]


Your username is NOT the email address you might use to log in to 
bandcamp.com. But rather the name used in the URL when you're logged in. 
Just log in and go to your profile. Then check out the URL in your 
browser. It'll be https://bandcamp.com/{username} - and that username is 
what you should be using.


--

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


Re: [SlimDevices: Plugins] Spotify incoming IP addresses for LMS?

2017-05-17 Thread Michael Herger

In LMS, under Advanced > Security.


Oh, in LMS itself? Hmm... I'm surprised the helper would need to talk to 
LMS. But if that's the case: enter your server's IP address, or 
127.0.0.1. The helper is running on the same machine as LMS.


--

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


Re: [SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)

2017-05-17 Thread philippe_44

epoch1970 wrote: 
> Installing 0.2.2.6.4 now. With clean config. And we are green for go,
> logging everything...
> 
> EDIT. I got it again. This time I was skipping (slowly) from song to
> song, in order to find the last one of the evening. After 2 or 3 skips,
> the Zipp volume dropped to 0.
> I have saved the log (404835 lines) and will have a look tomorrow.

I've tried to reproduce that with 2 AirPlay devices in sync but did not
succeed. I noticed that when players are sync'd, from time to time, LMS
sends a serie of 3 volume commands in a few ms: nominal, mute, nominal,
but this did not create an issue on my setup. This explains the strange
log I saw on yours, but this is just a logging problem when volume
changes really fast. 

Detailed explanation is:

- volume commands received from LMS are memorized in player's context
and then queued to be processed later in a special airplay command
thread. 
- log is made in the airplay thread, when processing the commands,
displaying the player's context volume and the requested value in the
queue

- When command #1 arrives with volume 20, context's volume is set with
20 and 20 is also put in the queue
- Normally, command #1 is processed and logs says 20 in context's volume
and 20 in de-queued command: all good
- if command #2 arrives with volume 0 *before* command #1 is processed
in airplay thread, context's volume is set with 0 and 0 is put int the
queue
- then command #1 is dequeued and logs says: context's volume is 0 and
de-queued volume is 20: inconsistent log
- then command #2 is dequeued and log says: context's volume is 0 and
de-queued volume is 0

Confusing log but not a bug, the proper volume is always set. There is a
potential rare race issue when you use the new "trigger" option, I could
solve it with more mutexes, but I have to admit that this is a really
rare issue



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express

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

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


[SlimDevices: Plugins] Bands Campout - Error Retrieving My Collection

2017-05-17 Thread ChrisNY

Hello,
I am receiving the following error when trying to access my Bandcamp
Collection:
[17-05-17 20:52:00.0561] Plugins::Bandcamp::Scraper::get_fan_page (63)
Getting fan page for: [Username Deleted for Posting]
[17-05-17 20:52:00.0574] Plugins::Bandcamp::Scraper::_get (632) GETting
http://bandcamp.com/[Username Deleted for Posting]
[17-05-17 20:52:01.1868] Plugins::Bandcamp::Scraper::__ANON__ (81)
Failed to parse JSON - falling back to HTML: , or } expected while
parsing object/hash, at character offset 9359 (before "(end of string)")
at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Bandcamp/Scraper.pm
line 79.
[17-05-17 20:52:01.1997] Plugins::Bandcamp::Scraper::__ANON__ (665) []

I've double checked that I can access my bandcamp page with the username
I have in place for the plugin.

Any ideas?  Let me know if there's any other log info which would be
helpful.

Thanks,

-Chris



ChrisNY's Profile: http://forums.slimdevices.com/member.php?userid=5004
View this thread: http://forums.slimdevices.com/showthread.php?t=107417

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


Re: [SlimDevices: Plugins] Spotify incoming IP addresses for LMS?

2017-05-17 Thread Harlock

In LMS, under Advanced > Security.

Options:
Block Incoming Connections
Allowed IP Addresses



Harlock's Profile: http://forums.slimdevices.com/member.php?userid=66892
View this thread: http://forums.slimdevices.com/showthread.php?t=107404

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


Re: [SlimDevices: Plugins] Synology 7.9.1 packages

2017-05-17 Thread Cut-Throat

I am looking at various Synology NAS systems, but I am wondering which
models will work with LmsRepack?

I am looking at the DS216i+ll and the DS916+ and wondering if they will
support LmsRepack?

Can someone clarify for me, how can you tell which units will work?



Cut-Throat's Profile: http://forums.slimdevices.com/member.php?userid=43167
View this thread: http://forums.slimdevices.com/showthread.php?t=107180

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


Re: [SlimDevices: Plugins] Nominations for Recommended 3rd Party Plugins

2017-05-17 Thread mherger

marcoc1712 - I got it. I know you and your friends like your plugin.
Alas: there's no longer a recommended plugins list...



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=56928

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


Re: [SlimDevices: Plugins] ANNOUNCE: Alexa voice control (development thread)

2017-05-17 Thread meep

ToBicK9 wrote: 
> Hi,
> 
> i'd love to test your Alex skill!
> 
> I run Squeezebox in three different rooms on Raspberry Pi's.
> 
> ...somehow my account after three days is still not fully unlocked so i
> can't write an PM - is there any other way to write you my data?
> 
> Thanks!
> Tobias

Hi Tobias

Send the email address you used to set up your Amazon developer account
to admin at hab-tunes.com

We're currently in the throes of testing v0.2.0.2 which still has some
stability issues. Once I get that sorted, I'll extend invites to the
people who've offered to help test in the past days.

Peter



ALEXA LMS SKILL: http://www.hab-tunes.com | Twitter: '#habtunes'
(https://twitter.com/search?q=%23habtunes=typd=en)
Personal HA BLOG: http://mediaserver8.blogspot.com 

Squeezebox | Squeezebox Radio x 2  | Squeezebox Duet

meep's Profile: http://forums.slimdevices.com/member.php?userid=12744
View this thread: http://forums.slimdevices.com/showthread.php?t=106569

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


Re: [SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)

2017-05-17 Thread epoch1970

Installing 0.2.2.6.4 now.



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198

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


Re: [SlimDevices: Plugins] Nominations for Recommended 3rd Party Plugins

2017-05-17 Thread bigtube

C-3PO transcoding helper



bigtube's Profile: http://forums.slimdevices.com/member.php?userid=66901
View this thread: http://forums.slimdevices.com/showthread.php?t=56928

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


Re: [SlimDevices: Plugins] ANNOUNCE: Alexa voice control (development thread)

2017-05-17 Thread ToBicK9

Hi,

i'd love to test your Alex skill!

I run Squeezebox in three different rooms on Raspberry Pi's.

...somehow my account after three days is still not fully unlocked so i
can't write an PM - is there any other way to write you my data?

Thanks!
Tobias



ToBicK9's Profile: http://forums.slimdevices.com/member.php?userid=66895
View this thread: http://forums.slimdevices.com/showthread.php?t=106569

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


Re: [SlimDevices: Plugins] Qobuz.com streaming plugin

2017-05-17 Thread JG Naum

mherger wrote: 
> > I think that's done : If I select an album with Qobuz api, it works
> > perfectly. But my daughters put some Qobuz tracks in "Favorites" few
> > years ago and when you select them and try to play, the server send
> > messages in a loop. If you stop the server and restart the server with
> > the track on the platine, the messages start again...
> 
> Ok, please update the plugin now! I was able to reproduce your issue 
> with the previous build. But ONLY using your ancient 7.8.1 at the same 
> time (it's 2.5 years old...). Using the latest 7.8.1 or 7.9 would not 
> show this behaviour. Therefore I'd suggest you update your LMS to 
> something a bit more recent, too. If possible.
> 
> -- 
> 
> Michael

Thanks a lot for your care ! I'll update my server and my plugin this WE
and confirm you it solves the problem ... I will also inform the  Qobuz
team that the issue was addressed in few hours from squeezebox side
and... few months from their side, but I'm not sure they will
understand...



JG Naum's Profile: http://forums.slimdevices.com/member.php?userid=22403
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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


Re: [SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)

2017-05-17 Thread philippe_44

epoch1970 wrote: 
> 
> [11:32:08.507212] PlayerThread:505 [0x7028d0]: processing volume: 45
> (-16.53)
> volume: -16.530613
> [11:32:08.510185] PlayerThread:505 [0x701c00]: processing volume: 51
> (-14.70)
> volume: -14.70
> [11:32:08.519836] PlayerThread:505 [0x701c00]: processing volume: 51
> (-144.00)
> volume: -144.00
> [11:32:08.524892] PlayerThread:505 [0x701c00]: processing volume: 51
> (-14.70)
> volume: -14.70
> 

I need to change something in the trace system because I don't
understand why there is that firing of volume changes and one "mute" is
missing. Look for a updated version in dev in a few minutes



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express

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

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


Re: [SlimDevices: Plugins] BBCiPlayer with DASH support - test version

2017-05-17 Thread PasTim

bpa wrote: 
> I don't think the top 2 post on this thread are stickies. Perhaps you
> meant the other two BBCiplayer threads in the 3rd party forum.
> 
> I think a generic non version BBCiPlayer thread sticky might be useful -
> to point the way to current options/status as users post BBCiplayer
> issues in lots of threads sometime regardsless of versions or heading.
> This sticky should have a big notice not to post to the sticky thread.
I'm going to ask mherger to 'unstick' the 2 old stickies.  If you or
others here can think of a good generic one to add, let him know?



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

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


Re: [SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)

2017-05-17 Thread epoch1970

philippe_44 wrote: 
> les zipp ont le volume marabouté
Aha! I just caught my zipp in the act, around 11:35 local time (audio
volume did drop to 0).
It happened at/near song change, like what Castalla sees AFAIK.
When it happened I "rushed" to the web interface, powered off Zipp, then
Loop (they were synched) and then I stopped raopbridge.

I have the full log of the session that started yesterday night (235245
lines, gzip -9 => 1.9MB) or I can strip the log to, say the last 10k
lines? I think I have a dropbox account somewhere still, so archive size
is not a problem.
Let me know what you prefer.
(That is, if you're interested in solving the issue :D )



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105198

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


Re: [SlimDevices: Plugins] ANNOUNCE: AirPlay Bridge = integrate AirPlay devices with LMS (squeeze2raop)

2017-05-17 Thread philippe_44

Das its eine Kollossal Conspiration

Les WX ont une gestion du son exotique, le ggmm est muet, les zipp ont
le volume marabouté et Apple veut un code tvOS en 10.2

Le tout en français 


Envoyé de mon iPad en utilisant Tapatalk



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express

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

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