Closed Fleker closed 7 years ago
That wouldn't work if you have a stream like TWiT's HLS stream as it uses those playlists to auto switch to a different quality stream but it's the same channel and you would not want them to be separate channels.
On Mon, Aug 31, 2015, 3:59 PM Nick notifications@github.com wrote:
Build a two-way parser for m3u playlists. This is a common format for many people already using this technology, as opposed to the custom JSON format.
JSON might remain the primary format underneath, but make it easy to import an m3u playlist from Google Drive to be your channel list. Then make it export to that same file type.
Maybe export to both JSON and m3u.
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41.
The TWiT stream used is http://twit.live-s.cdn.bitgravity.com/cdn-live-s1/_definst_/twit/live/high/playlist.m3u8
. It is high quality because you're targeting a large screen which can be connected via ethernet. It might degrade based on connection if necessary.
Though streams that use adaptive bitrates will still work as long as there is a single file which can be opened, this format should work.
I think I found some code that can do this. I'll see if I can integrate that at some point.
Import works. Export has not been implemented yet. It will soon along with individual channel sharing options.
How to import?
You can get the m3u file and then open it with Cumulus TV. It will import the channels.
Not finding any way to import an m3u file. Doesn't open with nor does it understand the format when adding it as a stream.
Any pointers?
Using Android TV and stock Android.
Use a file Explorer, try to open the file, a cumulus action handler should appear
Have done so with two different file explorers - ES and the one that comes default with the phone. Cumulus isn't appearing as a handler.
Perhaps it's invalid? There's 1000 channels on this list.
Whilst quickly editing a python script, the open with offered Cumulus to create a channel.
I then renamed the file.m3u to file.py and bizarrely it works.
Hmm maybe there's a problem with identifying .m3u specifically. Using the .m3u8 extension should definitelg work. I'll see if I can fix this. On Feb 13, 2016 4:31 PM, "Billy McIntosh" notifications@github.com wrote:
Whilst quickly editing a python script, the open with offered Cumulus to create a channel.
I then renamed the file.m3u to file.py and bizarrely it works.
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183758848.
There was no handler for m3u8 on my Android TV system. That said, I was trying to open it from an sftp location which doesn't always behave the same as opening locally.
Ah, right now it only opens locally or from http. I don't know how much work it would be to add sftp support.
On Sat, Feb 13, 2016, 4:58 PM Billy McIntosh notifications@github.com wrote:
There was no handler for m3u8 on my Android TV system. That said, I was trying to open it from an sftp location which doesn't always behave the same as opening locally.
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183763583.
To be honest, I don't think it's going to be a hugely requested feature.
You're probably correct. If more people request it and there's an easy way to implement it then I'd include it.
On Sat, Feb 13, 2016, 5:05 PM Billy McIntosh notifications@github.com wrote:
To be honest, I don't think it's going to be a hugely requested feature.
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183764431.
On ES it's other when you try to open the file, not as text. A simpler method would be cool
What would you recommend?
On Sat, Feb 13, 2016, 5:38 PM Gabriel Redondo notifications@github.com wrote:
On ES it's other when you try to open the file, not as text. A simpler method would be cool
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183766773.
I meant on "other" section on ES.
About a simpler method, no idea, probably ftp/sftp isn't going to be a popular request, but maybe a local file picker and not depending on a external file Explorer would be helpful
Is integrating a local file picker something that would make sense? It'd require some work getting that to work in a way optimized for TV.
On Sat, Feb 13, 2016, 5:52 PM Gabriel Redondo notifications@github.com wrote:
I meant on "other" section on ES.
About a simpler method, no idea, probably ftp/sftp isn't going to be a popular request, but maybe a local file picker and not depending on a external file Explorer would be helpful
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183767539.
Yeah, that's true.
Also there is the Google Drive picker
I believe Google Drive will often be preferable as most people will likely not download many m3u8 files on their TV.
On Sat, Feb 13, 2016, 6:04 PM Gabriel Redondo notifications@github.com wrote:
Yeah, that's true.
Also there is the Google Drive picker
— Reply to this email directly or view it on GitHub https://github.com/Fleker/CumulusTV/issues/41#issuecomment-183769966.
Channels can now be imported and exported through the app
Build a two-way parser for m3u playlists. This is a common format for many people already using this technology, as opposed to the custom JSON format.
JSON might remain the primary format underneath, but make it easy to import an m3u playlist from Google Drive to be your channel list. Then make it export to that same file type.
Maybe export to both JSON and m3u.