The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Load playlist at Boot
#1
Hi All.
I like to load a default radio playlist at boot.

So I created a script with my low level of scripting.

playlist.py

#!/usr/bin/env python

import time
import os
os.system("mpc clear")
os.system("mpc load Frank1")
os.system("mpc volume 3")
os.system("mpc play 3")



When I run this manual python /home/pi/playlist.py it does work but when I add my rc.local file
it does not work. 

Any idea how to solve this?

Rg Frank
Reply


Messages In This Thread
Load playlist at Boot - by FrankVer - 05-17-2021, 07:39 PM
RE: Load playlist at Boot - by the_bertrum - 05-18-2021, 07:58 AM
RE: Load playlist at Boot - by FrankVer - 05-19-2021, 05:33 AM

Forum Jump: