Forums » Tutorial and setups »
TVH to TVH feed , pipe + Wget with scripting
Added by ermos jevohan about 8 years ago
Hello,
I have two TVH (Version 4.1-2236) in two computers and I wish to get them together into just one TVH.
I am able to move all channels with an m3u by creating just one mux but I do not prefer this method.
I'd like to learn how to do piping with 'm3u + bash script' .
$channel_name: defined channel name coming after #EXTINF in m3u
Mux URL: pipe:///root/stream.sh $channel_name
I expect to get "Wget/1..* (Linux-gnu)"* explanation under "Status" -> at "Subscriptions" field -> in "title" field.
Also I do not wish to see the main source URL in panel, it will be kept under root in an m3u file only.
I tested some bash scripts under proper chmod and chown settings but not reading sources.
Sources play well in VLC.
The problem is I do not know the content of stream.sh file
I am sure that some experts are doing like this way but I do not know what is written inside stream.sh
I'd appreciate if anybody could lead me a link or provide an explanation to get rid of this problem.
Many thanks
Ermos
Replies (2)
RE: TVH to TVH feed , pipe + Wget with scripting - Added by Mark Clarkstone about 8 years ago
ermos jevohan wrote:
Hello,
I have two TVH (Version 4.1-2236) in two computers and I wish to get them together into just one TVH.
I am able to move all channels with an m3u by creating just one mux but I do not prefer this method.
I'd like to learn how to do piping with 'm3u + bash script' .$channel_name: defined channel name coming after #EXTINF in m3u
Mux URL:pipe:///root/stream.sh $channel_name
I expect to get "Wget/1..* (Linux-gnu)"* explanation under "status" -> at "users" field -> in "title" field.
Also I do not wish to see the main source URL in panel, it will be kept under root in an m3u file only.I tested some bash scripts under proper chmod and chown settings but not reading sources.
Sources play well in VLC.
The problem is I do not know the content of stream.sh file
I am sure that some experts are doing like this way but I do not know what is written inside stream.shI'd appreciate if anybody could lead me a link or provide an explanation to get rid of this problem.
Many thanks
Ermos
If they are on the same network why not just use SAT>IP?
RE: TVH to TVH feed , pipe + Wget with scripting - Added by ermos jevohan about 8 years ago
Hello,
Servers are at different locations.
By the way, after testing some other commands, now I am recording real-time streams with wget as root, saving to tvheadend folder, tvh simultaneously starts piping saved files.
That is fairly enough for my needs.
Many Thanks
Ermos