Closed markkorput closed 8 years ago
This would be really nice.
I don't really have the time, nor inclination to continue working on this project, but if you're interested in helping out I'd love to open the project up. I can help with code review and build automation.
Currently the build got broken after merging in a slightly over-zealous pull request that seems to crash the test runner or python instance.
I understand, I intend to make a pull request for every "feature request". Note that pull request #52 implements this and it seems to work fine, but I haven't extensively tested it.
Thanks Mark, I really appreciate your contribution! This project hasn't seen much love for a year or so!
this is a great idea to put this into project. If you can do this starting another file without spawning another process woud be even cooler.
@aresstokrat that would be ideal, yea, unfortunately omxplayer doesn't currently seem to expose an (dvus) interface to load files dynamically so I don't think this is possible. Unless you have suggestions?
Note that otherwise the load functionality is working and implemented in pull request #52 @willprice any reason what that hasn't been merged in?
Completed in #57
Hi, I want to use youtube-dl with OMXPlayer ... Is that possible?? var url = "https://www.youtube.com/watch?v=TN0cxBYh8t8";
child = spawn('omxplayer', [{$(youtube-dl -g url} , config.position, config.width, config.height], {
cwd: 'modules/MMM-Screencast'
}
I know this one alone in shell works omxplayer -o hdmi $(youtube-dl -g 'https://www.youtube.com/watch?v=frH9HaQTFL8')
how can I use with spawn -- Please guide.. Thanks MK
Hi @manojjenago you'll want to download to a temporary file descriptor and then use this as the file you call from omxplayer. This is an issue tracker for problems with omxplayer-wrapper and not general questions on how to build applications; you'd be better off on the RPi forums seeking this sort of advice.
Thanks,
Hi, I want to use youtube-dl with OMXPlayer ... Is that possible?? var url = "https://www.youtube.com/watch?v=TN0cxBYh8t8";
child = spawn('omxplayer', [{$(youtube-dl -g url} , config.position, config.width, config.height], { cwd: 'modules/MMM-Screencast'
}
I know this one alone in shell works omxplayer -o hdmi $(youtube-dl -g 'https://www.youtube.com/watch?v=frH9HaQTFL8')
how can I use with spawn -- Please guide.. Thanks MK
Hllow i was doin so back then, u could, but i didnt used youtube-dl, i was used pytube, so basically paytube is for management youtube stuff inside python code.
This would probably still involve killing any existing omxplayer process and spawning a new process, but would make it easier for the caller to;
do
and then
and the second video would be played with the same options ('--no-osd --adev local -b').