Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all 2059 articles
Browse latest View live

Spotify incoming IP addresses for LMS?

$
0
0
> I have LMS v7.9.0 running on a Synology DS214+. Using the great Protocol
> Handler, I was able to get Spotify working on all my Squeezebox Booms.
> For security reasons, I block all incoming connections and accept only
> IP addresses in my network. However, if I set 'Block Incoming
> Connections' to 'Block', Spotify will stop working.


"Incoming connections" imho are something different than responses to
request coming from the inside. Or outgoing connections. In the SB world
you should _never_ need to open ports for incoming connections.

> What IP addresses do I need to add to 'Allowed IP Addresses' to grant
> Spotify access to LMS?


Again, we need some more precision here: what access are you talking
about? Spotify as a larger unit never accesses your LMS. LMS would
access their services. If you're talking about the Spotify Protocol
Handler, than check the port settings in Advanced/Spotify Protocol
Handler. That's the port LMS uses to access SPH. Or the players use to
stream from.
--

Michael

Basic voice control using Google AIY

$
0
0
Has anyone started work on using Google AIY Voice Kit (voice control as a basic Google Home) to control LMS?

There is a Raspberry Pi HAT board and supporting software that was given away with the May issue of "The MagPi" magazine.
One piece of good news is that most of the software does not rely on the Google board being used.
In theory it can work with any Linux supported Mic and sound output (e.g. local analogue or HDMI).

The local capabilities do not have the "intelligence" to semantically understand a spoken sentence but it does a good job to Voice-to-text.

I wrote some code to make it control some Pimoroni lights and can see how it could readily perform tasks like
select player X
Pause
Play
Play Favorite Y
Play Artist Z

I know that there is great work being done by meep on getting things to work with Amazon Echo Alexa and I know from personal experience that this works with an emulated Alexa on RPi. However, it does require a cloud service.
The potential is there with Google Voice Kit to do it all locally I think (and/or use Google voice service in cloud).

BBC iPlayer Radio pliugin under threat ?

$
0
0
I am a longstanding user of the excellent BBC iPlayer plugin, created by Triode and currently nobly maintained by BPA. Having invested in a number of Raspberry Pi3 and Audio DAC's, along with PiCorePlayer it is my sole method of accessing BBC radio content at home.

Recently the excellent BBC iPlayer Extra provided by BPA has ceased to work, apparently because of BBC enhancements (not!).

Readers will no doubt already be aware that the BBC has announced that shortly there will be a requirement to register and login to use their TV iPlayer application. My concern is that this requirement will also extend to the BBC digital radio streams.

Reading around I found this BBC blog post here written by Andrew Scott now entitled as "Launch Director myBBC" (who I recall was involved in trying to resolve the fall out a few years ago from the fiasco surrounding the poorly coordinated retirement by the BBC of certain radio streams which left a large number of people with useless hardware).

Worryingly on Mr Scott's blog post (in between all the polished corporate speak) he states:

"Last September, we outlined our plans to make the BBC more personal and relevant to you. We’re doing this by making some changes that mean you will need to sign in with a BBC account to access BBC iPlayer, BBC iPlayer Radio and some other services."

The majority of comments posted in reply to his blog post focus on the TV iPlayer sign in requirement, although there is currently a single one posted by piers (12/5/2017 @13:56) asking:

"I can't see any indication whether sign-in will affectability to listen to live radio via internet radio tuner (portable, like Roberts/Pure, or hi-fi like Cambridge Audio/Panasonic streaming devices).As well, up to now, these broadcasts have been openly available on mainland Europe (except some 5Live sporting events)."

There is currently no response from the BBC.

I have previously hi-lighted my concerns about the future direction of the BBC in this thread here

I believe that some readers of this forum may have "contacts" within the BBC and I wonder if they are aware of any plans to obstruct the current DASH streams?

I would not want to be faced with the fiasco we had last time when users only became aware of the problem once the streams were withdrawn (agitate now!)

Cheers

Alan

Bands Campout - Error Retrieving My Collection

$
0
0
> Thanks Michael. I am indeed using my username rather than my email
> address. I can click on who I am following and it comes up correctly.
> It also shows Albums recently played. Its when I try to click on My
> Collection that it shows blank as a result.


Would you mind to PM me your username?

--

Michael

For the brave only: the Spotty Spotify implementation

$
0
0
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!

Qobuz Squeezebox plugin - Artwork gone missing in favorites

$
0
0
Hi - I'm using the Qobuz plugin in LMS 7.9.0 running on a Vortexbox 2.4.

Since yesterday I can no longer see the artwork in Qobuz>Favorites>Albums in LMS.

Anyone seeing the same problem, any ideas why?

First try on a Plugin: Remote control Home Assistant

$
0
0
This is my first try on a Plugin, Perl is not that familiar either :confused:

Remote controlling (only toggle lights for now) Home Assistant https://home-assistant.io/

Plugin loads groups as first menu level and then entities in that group as submenus, any light entity can be selected and the light toggled.

The main issue I think the Plugin has is menu handling, after toggle a light a showBriefly is displayed on CallBack.
Problem now is to refresh (by using the args and not just refresh the json) the menu I was on (to update the image showing light on/off).

Code: https://github.com/hans99/squeeze-remote-hass
Repo: https://hans99.github.io/slim/repo.xml

[Developers] Getting 'Status' formultiple players simultaneoulsy

$
0
0
> I guess using getResult is better, even if requires accessing the name
> using an underscore despite your earlier comment?


Yes... I guess I'm still not familiar with all of LMS' secrets :-).

--

Michael

Icon for Synchronizer plugin on Duet

$
0
0
> I am using the LMS plugin "The Synchronizer" (V0.10.0) and have created

Are you using it, or are you its author?

> Does anyone know how I can manually add an icon? Perhaps by copying a
> .png file to the appropriate directory, but which directory?


Manually you can't. The author would have to add an icon to the plugin.

--

Michael

Napster errors

$
0
0
> User-Agent: iTunes/4.7.1 (Linux; N; Synology DiskStation; x86_64-linux;
> EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media
> Server/7.9.0/1453293926


Could you please try to update to pinkdot's latest LMS for Synology?
Your 7.9 is rather old. 7.9.1 might help your issue.

--

Michael

Strange BBC iPlayer problem

$
0
0
I'm using the excellent BBC iPlayer plug-in, for which I'm extremely grateful to bpa and Triode. Just recently I ran into a strange problem which I'm struggling to resolve, and multiple forum/internet searches for other information have drawn a blank, so I'm hoping somebody can point me in the right direction.

I recently upgraded my system from scratch on a new server - the before/after setups are:

**OLD**
Raspberry Pi running Raspbian 8 (Jessie)
Logitech Media Server Version: 7.9.0 - 1456927571 @ Wed Mar 2 14:43:18 UTC 2016
BBC iPlayer v1.3.1alpha3
BBC iPlayer Extras v1.8

**NEW**
mini PC running Debian 8.8
Logitech Media Server Version: 7.9.1 - 1494667952 @ Sat May 13 09:45:11 UTC 2017
BBC iPlayer v1.5.2
BBC iPlayer Extras v1.9.5

In the new setup I have a problem with delays to the BBC iPlayer radio stream. I don't mean buffering as such - often it's playing an hour behind the live service. It's particularly disconcerting when the radio comes on as an alarm in the morning! :^) For instance, we were woken at 8am this morning to hear the 7am news broadcast.

The problem doesn't happen with non-iPlayer radio, so it seems likely that (the plugin) is where it's happening. I've disabled the skip forward/backward options but no change. I've tried using a 'stop' command via. LIRC but apparently that makes no difference. So far the only way that I can find to do this is setting the player to "Stop at Power off/Remain stopped at Power on" and pressing the power button. That said, the controller (e.g. iPeng) still indicates that the stream is paused rather than stopped, and it only resets when I power it on again later. The problem happens using both Squeezelite on a Raspberry pi and also through iPeng on an iPad, so it looks like the player/client itself isn't the culprit.

Is there any way to disable this behaviour and return to the older approach?

Many thanks,
Richard

Announce: BBCiPlayerExtra v2.0

$
0
0
Announce: BBCiPlayerExtra v2.0

BBCiPlayerExtra - a plugin to provide additional menus for BBCiPlayer for Categories, A-Z and less functional successor to BBCiPlayerExtra 1.0. The programs are those available on iPlayer usally up to 30 days after broadcast but some programmes have many more (e.g. Moral Maze, In Our Time, Desert Island Discs)

This is a plugin which works with BBCiPlayer plugin (which must be installed separately).

As a sop after killing off the APIs which provides programme info per station and genre, the BBC left two APIs which provides info on programmmes by title and by genre but it is for ALL TV & Radio. BBC have said these "new" API will die 1 May 2018.

The "latest" API feeds are slow to respond as they cover whole Iplayer database. The APIs are also paginated which means after filtering out TV programmes some "pages" may only have a few entries or possible empty.

Because some categories have very many entries e.g. "Arts & culture" over 20k, Factual over 17k, News over 31k and Music over 3k - the results are paginated (i.e BBC only returns a small number at a time).

The entries in OPML have ability to have filter added to restricted titles and stations so users can customise to somewhat minimise unwanted entries. The filters are used to provide the per station title menus.

The plugin is available from the following repo URLs ( I need to consolidate)
BBCiPlayer V1.5.2 http://downloads.sourceforge.net/pro...lease-repo.xml
BBCiPlayer V1.5.4.x http://downloads.sourceforge.net/pro...lease-repo.xml
BBCiPlayer V1.4.10 http://downloads.sourceforge.net/pro...repo-short.xml

Using Spotify on Squeezebox devices ?

$
0
0
> I do recall it could not be used via MySB.com on Booms (but ? could be
> on Touch), but could be used via LMS on Booms, Receivers & Touches ?


That's correct.

> What is the best way to get my SB ecosystem up to speed for using
> Spotify ?


Install LMS on your computer or a Raspberry Pi (search for piCorePlayer
for an easy to install option). Go to mysb.com and enter your Spotify
credentials, and follow the "Activate" button (it's two steps). Then
back to LMS, make sure it's connecting to your mysb.com account. Install
the "Spotify Protocol Handler" plugin. Go to Settings/Advanced/Spotify
Protocl Handler and enter your credentials once again....

That should do it.

Good luck!

--

Michael

Custom Clock Now Playing Alternative - touch, progress indicator disappeared

$
0
0
I've had a single Touch for some time with Custom Clock installed and using the 'Now Playing Alternative - touch' style. Recently I added a second Touch and installed Custom Clock onto it. At the same time I noticed that the progress indicator - the white blob that moves left to right at the bottom of the Custom Clock screen - was not displayed, on either Touch. All other items on the Custom Clock screen were intact (as was the progress indicator on the default Now Playing screen). I didn't change anything in Custom Clock Helper.

After removing the 2nd Touch the progress indicator is still not displayed on my original Touch. I've reset the Touch, restarted SSOTS and LMS, and rebooted the NAS, all to no avail. It's been a while since I configured this and I'm afraid my knowledge has faded, so I'd appreciate any info on what to check.

Logitech Media Server Version: 7.7.2 - r33893 @ Wed Mar 14 06:37:22 MDT 2012
Operating system: Linux - EN - utf8 (running on QNAP TS-112P)
Platform Architecture: armv5tel-linux
Perl Version: 5.10.0 - armv5tel-linux-thread-multi
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Player Model: Squeezebox Touch
Firmware: 7.7.2-r9663

Where are my "Songs" via Spotify on LMS?

$
0
0
> I can see my playlists, search is fine, but the Songs I save on the
> desktop / mobile apps do not appear to have a matching category in the
> LMS or Android (Squeeze Commander) interfaces.


Songs are not available. As this list is often many times longer than
reasonably manageable in LMS, we removed the menu shortly after adding
it. The Spotify API wouldn't allow us to get more than 50 tracks in one
request. We'd have to process dozens of them for any reasonably sized
collection.

--

Michael

Squeezeplayer connection dropping/tracks skipping on Android phone

$
0
0
I'm using Squeezeplayer on an LG G5 (Android 7.0) phone to playback music on LMS 7.9.0 (running on Windows Server 2008). The client app on the phone (I have tried both the Squeezer and Squeeze Commander apps) loses connection to the LMS server every few minutes, which results in the current track being aborted and the next track starting. The wifi connection seems to stay up (but I don't know if it is getting briefly interrupted then resuming).

I have excluded all of the squeezebox-related apps from Android's battery optimisation features, but it didn't seem to help.

I don't have the problem if I use a Samsung Galaxy Tab S2 tablet (running exactly the same apps, but on Android 6.0 rather than 7.0).

I also don't have a problem on the phone if using Google Play Music.

Can anyone suggest a way of diagnosing or resolving this?

Brutefir filters not working

$
0
0
I've sucessfully been using Brutefir for a couple of years but only used it for the equalizer. I've recently obtained a calibrated USB microphone for my laptop and have used REW to record and save left and right speaker data then produce a filter using REW so that I could start using room correction. The first problem was that REW only produces .wav filter files where the example brutefir config wants .pcm. I've tried all sorts of ways to convert .wav -> .pcm - the best way seems to be simply be to strip out the first 44 bytes of the .wav.

Anyway, I modified the equalizer+filter config file to include the path/filenames of the .pcm filters and there was no audio output at all. Thinking the problem could have been with my filter files I modified the config file again to use the example filters that were with the brutefire examples. Still no audio!

So the basic config file with equalisation only works well but the one which includes filters doesn't work even with the brutefir example filters.

Does anyone know if this is a known problem and has anyone come up with a solution?

TIA

SoundCloud Plugin Issue

$
0
0
This is my first post, i hope it is in the right section.

I have LMS installed on a ReadyNAS and SoundCLoud plugin installed..
When i use Squeeze play on my iPad or iPhone to play music from soundcloud, i cant get it to play all the songs under the "Likes" folder..

I go to "My Apps" then soundcloud, then Likes, and i find the list of songs. When i choose the first song for example it only plays that song and stops.. there is no option for it to keep playing the whole list. how do i do that?

Custom Clock Now Playing Alternative : How to include YEAR tag, if poss.

$
0
0
I'm afraid that between the wiki articles for the Custom Scan plugin and Custom Clock applet, how to achieve what I'm after is not sinking in to my brain.

Item #3 (tracktext) in Custom Clock style "Now Playing Alternative - touch" has been configured as: ALBUM. What I'd like is simply: ALBUM (YEAR) e.g. "Blade Runner (1994)" displayed on the Touch. Is this within Custom Clock capability?

In Custom Scan > Module Settings Mixed Tag, Year tags is set as YEAR.

In Custom Scan > Various Settings, the Title formats drop-down includes CUSTOMSCAN_MIXEDTAG_YEAR.

As I stated earlier, Custom Clock Helper, Item #3 (tracktext), text is set as ALBUM. Appending YEAR or CUSTOMSCAN_MIXEDTAG_YEAR just displays this text, not the tag.

The Custom Clock applet wiki explanation for using tracktext states:
Quote:

"If Custom Clock Helper plugin is installed on the server it will in addition to the above keywords also be able to show any title format string that has been configured in the server settings and in the Custom Clock Helper plugin."
I'm not sure how warm, or cold, I'm getting to solving this. Could someone please explain how I "connect the dots". Thanks.

SqueezeLite ans pulseaudio

$
0
0
Hi Ralphy,

On Fr, Jun 23, 2017 at 12:18:23 +0000, ralphy wrote:
>I have an experimental version of squeezelite using a pulsaudio branch
>hostapi for portaudio.


That are very good news, cool!

>Using the pulseaudio branch from
>git://git.assembla.com/portaudio-pulseaudio.git
>
>It works very well, until the sample rate of the music changes, then
>there's no more audio until you kill squeezelite and restart it.


Thats more then enough for me ATM, because I'd like to use SqueezeLite
at work to listen to spotify or deezer and they do not change
samplingrate very ofthen I think :-).

>I had been working with the developer to track down the issue with the
>hostapi, but that has stalled ATM. Hopefully, things start moving
>forward again soon.


Yes, would be cool, because the pulseaudio crap is the default on more
and more systems, unfortunatly :-8.

>I've uploaded a debian 8 x64 debug build for you to try. Hopefully it
>works on debian 9.


Thanks a lot! It is already running and I am able to listen to deezer,
very cool! Will use it more ofthen after the weekend and can report
problems if you like.

Cheers and many thanks again,

Schoepp


Viewing all 2059 articles
Browse latest View live