Jalle19 / node-ffmpeg-mpegts-proxy

Simple proxy for leveraging ffmpeg to convert any source URL into MPEG-TS over HTTP
GNU General Public License v2.0
166 stars 52 forks source link

Feature Request: Fetch token/url from ustvnow #4

Closed hpmueller1971 closed 9 years ago

hpmueller1971 commented 9 years ago

Hi,

awsome app, exactly what i was looking for my tvheadend :-)

I'm currently using url's from USTVnow fetched with ustvnow.py from http://deanvaughan.org/wordpress/2014/06/ustvnow-command-line-stream-file-generator/ which works fine for an hour or two, but then expires. My programing skills are close to zero, adapting a python script to nodejs is definatly out-of-my-league. Would you be willing to integrate support for USTVnow into the proxy (so an ustvnow-url in sources.json without the token will work), or write a short example-script on how to write a sources.json that the proxy accepts?

Regards

/hp

Jalle19 commented 9 years ago

I don't want to reinvent the wheel by including the functionality from that script into this application. That script could probably me modified to output the stream URLs and names as JSON instead of creating .strm files for XBMC. That way another small script could mangle that data into the format this application expects. The sources file is re-read everytime it changes so in theory it should work fairly well.