Quantcast
Viewing all 2059 articles
Browse latest View live

icons in spotify family plugin library

I wonder if it's possible to add thumbnails for artists in the library of the spotify family plugin? It would make it much easier for the kids to navigate

I don't mind manually editing the prefs file but I don't know how to write

Mac App to convert FLAC to Apple Lossless (ALAC) and AAC with cover art

You too may have a vast collection FLAC files and an iphone - which doesn't speak FLAC.

I've written an Applescript App that will take a folder of FLAC files and convert them to Apple Lossless (ALAC) and incorporate the cover.jpg or folder.jpg into the metadata of the created files. It also does AAC at 160Kb/s and 320Kb/s.

Download here: http://118design.co.uk/software/iFLAC.zip

Since I have not purchased an Apple developer licence, this is unsigned software. When you try to run the app it will tell you that it is damaged and can't be opened. If you wish to trust me and try it, you will have to go into System Preferences, Security and Privacy and temporarily Allow apps downloaded from anywhere. More info here:
http://www.howtogeek.com/205393/gate...re-by-default/

You can drop folders of FLACs onto the app or just open it and select a folder. The result appears in a folder called Audio on your Desktop.

The hard work is done by ffmpeg and AtomicParsley.

For the technically minded, this is the Applescript:

Code:


on open iFLAC
        set FLACpath to POSIX path of iFLAC
       
       
        if FLACpath ends with "/" then
                ShellSub(FLACpath)
        else
               
                display alert "Folders only please!"
               
        end if
       
end open

set FLACpath to POSIX path of (choose folder with prompt "Please choose a folder containing FLAC files") as text


ShellSub(FLACpath)

error number -128


on ShellSub(FLACpath)
       
        try
                set quality to do shell script "defaults read com.ajw.aac quality"
        on error
                set quality to "160Kb/s"
        end try
       
        set quality to the button returned of (display dialog "Set audio quality:" buttons {"160Kb/s", "320Kb/s", "ALAC"} default button quality)
       
        set TStart to current date
       
        do shell script "defaults write com.ajw.aac quality " & quality
       
        set FLACpath to EscapeSub(FLACpath)
       
        set scriptpath to POSIX path of (path to me as text) & "/Contents/Resources/"
        set scriptpath to EscapeSub(scriptpath)
       
        do shell script scriptpath & "AAC.sh" & space & FLACpath & space & quoted form of text 1 thru 4 of quality
       
        set TStop to current date
       
        display alert "Processing complete in " & (TStop - TStart) & " seconds!" message "Your files are on the desktop."
       
end ShellSub

on EscapeSub(path)
        set myTemp to ""
       
        repeat with c in every character in path
                set myTemp to myTemp & "\\" & c
        end repeat
       
        return myTemp
end EscapeSub

This is a shell script it calls:


Code:

#!/bin/sh


cd "$1"


MyPath="$HOME/Desktop/Audio/"$(basename "$(dirname "$1")")"/${PWD##*/}"


mkdir -p "$MyPath"


if [ "$2" = "ALAC" ]; then
        ls *flac | while read f; do "$(dirname "$0")/ffmpeg" -i "$f" -acodec alac  "$MyPath/$(basename "${f/.flac}").m4a" > /dev/null & done
else
        ls *flac | while read f;do "$(dirname "$0")/ffmpeg" -i "$f" -c:a aac -b:a $2 "$MyPath/$(basename "${f/.flac}").m4a" > /dev/null & done
fi;



# wait for spawned ffmpeg processes to finish
while ps axg | grep -vw grep | grep -w ffmpeg > /dev/null; do sleep 1; done



# copy cover art to local folder
cd "$MyPath"
cp "$1"/cover.jpg cover.jpg
cp "$1"/folder.jpg cover.jpg

