Fleker / CumulusTV

Android TV Live Channel Plugin with user-entered stream files
MIT License
185 stars 72 forks source link

HDHomerun Integration not working #258

Open adelatour11 opened 7 years ago

adelatour11 commented 7 years ago

Hello

I am having some troubles to get Cumulustv to work with my HDHomerun connect.

I created a m3u8 file to test for one channel provided through my HDHomerun

EXTM3U

EXTINF:1,1: TF1

http://mylocalip:5004/auto/v1?transcode=native

then i uploaded the m3u file to my public dropbox

When i want to create a channel, i paste the public url of the m3u file and the stream is not opened

i've seen some posts here where you stated that the direct stream should be supported

I'm really digging into this, to find a suitable way to watch my hdhomerun stream with cumulustv, it's the final step to the perfect htpc experience for me

However I did not find the process or way to make it work yet, can you help me to sort it out, i'd be happy to share any info with the community, and if it finally works i'll publish some how-to thanks for your work and help !!

adelatour11 commented 7 years ago

here is the complete m3u playlist i would like to use in CumulusTv

For information, each url works perfectly in VLC

#EXTM3U
#EXTINF:1,1: TF1
http://myhdhomerun:5004/auto/v1?duration=7200
#EXTINF:2,2: France 2
http://myhdhomerun:5004/auto/v2?duration=7200
#EXTINF:3,3: F3 Paris Ile-de
http://myhdhomerun:5004/auto/v3?duration=7200
#EXTINF:4,4: CANAL+
http://myhdhomerun:5004/auto/v4?duration=7200
#EXTINF:5,5: France 5
http://myhdhomerun:5004/auto/v5?duration=7200
#EXTINF:6,6: M6
http://myhdhomerun:5004/auto/v6?duration=7200
#EXTINF:7,7: Arte
http://myhdhomerun:5004/auto/v7?duration=7200
#EXTINF:8,8: C8
http://myhdhomerun:5004/auto/v8?duration=7200
#EXTINF:9,9: W9
http://myhdhomerun:5004/auto/v9?duration=7200
#EXTINF:10,10: TMC
http://myhdhomerun:5004/auto/v10?duration=7200
#EXTINF:11,11: NT1
http://myhdhomerun:5004/auto/v11?duration=7200
#EXTINF:12,12: NRJ12
http://myhdhomerun:5004/auto/v12?duration=7200
#EXTINF:13,13: LCP
http://myhdhomerun:5004/auto/v13?duration=7200
#EXTINF:14,14: France 4
http://myhdhomerun:5004/auto/v14?duration=7200
#EXTINF:15,15: BFM TV
http://myhdhomerun:5004/auto/v15?duration=7200
#EXTINF:16,16: i>TELE
http://myhdhomerun:5004/auto/v16?duration=7200
#EXTINF:17,17: CSTAR
http://myhdhomerun:5004/auto/v17?duration=7200
#EXTINF:18,18: Gulli
http://myhdhomerun:5004/auto/v18?duration=7200
#EXTINF:19,19: France O
http://myhdhomerun:5004/auto/v19?duration=7200
#EXTINF:20,20: HD1
http://myhdhomerun:5004/auto/v20?duration=7200
#EXTINF:21,21: Equipe 21
http://myhdhomerun:5004/auto/v21?duration=7200
#EXTINF:22,22: 6ter
http://myhdhomerun:5004/auto/v22?duration=7200
#EXTINF:23,23: Numero 23
http://myhdhomerun:5004/auto/v23?duration=7200
#EXTINF:24,24: RMC Découverte
http://myhdhomerun:5004/auto/v24?duration=7200
#EXTINF:25,25: Cherie 25
http://myhdhomerun:5004/auto/v25?duration=7200
#EXTINF:26,26: LCI
http://myhdhomerun:5004/auto/v26?duration=7200
#EXTINF:27,27: franceinfo
http://myhdhomerun:5004/auto/v27?duration=7200
#EXTINF:30,30: BFM Paris
http://myhdhomerun:5004/auto/v30?duration=7200
#EXTINF:31,31: Canal 31
http://myhdhomerun:5004/auto/v31?duration=7200
#EXTINF:32,32: IDF1
http://myhdhomerun:5004/auto/v32?duration=7200
#EXTINF:33,33: France 24
http://myhdhomerun:5004/auto/v33?duration=7200
#EXTINF:34,34: Canal 34
http://myhdhomerun:5004/auto/v34?duration=7200
#EXTINF:5000,5000: CANAL+
http://myhdhomerun:5004/auto/v5000?duration=7200
adelatour11 commented 7 years ago

In addition i have found that the url can be tweaked to enable transcode if needed in HDHomerun http://www.silicondust.com/hdhomerun/hdhomerun_http_development.pdf and https://www.silicondust.com/hdhomerun/hdhomerun_development.pdf

And i found out where i could get automatically the json provided by my HDHomerun

