Forums » Tutorial and setups »
From one server to other
Added by Cleiton Oppenheimer over 5 years ago
I have a box with a DVB receiver running android and TVH. I exported the channel list and I would like to import this m3u list into another box running Linux and TVH.
Since my first box does not allow me to change TVH parameters (user and password are reset to factory after reboot, and everything gets back to its standard values), I would like to import the channels from the first box to the second one where I am able to manage user and password.
Where should I enter the user and password into the IPTV Network (Automatic) in order to successfully import the playlist?
I have already tried http://user:password@tvh_ip:9981/playlist, the muxes are loaded, but each mux URL does not contain the user/password information.
I appreciate any help.
Cleiton
Replies (7)
RE: From one server to other - Added by saen acro over 5 years ago
Use 4.3.1300+ with persistent authentication.
http://user:password@tvh_ip:9981/playlist/auth/channels
RE: From one server to other - Added by Cleiton Oppenheimer over 5 years ago
I successfully updated to 4.3-1801~g7f952c2ed and tried to use your receipt, without success.
With wget I got the error: Bad port number.
Using this receipt directly on the browser it was understood as a Google search (???).
Removing (user:password) and /auth/channels I got bad request (error 400).
And with the standard /channels, the standard output.
Another thing I would like to mention is that my standard password has '#' character. Is that a problem?
Is there anything I need to change on the server side to enable persistent authentication?
Regards,
Cleiton
RE: From one server to other - Added by saen acro over 5 years ago
Do you set persistent authentication to user password?
use curl in place of wget to see what exactly happen
p.s.
Enable in general plain and digest authentication
p.p.s
update to 4.3.1804
RE: From one server to other - Added by Cleiton Oppenheimer over 5 years ago
Hello,
curl outputs the following: curl: (3) URL using bad/illegal format or missing URL. My password contains xxxxxx#1234. removing #1234 gives the following:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>400 Bad Request</H1>
</BODY></HTML>
For this reason I believe that #1234 is causing misunderstanding on curl/wget as it may be considering a port after '#'.
I have successfuly enabled plain and digest authentication as well persistent authentication. All these changes I am doing on the second box (the slave one).
The first box (the one generating the streams) I am not able to access the Linux part. For this reason I am not able to change password, update TVH version or enable digest/plain/persistence.
RE: From one server to other - Added by saen acro over 5 years ago
Simple: change password and test.
And if this is a problem add it to issues.
RE: From one server to other - Added by Cleiton Oppenheimer over 5 years ago
Nvm... I was able to make it work adding a blank user/password profile to the first TVH Box.... but unfortunatelly its configuration gets reset every 10 minutes, so it is useless without a way to enter user/password like Kodi does wonderfully on the client TVH box.
By the way, using '#' combined with numbers in the password and probably username messes with the receipt of http, wget and curl.
RE: From one server to other - Added by saen acro over 5 years ago
Add issue for this.
You can limit user by IP to protect from unauthorised use.