# make files with cover art
for f in *.m4a; do "$(dirname "$0")/AtomicParsley" "$f" --artwork cover.jpg; done;
# remove files without cover art
find . -type f -not -name '*temp*' -print0 | xargs -0 rm --
# rename files with cover art
for f in *.m4a; do g=${f//-temp*./.}; mv "$f" "$g"; done;


exit 0


Please use it, copy it, change it, improve it, tell me what you did but don't sell it because you would be in breach of the licences of the incorporated software.

Cheers

Tony Wilson

Benefit of Triode Spotify Plugins

Hi,

i would like to know: what is the exact benefit of the Triode Plugins versus the original Spotify Plugin?

- You can stream to the old machines like boom, receiver etc.
- You can use some Last.fm features
- "Family" alows to change the account for Spotify-family-accounts

But what else? I thought they would work as a "normal" Spotify -device, with beeing listet at spotify and resuming and their played song listet in the spotify history. But i didn't find any of these. And i don't find my playlists, Songs or albums. (that worked with official Spotify-Plugin). Mixtapes didn't work on both Plugins...

Spotify connect

Now that the guys at Sonos have proudly announced that Spotify connect is incorporated, I was wondering if somebody out here is working on that for LMS. Should be great having, seeing the quick alterations of the spotify app.

Regards,


Verzonden vanaf mijn iPad met Tapatalk

Spotify on SBBoom?

Now that Triode's plug in is no longer available,is there anyway to get Spotify to sync with Booms?
I use my Boom for the subwoofer and sync it with Touch and Radios.
That configuration will not work with Spotify as it did in the past.
Thank you.

Success: MusicIP and Spicefly Sugarcube running on Raspberry Pi

I managed to get MusicIP (headless), sugarcube, and the MusicIP plugin on raspberry pi LMS working with the help of Qemu. This is a inexpensive and simple setup without requiring an intel processor architecture.

For my 25k track collections, a new mix keeps one core of the raspberry pi 2 busy for approximately 10 seconds, while LMS continues to play in the background.
Basically all is working so far. I have not tested validation of music, as all my tracks have been validated and fingerprints archived using the Windows version of MusicIP. Scanning / adding 25k tracks to MusicIP takes approximately 30 minutes
High Level tutorial (I used a Max2Play installation of LMS):


Download and unpack MusicIP 1.8 for linux (http://www.spicefly.com/article.php?...sicip-software)


You have to edit your /etc/apt/sources.list file and every file in /etc/apt/sources.list.d, adding [arch=armhf] behind each occurence of deb.
So for example the line
deb http://archive.raspbian.org/raspbian jessie main contrib non-free
would become
deb [arch=armhf] http://archive.raspbian.org/raspbian jessie main contrib non-free

For the Max2Play installation, following two files had to be modified:
sudo nano /etc/apt/sources.list
sudo nano /etc/apt/sources.list.d/raspi.list


Next, we have to add package sources for i386 packages to our apt configuration. We'll do it the obvious way and take the official Debian repositories.
Of course you are free to choose other mirrors, if you prefer.
To do that, you create the file /etc/apt/sources.list.d/i386.list via sudo nano /etc/apt/sources.list.d/i386.list and insert the following:

deb [arch=i386] http://ftp.debian.org/debian/ jessie main contrib non-free
deb [arch=i386] http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb [arch=i386] http://security.debian.org/ jessie/updates main contrib non-free


Then add the i386 architecture and update packages:
sudo dpkg --add-architecture i386
sudo apt-get update



Install binfmt, qemu and libc for i386:
sudo apt-get install binfmt-support qemu-user
sudo apt-get install libc6:i386

Ignore warnings about certificates


You can start the MusicMagic server (in my case installed in the pi home-directory):
sudo /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer start
It should be accessible viahttp://localhost:10002/server

ignore warnings about ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored, the server runs anyway.


To start the sever everytime when the raspberry boots:
sudo cp /home/pi/MusicIP/MusicMagicMixer/mmserver /etc/init.d
cd /etc/init.d
sudo nano mmserver

Edit the file and add the header for the init daemon, adapt the pathes. My version looks like:


------------
#! /bin/sh

### BEGIN INIT INFO
# Provides: mmserver
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start MusicIP daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO



# NON-PRIVIELEGED USER TO RUN MUSICMAGICSERVER.
USER=pi
# PATH TO THE MUSICMAGICMIXERSERVER
export MUSICHOME=/home/pi/MusicIP/MusicMagicMixer/
case $1 in
start)
# next line was original
# su - $USER -c $MUSICHOME"MusicMagicServer start & > /dev/null"
sudo -u pi /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer start & > /dev/null 2>&1
echo "Running MusicMagicServer"
exit
;;
stop)
# next line was original
# su - $USER -c $MUSICHOME"MusicMagicServer stop & > /dev/null"
sudo -u pi /home/pi/MusicIP/MusicMagicMixer/MusicMagicServer stop & > /dev/null 2>&1
echo "Stopped MusicMagicServer"
exit
;;
*)
echo "Usage: /etc/rc.d/init.d/mmserver { start | stop }"
exit
;;
esac


--------



Then register the start script and reboot:
sudo update-rc.d mmserver defaults
sudo reboot


The MusicIP plugin should run out of the box (may require restart of LMS to recognize the MusicIP server in case LMS is started to early).



Spicefly Sugarcube requires some modifications to prevent timeouts (maybe C Parker can create a new version with these extended timeouts included):

Modifications in plugin.pm (line number for version 4.75 of sugarcube):

Original Plugin.pm line 666:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic efly',callerProc=>\&ArrayLoop,client=>$client});


New modified line 666:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic efly',callerProc=>\&ArrayLoop,client=>$client,time out=>60});

Original line 887:
if($sugarcube_activefilter eq '0'||$sugarcube_activefilter eq '(None)'){$log->debug("Genre Filter is not set\n");}else{$mypageurl=($mypageurl.'&filter='.$s ugarcube_activefilter);}}my$http=Slim::Networking: :SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyAutoMix',callerProc=>\&AutoStartMix,client=>$c lient});

New line 887:
if($sugarcube_activefilter eq '0'||$sugarcube_activefilter eq '(None)'){$log->debug("Genre Filter is not set\n");}else{$mypageurl=($mypageurl.'&filter='.$s ugarcube_activefilter);}}my$http=Slim::Networking: :SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyAutoMix',callerProc=>\&AutoStartMix,client=>$c lient,timeout=>60});

original line 925:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyAlarm',callerProc=>\&AlarmFired,client=>$clien t});

New line 925:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyAlarm',callerProc=>\&AlarmFired,client=>$clien t,timeout=>60});

Old 166:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyONE',callerProc=>\&sc_one_off,client=>$client} );

New 166:
my$http=Slim::Networking::SimpleAsyncHTTP->new(\&ScalarLoop,\&gotErrorViaHTTP,{caller=>'Spic eflyONE',callerProc=>\&sc_one_off,client=>$client, timeout=>60});





Restart LMS and Sugarcube should be running.

DAC output settings for hrt microstreamer connected to rpi 3 with squeezelite

I am trying to configure squeezelite to see the above dac. I plug it in and the light comes on at 96k but I have been unable to find a combination of settings that get any sound to output from it. I have tried amongst others the settings proposed for hrt musicstreamer, but squeezelite then refuses to start. Very frustrating. Any help or guidance would be much appreciated. Analogue works but plugged into a hifi doesn't sound too great.

Play random tracks from playlist

I just updated from 7.5 which has been running on my system for several years without a hitch. I use a combination of Erland's Custom Browse, Dynamic Playlists, and SQLplaylists. I used to be able to navigate to playlists under My Music, sit on a playlist, and in the web interface click on a icon that would allow me to choose from playing random songs from the playlist. From a controller, I would long hold the center button and get the context menu with the choice to play random songs from the playlist.

After updating LMS to 7.9 and upgrading Erland's plugins to their latest versions, that behavior is missing. The icons in the web interface are replaced with a single M, which I understand is an aspect of the upgrade. Pressing it when sitting on a playlist brings up a context menu, but it doesn't contain the random songs item. It seems like most, if not all, of my preferences, settings, and plugin settings were preserved on the upgrade. But it's possible that some dynamic playlist or SQLplaylist or Custom Browse configurations didn't make it. I can't really remember how to recreate this behavior, so I'm not even sure where to look. Can anyone point me in the right direction?

