Project

General

Profile

M3U / Ubuntu

Added by wolly wonka about 3 years ago

Instead of loading the m3u file from the stream link like http://streamlink:80/get.php?username= I just made my own m3u with a few channels I want. I'm on Ubuntu and loaded the m3u from documents trying file:///home/oem/tv-tvh.m3u but it will not load. Works with the stream link but it will take 3 days to load thousands of channels I do not want. Any help is appreciated thanks.


Replies (11)

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

For the xmltv what do I edit to add in the xmltv link i have

"channel_rename": false,
"channel_renumber": false,
"channel_reicon": false,
"epgdb_periodicsave": 0,
"epgdb_saveafterimport": false,
"cron": "# Default config (00:04 and 12:04 everyday)\n4 */12 * * *",
"ota_initial": true,
"ota_cron": "# Default config (02:04 and 14:04 everyday)\n4 2 * * *\n4 14 * * *",
"ota_timeout": 600,
"modules": {
"/snap/tvheadend/184/usr/bin/tv_grab_zz_sdjson_sqlite": {
"class": "epggrab_mod_int_xmltv",
"dn_chnum": 0,
"name": "XMLTV: Multinational (Schedules Direct JSON web services with SQLite DB)",
"type": "Internal",
"enabled": false,
"priority": 3
},
"/snap/tvheadend/184/usr/bin/tv_grab_zz_sdjson": {
"class": "epggrab_mod_int_xmltv",
"dn_chnum": 0,
"name": "XMLTV: Schedules Direct JSON API",
"type": "Internal",
"enabled": false,
"priority": 3

RE: M3U / Ubuntu - Added by Hiro Protagonist about 3 years ago

wolly wonka wrote:

Instead of loading the m3u file from the stream link like http://streamlink:80/get.php?username= I just made my own m3u with a few channels I want. I'm on Ubuntu and loaded the m3u from documents trying file:///home/oem/tv-tvh.m3u but it will not load.

Without some idea of what your .m3u file looks like, it's impossible to say.

RE: M3U / Ubuntu - Added by Hiro Protagonist about 3 years ago

wolly wonka wrote:

For the xmltv what do I edit to add in the xmltv link i have

Probably simpler to grab the EPG with wget or curl, filter just the channels you want with tv_grep and use tv_grab_file or the API socket to send the results to TVH.

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

Thanks for reply guys, my m3u looks like so

#EXTM3U
#EXTINF:-1 tvchannel
http://youtube.com/example

Currently I changed the timeout from 15 to 5 so its almost done scanning the m3u link im using is like http://theiptv.provider:80/get.php?username=123 and so on. For the xmltv i just use xmltv.php?username= etc...

I would like to add the xmltv link into tvheadend on ubuntu

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

Hiro Protagonist wrote:

wolly wonka wrote:

For the xmltv what do I edit to add in the xmltv link i have

Probably simpler to grab the EPG with wget or curl, filter just the channels you want with tv_grep and use tv_grab_file or the API socket to send the results to TVH.

Sounds great but how ? in terminal ? paste the xmltv link someplace?

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

I have been using tvh for years on an old junk android tv box running libreelec and theres a spot to just add the xmltv file, easy done. But I threw that android box in the woods where it belongs and bought a new pc just for ubuntu running tvheadend and what a headache getting this going with a guide. Should be able to just load the file path to an m3u text or m3u and load but nope, xmltv link ? umm lol jesus.

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

Scans almost done, only about 300 channels are english should be fun going through 100 pages of unchecking channels i dont want.

TVH.jpg (42.8 KB) TVH.jpg

RE: M3U / Ubuntu - Added by G Kazaroth about 3 years ago

Glad you got the channels loaded into TVH. It can definitely take a while, if the timeout in the Network is set too high. The info in the xmltv.xml you listed makes no sense as xmltv.xml data, so not sure really where to start. In general, a xmltv.xml file has 2 sections. The first section is the list of channels and the second section is the list of programs with start and stop times associated with each channel listed above.

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

I just got fed up trying to get it working on ubuntu and installed libreelec on my computer, everything is now setup the way i wanted and guide works perfect, thanks :) Libreelec is the only way to go in my opinion it just works without the nightmare. Theres a spot to put your m3u file and a spot to paste your xmltv file so easy.

RE: M3U / Ubuntu - Added by wolly wonka about 3 years ago

I do have 1 question though, how do you remove the settings tab when you login via browser so you cant see the settings unless your logged in ? thnx

RE: M3U / Ubuntu - Added by saen acro about 3 years ago

wolly wonka wrote:

I do have 1 question though, how do you remove the settings tab when you login via browser so you cant see the settings unless your logged in ? thnx

From profile permissions

    (1-11/11)