[{"GuideNumber":"1","GuideName":"TF1","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v1"},{"GuideNumber":"2","GuideName":"France 2","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v2"},{"GuideNumber":"3","GuideName":"F3 Paris Ile-de","VideoCodec":"H264","AudioCodec":"MPEG","HD":1,"URL":"http://myhdhomerun:5004/auto/v3"},{"GuideNumber":"4","GuideName":"CANAL+","VideoCodec":"H264","AudioCodec":"MPEG","URL":"http://myhdhomerun:5004/auto/v4"},{"GuideNumber":"5","GuideName":"France 5","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v5"},{"GuideNumber":"6","GuideName":"M6","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v6"},{"GuideNumber":"7","GuideName":"Arte","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v7"},{"GuideNumber":"8","GuideName":"C8","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v8"},{"GuideNumber":"9","GuideName":"W9","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v9"},{"GuideNumber":"10","GuideName":"TMC","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v10"},{"GuideNumber":"11","GuideName":"NT1","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v11"},{"GuideNumber":"12","GuideName":"NRJ12","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v12"},{"GuideNumber":"13","GuideName":"LCP","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v13"},{"GuideNumber":"14","GuideName":"France 4","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v14"},{"GuideNumber":"15","GuideName":"BFM TV","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v15"},{"GuideNumber":"16","GuideName":"i>TELE","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v16"},{"GuideNumber":"17","GuideName":"CSTAR","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v17"},{"GuideNumber":"18","GuideName":"Gulli","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v18"},{"GuideNumber":"19","GuideName":"France Ô","VideoCodec":"H264","AudioCodec":"AC3","URL":"http://myhdhomerun:5004/auto/v19"},{"GuideNumber":"20","GuideName":"HD1","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v20"},{"GuideNumber":"21","GuideName":"L'Equipe 21","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v21"},{"GuideNumber":"22","GuideName":"6ter","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v22"},{"GuideNumber":"23","GuideName":"NUMERO 23","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v23"},{"GuideNumber":"24","GuideName":"RMC Découverte","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v24"},{"GuideNumber":"25","GuideName":"Chérie 25","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v25"},{"GuideNumber":"26","GuideName":"LCI","VideoCodec":"H264","AudioCodec":"AC3","URL":"http://myhdhomerun:5004/auto/v26"},{"GuideNumber":"27","GuideName":"franceinfo:","VideoCodec":"H264","AudioCodec":"AC3","URL":"http://myhdhomerun:5004/auto/v27"},{"GuideNumber":"30","GuideName":"BFM Paris","VideoCodec":"H264","AudioCodec":"AC3","HD":1,"URL":"http://myhdhomerun:5004/auto/v30"},{"GuideNumber":"31","GuideName":"Canal 31","VideoCodec":"H264","AudioCodec":"MPEG","URL":"http://myhdhomerun:5004/auto/v31"},{"GuideNumber":"32","GuideName":"IDF1","VideoCodec":"H264","AudioCodec":"MPEG","URL":"http://myhdhomerun:5004/auto/v32"},{"GuideNumber":"33","GuideName":"France 24","VideoCodec":"H264","AudioCodec":"MPEG","URL":"http://myhdhomerun:5004/auto/v33"},{"GuideNumber":"34","GuideName":"Canal 34","VideoCodec":"H264","AudioCodec":"AC3","URL":"http://myhdhomerun:5004/auto/v34"},{"GuideNumber":"5000","GuideName":"CANAL+","VideoCodec":"H264","AudioCodec":"AC3","URL":"http://myhdhomerun:5004/auto/v5000"}]

Fleker commented 7 years ago

That JSON is not formatted the same as the one used internally. The M3u list would work better.

I imagine the video stream is one currently not supported by the app.

HDHomeRun has its own Live Channels supported app.

adelatour11 commented 7 years ago

Yes but the HDHomerun lacks timeshiftting features :( I was hoping that Cumulus TV would replace HDHomerun limited features

ghost commented 7 years ago

Il me semble que j'ai lu il y a quelques mois que l'app hdhomerun support le timeshiftting mais pas dans Live Channels juste dans leur app, c'est peut etre la version beta sur le store. mais je me demande si c'est pas réservé au Kickstarter supporters or HDHomeRun DVR subscriber aussi. enfin sinon je sais pas pour ton soucis mais il doit y avoir moyen d'utiliser dans cumulus vu que l'app de hdhomerun peut aussi envoyer la liste des chaines sur Live Channel, c'est donc que le lecteur peut bien lire les flux vidéo je suppose.

Peut etre essaye de supprimer ?duration=7200 dans la m3u ? enfin je dis ca mais je sais pas.. 😄

edit j'ai trouver ca https://forum.silicondust.com/forum/viewtopic.php?t=63760 ils arrivent à faire du timeshifting visiblement

adelatour11 commented 7 years ago

Indeed @JeanPrendnote it seems that the DVR features are only available through subscription from SiliconDust (60$ per year which is overpriced i think if i can get timeshiftting features from an existing app).

I wanted to check with you @Fleker if it was possible to bypass this SiliconDust app limitation by using the CumulusTV app instead...

As stated above, VLC can stream all HDHomerun channels, even pause the video in android, i'm having difficulties to understand what stops CumulusTV to stream the live tv from HDHomerun. Is it a format problem or is it my way to specify the url to be played in the CumulusTv app

Fleker commented 7 years ago

VLC uses a different media player. I use ExoPlayer. My guess is that the HDHomeRun is using MPEG2-TS streams which is not supported in my app.

adelatour11 commented 7 years ago

indeed it streams MPEG-TS format, so i guess there is no integration planned for hdhomerun in cumulus tv yet ?

Fleker commented 7 years ago

It's not on the current roadmap

loueradun commented 7 years ago

@Fleker MPEG2-TS was added in exoplayer2. I don't have any issue playing MPEG2-TS with AC3 on my Shield (passthrough used for the Dolby audio).

Fleker commented 7 years ago

Looks like it does support TS in ExoPlayer 2. Issue re-opened.

garybuhrmaster commented 7 years ago

Note that Google has updated their Live TV app to support a beta network channel provider (i.e. the SiliconDust HDHR devices). And the Google Live TV app has been updated to support beta dvr functionality recording to an external drive. Support currently limited to US devices and US guide data, but it may be a viable way forward for some, eventually. The announcement was noted at: https://forum.silicondust.com/forum/viewtopic.php?f=116&t=64178#p288344