Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Dynamic filename processor #2

Closed
McSinyx opened this issue May 23, 2017 · 1 comment
Closed

Dynamic filename processor #2

McSinyx opened this issue May 23, 2017 · 1 comment

Comments

@McSinyx
Copy link
Owner

McSinyx commented May 23, 2017

From now, comp entries will have this structure:

[{'filename': 'https://foo.bar/baz',
  'title': 'foobar title',
  'duration': '00:00:00',
  'error': False,
  'playing': False,
  'selected': False},
 {'filename': '/foo/bar/baz',
  'title': 'foobaz title',
  'duration': '00:00:00',
  'error': False,
  'playing': False,
  'selected': False}]

I want to write a function that recognize then open these kinds of filenames and return the above data:

  • Online playlist supported by youtube-dl
  • Local playlist in JSON (same structure, just json.load)
  • Online video support by youtube-dl
  • Direct URL to video file
  • Local video
  • youtube-dl search

Not sure if this is possible though.

@McSinyx
Copy link
Owner Author

McSinyx commented May 28, 2017

Solved in 5be79fd.

@McSinyx McSinyx closed this as completed May 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant