2015-04-08, 00:55
I was trying to set things up so that when I played a video, it would copy it from it's library location (mech disk array) to a secondary location (ssd or flash) then start playing from that copy. It probably sounds dumb but I'm trying to run absolute minimum power draw living off grid in an RV with a few solar panels and golf cart batteries, and a mech disk in my dock for a 2 hour movie eats 2-3% of my daily power. This would be on ubuntu and/or a raspberry pi.
I have it working using the external player config I call "Pre-Cache video" - just a bash script that copies the media to my location. But then I have to browse videos->files to that file and play it, rather than just hitting Open... again from the currently selected video. It's ok, but not very tidy.
I'd be happy with doing the same thing if I could have a second step "Open..." with another external script that could swap the library path with my temporary copied path - somthing like 'Play from Pre-Cache". I can do this if I define a true external player, but I want to use kobi's native player and don't see a way to do that path manipulation and launch internally.
Alternately, I was wondering if there might be a way to do this with a add-on? It didn't seem like a behavior suited for an add-on from what I could tell reading around the wiki, but maybe I'm not seeing some ideas. I definitely don't want to lose the whole library navigation functionality of Kobi.
Any ideas?
I have it working using the external player config I call "Pre-Cache video" - just a bash script that copies the media to my location. But then I have to browse videos->files to that file and play it, rather than just hitting Open... again from the currently selected video. It's ok, but not very tidy.
I'd be happy with doing the same thing if I could have a second step "Open..." with another external script that could swap the library path with my temporary copied path - somthing like 'Play from Pre-Cache". I can do this if I define a true external player, but I want to use kobi's native player and don't see a way to do that path manipulation and launch internally.
Alternately, I was wondering if there might be a way to do this with a add-on? It didn't seem like a behavior suited for an add-on from what I could tell reading around the wiki, but maybe I'm not seeing some ideas. I definitely don't want to lose the whole library navigation functionality of Kobi.
Any ideas?