pmprog
DNF (Did Not Finish)
- Joined
- Apr 25, 2011
- Messages
- 4,150
Okay, playing with my TwitchBox app, I've encounted a couple of things. The first is an observation which was a little annoying, but easily worked around, the second, I'm just not sure what to do.
So firstly, the command "pnd_run", and the script "/usr/pandora/scripts/pnd_run.sh" mount the SMPlayer PND to two different locations.
The former maps to "/mnt/utmp/smplayer"
The latter maps to "/mnt/utmp/package"
I just worked around this by having my script search both folders for my file. I'm not sure why this is, or if this could run into other problems.
I have to use the pnd_run.sh script because the command doesn't let me mount and unmount at will. However, whilst I was testing my PND, I got the following log:
------------------- Stream Log
URL: http://www.twitch.tv/sc2proleague
Quality: worst
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop1: [b30a]:155663 (/media/Applications/pandora/menu/twitchbox.pnd)
Are mounted on :
/dev/loop1 on /mnt/utmp/twitchbox.marqwatkin type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/twitchbox.marqwatkin type aufs (rw,relatime,si=d072ce8f)
PND: /media/Applications/pandora/menu/package.smplayer2.pnd
Player: mplayer
[cli][info] A new version of Livestreamer (1.7.2) is available!
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/sc2proleague
[cli][info] Opening stream: mobile_mobile
[cli][info] Starting player: mplayer
I don't know why it won't mount - surely you can union mount more than one thing? After all, I have several PNDs running simultaneously frequently.
I guess I could just copy the SMPlayer contents from the PND into my PND, and then I wouldn't have to rely on it, but my plan is in the future is to let the user select a player. I'd be okay embedding though if necessary.
So firstly, the command "pnd_run", and the script "/usr/pandora/scripts/pnd_run.sh" mount the SMPlayer PND to two different locations.
The former maps to "/mnt/utmp/smplayer"
The latter maps to "/mnt/utmp/package"
I just worked around this by having my script search both folders for my file. I'm not sure why this is, or if this could run into other problems.
I have to use the pnd_run.sh script because the command doesn't let me mount and unmount at will. However, whilst I was testing my PND, I got the following log:
------------------- Stream Log
URL: http://www.twitch.tv/sc2proleague
Quality: worst
WARNING Union already mounted, using it
+++++++
Loopback devices :
/dev/loop1: [b30a]:155663 (/media/Applications/pandora/menu/twitchbox.pnd)
Are mounted on :
/dev/loop1 on /mnt/utmp/twitchbox.marqwatkin type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/twitchbox.marqwatkin type aufs (rw,relatime,si=d072ce8f)
PND: /media/Applications/pandora/menu/package.smplayer2.pnd
Player: mplayer
[cli][info] A new version of Livestreamer (1.7.2) is available!
[cli][info] Found matching plugin twitch for URL http://www.twitch.tv/sc2proleague
[cli][info] Opening stream: mobile_mobile
[cli][info] Starting player: mplayer
I don't know why it won't mount - surely you can union mount more than one thing? After all, I have several PNDs running simultaneously frequently.
I guess I could just copy the SMPlayer contents from the PND into my PND, and then I wouldn't have to rely on it, but my plan is in the future is to let the user select a player. I'd be okay embedding though if necessary.