IRBlaster on a Netgear ReadyNas Ultra

I finally found a LIRC file for my Denon amplifier and installed it on my Netgear Readnas Ultra 4 which is running 7.9. It will send out the correct signals but only now and then. About one out of ten keypresses on the Touch remote will make the amplifier react. I have tried two different IR transmitters.

Are there any known issues with IRBlaster on the ReadyNas?

/Per

BBC IPlayer on older SB2 is slurred / slow

Hi,

Has anyone had experience with older SB being slurred (slightly slow, almost drunk) on the system, and if synchronised will cause other players to do same. Only on Triode BBC Iplayer and since the newer streaming methods. For past few hours decided to make an effort and try to fix.

1/
I checked it wasn't faad, by both using a stock faad and changing the AAC>PCM settings in the convert.conf from -f 1 -b 1 to -f2 (pcm to wav) and that did not make any difference

With a touch only
15730 ? S 0:00 sh -c "/usr/share/squeezeboxserver/Bin/x86_64-linux/faad" -q -w -f 1 - | "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac
15731 ? S 0:04 /usr/share/squeezeboxserver/Bin/x86_64-linux/faad -q -w -f 1 -
15732 ? S 0:02 /usr/share/squeezeboxserver/Bin/x86_64-linux/flac -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -

With the SB2 on
26747 ? S 0:00 sh -c "/usr/share/squeezeboxserver/Bin/x86_64-linux/faad" -q -w -f 2 -b 1 -
26748 ? S 0:00 /usr/share/squeezeboxserver/Bin/x86_64-linux/faad -q -w -f 2 -b 1 -

2/
Have tried changing the stream preference, currently I am on "339kbps CBR, AAC LC"

3/
Re installed LMS 7.9 to latest nightly, tried 7.8.1 too, but that wont start

4/
System Info
Logitech Media Server Version: 7.9.0 - 1487249278 @ Thu Feb 16 13:00:22 UTC 2017
Hostname: pvr
Server IP Address: 192.168.1.90
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 4

5/
BBC Iplayer is being pulled from http://downloads.sourceforge.net/pro...repo-short.xml (1.4.10)


Could anyone give me an idea where to get to this problem..... obviously would like not to replace the SB2... its sentimental, imported it from USA when Slim Devices were up and coming before entering UK market.

James

Dynamic Playlists plugin not showing my own playlists on RPi

Hi all,
I recently installed the last version of LMS on a raspberry PI. It works quite well, even MusicIp is now available thanks to Frankd.
Nevertheless, I've got a problem with Dynamic Playlists plugin: I made my own playlists in a dedicated group, but they are not listed.
I suspect a problem related to SQLPlaylist, because when I click on this item, nothing happens. Maybe some Perl module is missing ?
But the included dynamic playlists work fine.
I attached server.log the server.log file
Thanks a lot for help
Attached Files
  • Image may be NSFW.
    Clik here to view.
    File Type: log
    server.log (146.1 KB)

Announce: squeeze-alexa - DIY secure Alexa integration

As mentioned a while ago, I've been developing (on and off) a DIY Alexa Skill for Squeezebox integration and been using it successfully at home for a while now.

Anyway - it's now improved and open-sourced on Github:

https://github.com/declension/squeeze-alexa

This is a separate approach from Meep's excellent work on hab-tunes (we have discussed some common areas though). Currently it's definitely techies only I'm afraid (no actual coding but you'll need to know a bit of Linux, Networking, SSL... and have Amazon developer accounts). The pay-off is it's optimised for speed and security I guess.

PS - I'm not on the forums much, so if you want to get in touch best to do it via Github (or Twitter)

Pandora (WITH commercials OK) on Squeezeplay, Picoreplayer, etc.

Hi -

I posted this under 3rd Party Hardware and got no response and am now thinking it's more of a software question, so please forgive the repost:

