yes works great cheers
And to add something...this will play directly from favourites no need of .sh or .py files
yes works great cheers
And to add something...this will play directly from favourites no need of .sh or .py files
well, sort of. everything works on the kodi gui itself (py or sh scripts as favorites) but 3rd party apps that connect via API do not handle it well. (like yatse, openhab...)
I guess they expect some media in favorites, and RunScript just breaks them. yatse claims invalid favourite, and some of them it cannot even see....at some point they even crash kodi by attempting to "play" scripts or whatnot.
so I gave up and I am doing kodi-send --action='RunScript and Playmedia - from remote machine, its good enough
ok so if you r doing kodi send you can still use party mode...here you go:
Quotekodi-send --action="PlayerControl(Partymode(/some/path/to/a/file/Soundtracks.xsp))"
I guess adding it to favorites via right click is wrong, who knows what he did instead of RunScript.
Probably favorites is just added as PlayMedia by default..so your first issue is solved?
you need something like this for partymode in your Soundtracks.py no need of addons:
quick workaround
create also Soundtracks.sh in same folder of Soundtracks.py with this line
then add favorite manually like this
tested - working
you can also try this might also work - not tested
Edit: you can probably also start your playlist from the soundtracks.sh by changing line to
I tried executing it from ssh shell - this fails with the error above.
You can't do that it won't work as you need to run it internally so for testing in ssh you run
tvpc:~/.kodi/userdata/scripts # python soundtracks.py
Traceback (most recent call last):
File "/storage/.kodi/userdata/scripts/soundtracks.py", line 1, in <module>
import xbmc
ModuleNotFoundError: No module named 'xbmc'
it's working for me..no addons needed
just run these 2 commands
dos2unix /storage/.kodi/userdata/scripts/soundtracks.py
chmod +x /storage/.kodi/userdata/scripts/soundtracks.py
Just clicking on it from file manager should work..you can add to favourites from there...
That explains it..
Mine is BCM2835
The image compatibility check will fail during RPi2 to RPi3 update/crossgrade as the image name doesn't match the current one. The cheat for that is "touch /storage/.update/.nocompat" before rebooting.
Hi chewitt that didn't work
Failed update detected - performing recovery
Fresh install rpi2 --> stuck on rainbow screen
I did try but update is getting stuck..it says it's incompatible with rpi2
Not compatable with RPi2?
there seem to be no viable solution to simply start playing some MP3 folder upon startup?
I had to install an addon called "service.autoexec" with an autoexec.py in its folder. So far, so unnecessarily complicated.
You are basically answering your own question.. "viable solution" is "service.autoexec"..
What did you try till now?
Dont take me wrong but as posts about ntfs formated HDD's not mounting are popping up allover the forum..does it really looks like we have to go to the ext4 way or is this some issue that might get fixed one day?
Can something like this run LE smoothly or it will have driver issues?
Thinking it's time to update my RPi2 and looking for alternatives as RPi4 is bit scarce at the moment..
I was having this issue much often with 10.95.xx,Since LE 11 it almost disappeared and it only happens when I rarely have a crash and need to unplug system..and even then, it doesn t happen every time I need to unplug..
Never happened on previous older LE versions no matter how many times I unplugged and mistreated hdd,s..
May I ask those who are having this issue how are you turning on and off your device?Is it also happening on clean shutdown and restart from shutdown menu or just when you unplug?
The disk needs to be checked with Windows.
Hi mglae
Is there anything we can do to avoid this from happening as it looks like it's a new issue that never used to happen before with LE..looks like something is corrupting HDD's..