View Single Post
Old 05-13-2020, 09:53 AM   #59
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by hartleyshc View Post
Yeah I think just adding it to the play streams file is enough, especially with the way the you have it written I out now. Since it creates a pls file of all of the mp3s, no one is going to click on play all mp3s again. And even if they do, and you put killsox and the rm strings, it's just going to start back over where their last bookmark was. Maybe put the code you used to write to 'starting' if they happen to click on play all files it will just automatically bookmark it for them.

I did spend a bit last night writing a koreader plugin that uses your bash files. I was able to start and stop a predefined radio stream from the tools/plugins menu. The goal there is that you'll eventually be able use the built in file manager on koreader to select mp3s from a directory. The bad part is that it'll need to be updated every single koreader release as their plugin system is kind of set in stone and you have modify the menus to get the plugin to show up, instead of just dumping some files in the plugins directory.
I will be interested if you get playing of selected media files from koreader. For that you will obviously want to use the playfile.sh script which I developed prior to the playall.sh script. I was going to look into support for playing selected media files, but it appears the only way to do so is to regenerate the menu.json file to include them. I had yet to get onto that, but NiLuJe pointed me to the font hacks regeneration process as an example of how to do so.

Dave
dhdurgee is offline   Reply With Quote