I've had a raspberry Pi running picoreplayer for some time. What I've never been able to do is to play Pandora. I understand the whole "don't spoof hardware MACs" issue and respect that (though I do have a dead duet with an unused MAC I'd love to reuse). What I'd be willing to put up with is Pandora with commercials - essentially what I get on my iPhone. Though I could stream it using shairplay, I'd prefer playing it directly through the the RPi. However, any attempt to play Pandora results in the "must have a subscription" notification. Is there a way to add NON-commerical-free Pandora to LMS/Picoreplay/squeezeplay?

Thanks

Spotify not working correctly

I am having issues using Spotify with my SBs.
The search function does not work so I cannot add new albums to my library. I just noticed this today. I have a premium subscription and the Squeezebox version of Spotify is in mysb.com apps. I listen via LMS. I use IPeng as remote.
Thank you for any help.

Napster / Rhapsody ist not working anymore on Squeezebox Touch

> 2) Connected to mysqueezebox.com: Napster streams with 320kbps, AAC, but
> playing music stops after 10-20 seconds for buffer refresh (my internet
> connection is not the problem because of 1).


Are you EU or US (or closer to which one)?

--

Michael

updating hjivelite skins on a physical joggler

I'm using several jogglers with the birdslikewires squeezeplay OS

obviously Jivelite runs the Joggler Skin. I'd like to update these with Michaels PIGridSkin however I'm at a a loss on how exactly to do this as there is no change skin menu item on the Squeezeplay OS

has anyone tried this and can offer any advice

thanks

The strange case of IR-Blaster and SB Touch Volume keys...

Hi all,

So I've just set up my SB touch with an IR emitter to control my Yamaha amp. After a bit of head-scratching I got it mostly working - the remote ON button turns the amp on and switches it to the right input, the OFF button turns the amp off and the Volume up key controls the amp volume BUT when I press the Volume down key on the SBT remote it turns the amp volume up not down!

I know what you're thinking - I've selected the wrong command code in the drop down, or the .conf file is wrong, but wait, there's more: When I turn the volume down using the LMS web server, or Squeezer on my phone, the volume on the amp DOES go down as it's supposed to.

Further testing has shown that the Volume up and Volume down buttons on the SBT remote seem to be linked in some way that is confusing IR-Blaster, because if I set the Vol up key to perform another function on my amp (swap the display information for example, or change input), the Vol down key ALSO makes the amp do that, even though in the settings the Vol down key should still be controlling the volume.

When I've used the remote to control the Volume of the SBT directly (i.e. volume NOT locked at 100%), the volume goes up and down as expected, so the IR codes from the remote must be different from each other, otherwise SBT would behave the same. So it seems something is confusing IR-Blaster (but not SBT) into thinking the Vol up and down is the same IR input.

Any thoughts? I was hoping @fcm4711 would be able to help

Squeezebox + Airplay + Bluetooth inputs

I currently have a duet and a boom and use ipeng playback. I have considered switching to sonos but managed to resist the urge for a few years. I want to put ceiling speakers in several rooms and have a squeezebox feed to each of them and so thought that raspberry pis with iqaudio amp hats would be the way to go, as I can hide the pis Away and control them via ipeng. However I would also like to have the option to connect an iPhone to them via airplay and an echo dot via Bluetooth. Are there any solutions that might provide this? Given that the pis will be headless apart from something like ipeng the only potential solution I have come up with is if there are squeezebox add ons that will turn a Bluetooth or airplay feed into something that can be streamed by squeezservers. Any help, or out of the box ideas would be appreciated.

multiple instances squeezelite - hide one as player

> Now what I would like to have is that the "sounds" players do not show
> up on the list of available players. Is there a certain why to
> accomplish this?


Not without a code change.

Unless you run two instances of LMS, one for the "real" players, the
other for the sounds.

--

Michael

Squeezelite: Play files from local media?

Hi,

Just wondering if it's possible to plug a USB pen drive into a device running squeezelite (where the LMS is running on a different device) and be able to index/play the files?

BR.

--Marius--
Viewing all 2059 articles
Browse latest View live