Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use m3u playlist spec for import/export #41

Closed
Fleker opened this issue Aug 31, 2015 · 22 comments
Closed

Use m3u playlist spec for import/export #41

Fleker opened this issue Aug 31, 2015 · 22 comments
Milestone

Comments

@Fleker
Copy link
Owner

Fleker commented Aug 31, 2015

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.

@bgiesing
Copy link

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
#41.

To unsubscribe click: http://email.giesing.cf/u/eJwljsFqwzAQBb_GPgZpJa-0Bx3clFLaQCGX1L2tZK1jGsfB2Cnp19e47zCnxzBtQOQEZR_29fsyuu_T2xddm8MPDaf8fL8f_eg_buMDr4va1_NL4w7T7-eri8107AqrBu4vu25jGofyHITRGBJHDG22TrQyTAZJJFXJeiynMOXb5VHAk1LOrz-ns3c5WRLE6NsqMnoTQZirnLO01rIClcgTJFH_01pL8rCqgTVSygqNFWNpTdr0u66fz0vcouZQQP0HBlhGIQ

@Fleker
Copy link
Owner Author

Fleker commented Aug 31, 2015

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.

@Fleker
Copy link
Owner Author

Fleker commented Oct 23, 2015

I think I found some code that can do this. I'll see if I can integrate that at some point.

@Fleker
Copy link
Owner Author

Fleker commented Nov 26, 2015

Import works. Export has not been implemented yet. It will soon along with individual channel sharing options.

@redondogabriel
Copy link

How to import?

@Fleker
Copy link
Owner Author

Fleker commented Jan 13, 2016 via email

@Fleker Fleker modified the milestone: v1.5 Jan 31, 2016
@billymcintosh
Copy link

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.

@redondogabriel
Copy link

Use a file Explorer, try to open the file, a cumulus action handler should appear

@billymcintosh
Copy link

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.

@billymcintosh
Copy link

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.

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@billymcintosh
Copy link

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.

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@billymcintosh
Copy link

To be honest, I don't think it's going to be a hugely requested feature.

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@redondogabriel
Copy link

On ES it's other when you try to open the file, not as text. A simpler method would be cool

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@redondogabriel
Copy link

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

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@redondogabriel
Copy link

Yeah, that's true.

Also there is the Google Drive picker

@Fleker
Copy link
Owner Author

Fleker commented Feb 13, 2016

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
#41 (comment).

@Fleker Fleker modified the milestones: v1.5, v1.6 Aug 16, 2016
@Fleker
Copy link
Owner Author

Fleker commented Dec 19, 2016

Channels can now be imported and exported through the app

@Fleker Fleker closed this as completed Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants