CoreELEC and Squeezelite

Post Reply
jma2
Posts: 6
Joined: Mon Dec 18, 2017 12:48 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

CoreELEC and Squeezelite

Unread post by jma2 » Thu Oct 31, 2019 3:41 am

Hi all,

I am using the latest version of CoreELEC on an Odroid C2, and tried yesterday to use Squeezelite as a music player.
I installed the multimedia-tools package that comprises Squeezelite. Then after logging on to my CoreELEC Odroid C2 via SSH I managed to start Squeezelite and control the player via my Logitech Media Server. So far so good.

Now I would like to avoid having to logon via SSH after boot-up every time and somehow control starting Squeezelite via either a boot-script or via an option in the UI.
Does anyone has experience with this and could provide me any guidance?

I used Google and found some solutions on the Raspberri Pi for LibreELEC on which Xsqueeze was used. That solution is I think not possible on CoreELEC running on Odroid C2. At least I could not find any references.

Thanks in advance for any help and in the mean-time, the manual solution, although a bit cumbersome, also works.

Kind regards,

Jan

User avatar
rooted
Posts: 6761
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 205 times
Been thanked: 41 times
Contact:

Re: CoreELEC and Squeezelite

Unread post by rooted » Thu Oct 31, 2019 9:40 am

You can start a service or whatever by using the file

Code: Select all

~/.config/autostart.sh
Anything you add to it will be executed at boot, like I use it to disable the blue heartbeat LED. This is what my autostart looks like.

Code: Select all

(
 echo none | tee /sys/class/leds/blueImagebeat/trigger
)

#nohup script.sh &
But also there is system.d and sysctl.d contained within the ~/.config directory as well.
These users thanked the author rooted for the post:
jma2 (Fri Nov 01, 2019 2:37 am)

jma2
Posts: 6
Joined: Mon Dec 18, 2017 12:48 am
languages_spoken: english
ODROIDs: C2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: CoreELEC and Squeezelite

Unread post by jma2 » Fri Nov 01, 2019 2:40 am

Thank you for the help! Way more straightforward than I thought it would be...

And thanks for the extra about the blue beat, that will also go in at the same time!

Kind regards,

Jan

User avatar
rooted
Posts: 6761
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 205 times
Been thanked: 41 times
Contact:

Re: CoreELEC and Squeezelite

Unread post by rooted » Sat Nov 02, 2019 6:29 pm

You're welcome.

Post Reply

Return to “CoreELEC/LibreELEC - Kodi Project for C1/C2”

Who is online

Users browsing this forum: No registered users and 4 guests