If you’re not aware, ToonamiAftermath is a site that emulates the old Toonami broadcasts from the 90s. I wanted to be able to access the streams outside of the web browser, and after a little bit of tinkering I found a way to pipe the streams into Plex or Jellyfin (and probably anything else that handles IPTV) and figured I’d share with you all.
Requirements
- Docker (I’m using windows but it can also be installed on Linux or Mac)
- An account on docker hub to pull docker images
- Christopher102994’s ToonamiAftermath docker image
- A Plex or Jellyfin server
- xTeVe (if using Plex)
- *FFmpeg (only if using Plex, and only if you encounter buffering issues)
Preparation (Plex/Jellyfin/etc agnostic)
- Install Docker
- Create a directory folder to hold the config files of the toonami docker image
- I just put a folder named “Toonami” on my desktop
- Open a command prompt window and paste the following code, making sure to edit the path name with the folder path that you created in the previous step
docker run --name=docker-toonamiaftermath -p 8000:8000 -v C:/Users/restingcarcass/Desktop/Toonami:/config --restart unless-stopped christopher102994/docker-toonamiaftermath:ubuntu-18-latest
-
Modify this bit: C:/Users/restingcarcass/Desktop/Toonami:/config so that it is [Your Path]:/config
-
Wait while the command executes, and hit ‘Allow access’ if you are prompted by Windows Security. You’ll know the command is done running once you are able to access http://localhost:8000/ and pull up a website with the title “Toonami Aftermath Scraper.” Once you can resolve that webpage you can close the open command prompt window
-
After closing the command prompt, the docker container that you just created will cease running. Re-start the container by opening docker desktop and clicking the ‘start’ triangle next to the “docker-toonamiaftermath” container. You can now hit the X/close button on docker desktop and it will continue to run in your system tray
-
You now have access to the .M3U playlist and the .XML files that will be needed to configure your IPTV. The links to each are: http://localhost:8000/ToonamiAftermath.m3u and http://localhost:8000/ToonamiAftermathGuide.xml
Plex instructions
- Download and run xTeVe, making sure to Allow Access to your network when prompted by Windows Security
- Do not close the .exe window for xTeve, it needs to stay open the whole time or the service will break. Recommend setting up this .exe as a windows service using NSSM so that it silently runs in the background
- Find the web interface line and copy the link that says “http://[yourip]:34400/web/” and paste it into your browser
- You’ll be taken to a configuration page. Enter in these settings when prompted:
- Number of tuners: 8 (no idea what this means but I like the number 8)
- EPG source: XEPG
- File path of M3U Playlist: http://localhost:8000/ToonamiAftermath.m3u
- File path of XMLTV file: http://localhost:8000/ToonamiAftermathGuide.xml
- You’ll now be on the main page. On the left-hand side of the page, click on ‘Mapping.’ Note that there are red lines next to all 8 channels
- One-by-one, click each channel name and change “XMLTV File:” to XMLTV, and “XMLTV Channel” to the appropriate channel name
- Once done each channel should have a green line next to it, indicating that it is now active
- Save your changes by clicking the ‘Save’ button in the upper left-hand corner of the page
- Open up Plex, go to the admin dashboard view, then down to ‘Manage’ and click ‘Live TV & DVR’
- Click ‘Set Up Plex DVR’
- Most likely Plex won’t find anything on the network - this is fine, just click the orange text to set up the network address manually
- Enter in “http://localhost:34400” as the network address, then click the orange text near the bottom that says “Have an XMLTV guide on your server? Click here to use it”
- Enter in “http://localhost:34400/xmltv/xteve.xml” as the XMLTV Guide path and hit Continue
- Hit continue again, then click ‘View the Guide’ to be taken to the Live TV tab
- If you did everything correctly, your page should look something like this
Known bugs
- Live TV usually doesn’t work for me when using the Plex app on my PC. Not really sure why but it happens to a lot of people. To get around this, open up Plex in your web browser and play the streams from there. The PC app is the only app that gives me issues: Live TV streaming works fine from the Plex app on my android phone, Roku, and Apple TV
- If you run into excessive buffering or ‘Could not tune channel’ issues, FFmpeg can fix it. Install FFmpeg and go back to your xTeVe web interface, then go to Settings > Streaming > Stream Buffer and change it from ‘No Buffer’ to ‘FFmpeg’
- Make sure to change ‘FFmpeg Binary Path’ to the path where your ffmpeg.exe is located. Mine looks like this: C:\ffmpeg\bin\ffmpeg.exe
- hit Save, then try loading your stream again
Jellyfin instructions
- Much simpler than Plex because you don’t have to go through xTeVe. Recall that in the Preparation instructions you created .M3U and .XML links at the following locations: http://localhost:8000/ToonamiAftermath.m3u and http://localhost:8000/ToonamiAftermathGuide.xml
- Go to Dashboard > Live TV
- Click the plus sign next to Tuner Devices
- Change Tuner Type to M3U Tuner
- In File or URL, enter “http://localhost:8000/ToonamiAftermath.m3u” and hit Save
- Click the plus sign next to TV Guide Data Providers
- Select XMLTV
- In File or URL, enter “http://localhost:8000/ToonamiAftermathGuide.xml” and hit Save
- Go back to your homepage, click Live TV and go to the Guide tab
- Your page will look something like this
- FFmpeg doesn’t seem to be necessary, the stream has worked on all devices I’ve tested so far
Known bugs
- As you probably noticed, the guide doesn’t populate. I’m not sure why this is and I haven’t been able to fix it. Hopefully somebody else figures this out because I’ve searched all over and couldn’t find anything ¯\(ツ)/¯
Oooo this is really cool