play local file from withing plugin itself (example : *.m3u file)
Added by fil dil over 5 years ago
Hey,
Not expecting a fast answer or any at all, but still will ask, and if it is possible, how?
"play local file from withing plugin itself (example : *.m3u file)"
Thank you in advance for your help,
Regards,
B
Replies (4)
RE: play local file from withing plugin itself (example : *.m3u file)
-
Added by Dean Kasabow over 5 years ago
Plugins cannot access local file system. The only solution is to include your .m3u file in the plugin .zip file and edit the plugin code to read the file and not from http.
RE: play local file from withing plugin itself (example : *.m3u file)
-
Added by gordon-- * over 5 years ago
Maybe you can use a data url, this works for example to create svg graphics dynamically. Should work with m3u to.
File access should work to, haven't tried it myself but look at this -> https://github.com/andoma/movian/blob/master/res/ecmascript/modules/fs.js
RE: play local file from withing plugin itself (example : *.m3u file)
-
Added by fil dil over 5 years ago
Thanks!
RE: play local file from withing plugin itself (example : *.m3u file)
-
Added by fil dil over 5 years ago
Dean could you please add a m3u support from plugin zip? I think a lot of ppl at 4pda would thank you if you will add something like this :
in options of the plugin (iptv) :
if file exist in plugin.zip use it as default m3u playlist in format like *.m3u / *.m3u8
Thanks!
(1-4/4)