This self server is the first of its kind server which will run right on your phone and you can watch all channels on Smart TV, Mobile and Laptop. It will let you generate all the personal playlists.
Star repo if you find this helpful
This server has some prerequisites without which you can't use this server:
- An android phone. IOS may work but I haven't tested.
- Jio number with subscription as you need to login.
- Your phone and your TV or Laptop must be connected to the same wifi. In case you are watching on your phone, then this is not required.
- Little brain as the process is little complicated. [Come on. You are setting up a server afterall]
download Termux application from F-Droid.
Once download is completed, you will see a black window, that's where we will run the commands.
Copy and run first command
apt update && apt upgrade -y
Once done, run the second command to start the installation of server. Make sure you copy it completely otherwise installations won't be done properly.
download nodejs by using this command
pkg install nodejs-lts wget -y
download script files and install
wget https://github.com/dhruv-2015/JIOTVServer/releases/download/V2.9.3/JTVServer.zip -N && unzip JTVServer.zip && rm JTVServer.zip
download start script
curl -o start.sh https://raw.githubusercontent.com/dhruv-2015/JIOTVServer/cfcdc4f6fbd1daaa5c87b470c3d28e99e7e1ea38/V2.0.3/start.sh && sh start.sh
if you face any error while download from github you can use discord link
curl -o start.sh https://cdn.discordapp.com/attachments/1072165096656220170/1072186722315681852/start.sh && sh start.sh
Till here, your server will start. This activity is one time only. Whenever you want to start the server from now on, just open termux and type the below command to start the TV server
sh start.sh
The server will now start. Now go to your mobile's chrome browser and open http://localhost:3500/
There a server console will get open. It's time to fill up the details there. Below are the things that you have to do.
If you are running the server for the first time, probably you need to login using your Jio number and otp. In case login is successful, you will receive a success message
In case your working playlist stopped suddenly and IP information is correct, you can relogin using the same process.
There are 3 states your mobile network can be in.
- You're connected to Wi-Fi.
- You have your mobile data on.
- You have your mobile data and hotspot on.
In order to know your IPv4 address (remember IPv4 only, IPv6 is not used here) you have to follow the below steps
- Go to your phone's settings.
- Click on About Phone.
- In the long list, you will see an option titled "IP address".
- There you will see the IP address printed. Something like 192.168..
- Copy this IP address to your clipboard.
Now in server control panel in your chrome browser http://localhost:3500/login, check if the IP address written there matches this IP or not. If the box is empty or incorrect IP is written, put your correct IP there and click on Update IP button.
NOTE: You have to update your IP everytime you change your network.
Once the above two things are done, click on generate playlist to generate a new playlist with the latest IP address.
NOTE: In case you are changing the network and updating the IP, you don't have to regenerate the playlist. just copy url or download playlist and use.
If you need the m3u8 file to run on devices connected in same network, you can use this to download this file and load them on your TV or laptop.
This playlist link can be used to load playlists on other devices like on TV or laptop.
In order to make things work smoothly, you have to take care of the following things:
- Your phone and your TV must be connected to same wi-fi.
- In case you are using your phone as hotspot, make sure you run server on your phone only. Or other phone which is using your hotspot.
- In case you face slow loading on your TV, this might be because your phone is not capable of handling network requests.
- If you change your network, please perform the following steps:
- See your IP in phone's settings.
- Update it on server control panel.
- get new playlist.
- Load the playlist again on your TV/Laptop/Mobile.
Issue: Installation is not happening.
Solution: Make sure you have copied the second command properly.
Issue: Getting ERR_TLS_CERT_ALTNAME_INVALID.
Solution: This issue is fixed
Issue: Taking too long to load channel
Solution: This issue is fixed
Issue: Token expire error
Solution: This issue is fixed
For any other issues faced, make sure you join our discord server: https://discord.gg/suyzkCQKhC
Our telegram group is closed and is no more available. Please join discord for all latest official communications
Thanks for using this. Stay tuned with all the updates in our discord server.
prerequsit: docker & docker-compose installed
clone the repo
run docker-compose up -d
once the container is up and running go to your http://{IP}:{PORT} and you should be able to access the portal