Moving from Shield-is Linux good for YTTV TVE?

I agree 100%! While you can run Docker on Windows, just saying that makes me cringe. The issue is that Docker on Windows relies on nested virtualization (a virtualized environment running inside another virtualized environment), which is inherently resource-heavy. Plus, Windows Docker Desktop is a massive resource hog compared to a lean Ubuntu Server setup.

For example, I run Docker on an Ubuntu Server with about 25 containers, including a CodeProject.AI container for Blue Iris. That particular container is pretty resource-intensive, constantly processing images and analyzing for people, cars, etc. Despite this, my server’s resource utilization is astonishingly low—something I could never achieve with Docker on Windows.

Another great feature of running Docker on Linux is macvlan networking. This allows your containers to have their own unique IP addresses on your local network, making them accessible like any other device. This is incredibly useful if you need certain containers to act as first-class citizens on your network, with their own distinct identities.

Ubuntu Server keeps things efficient, powerful, and flexible. It’s hard to go back once you see the difference

1 Like

Well I got it to work on Linux sort of. I have access to my recordings and live TV from my HDHomerun and some TVE from YTTV. Some TVE channels never start. The vid quality is horrible from the local machine and from my windows PC as a client. This if for recordings that I did with the shield and for live TV off the HDHR. I did run the sudo adduser $(id -u -n) video && sudo adduser $(id -u -n) render and it seemed to add it. But the quality is still really poor.

As a note, I did not do anything except follow the migration guide and am using my external drive without any mods. I used the channels migration and it found the drive and I selected the backup and basically did nothing else.

So neither of these OS's have native clients. Dont use the web viewer as a test it always transcodes, try with a proper client.

Is that just a Linux thing? I could always watch on my windows laptop from the shield. Anyway, it looks like it works pretty well using my shield as the client. Video looks fine. But playing a live stream from TVE has frozen a couple times. The second time I found the Linux server has changed its IP address for some odd reason. Also, in settings->General->network discovery it is showing Advertising via 2 local networks showing two IP addresses. I do not remember it doing that with the shield installation. Should I set it to a static IP?

No, the quality should be the same as it was with the shield. Is the setting under settings, advanced, web player set to 8 or 10mb? Does the external hard drive have its own power source or does it rely on the usb port from the Beelink for power?

On the interfaces, are you connected to Ethernet cable and also WiFi? I would remove WiFi credentials entirely from it so it doesn’t try to use it. It kinda sounds like it’s bouncing back and forth from WiFi to Ethernet and that is why you are seeing ip changes. I would set a dhp reservation in the router anyway.

Thanks! The WiFi was the issue. I am on only Ethernet now and that seems to be stable. I will check the web player settings. The drive has its own power. Speaking of which, I was testing the power failure restart and the drive turned off. I went through your notes on mounting on startup and that is done now. But I cannot get the drive to mount. I hit the play button on the drive GUI and get an error mounting system managed device. Unknown error when mounting/mtg/wmm..... (udisks-error-quark,0)

Everything was working before I tried the power off test. I only took the power of the Beelink and not the drive. The drive turned itself off when the Beelink was off. I can hear it running, and Ubuntu sees it, but it will not mount.

Did you set a mount point for the drive ?

After a ton of learning, I have what I think will be a stable system! It seems more peppy than the shield. Everything is working including TVE. The external drive issue was odd. For some reason Channels would not recognize it suddenly. I went into the Channels interface and remapped the drive. It somehow now shows up as some weird alpha numeric name, but it works now.
Main learnings:

  1. The Beelink is a cool little box. I comes with Win11Pro so that is an option if you do not want linux. It is a great deal at less than $150.
  2. If you go with Linux, do it with a clean installation. The linux install will give you the option to wipe the W11 install.
  3. You need to have some patience when you try to get the channels code loaded. The sudo and curl stuff was unknown to me. I just hacked on it and kept trying stuff, then suddenly it installed.
  4. I was shocked that I did not have to do anything to get TVE working. My system worked with TVE on the shield before I started having google authentication issues. But with this install, everything is working again with no extra effort. Comskip is also working while the show is recording so that is also great.
  5. The Ubuntu desktop is kind of spartan and it was not simple to find stuff. Perhaps another version would be more windows like.
    All in all, it was a lot of tinkering, but this forum has some awesome people to help! Thanks to all!

There seems to be some teething issues now. For my TVE channels, I am getting a chrome failed to start error. I am using Chromium. I looked around this forum then remoted in. Ubuntu wanted a bunch of updates so I did those. Then rebooted the server. Now it seems to work but I am not sure if I fixed anything or if it just want me to log in. Any ideas?

did you check out this thread....

Step-by-Step Guide: Installing Ubuntu Server, Channels DVR, and YTTV TVE - Hosting - Channels Community

Yes I did. But it was working well for a couple of weeks. As noted, I am a total newbie with Ubuntu. So going in and doing a pile of command line things that I know nothing about is uncomfortable. I would like to learn what is actually happening. Is this a snap issue? Or is it that I'm using chromium instead of Chrome? I don't get how it is working again with only OS updates and a reboot.

Start over using my tutorial and you wont have an issue. I explain each command in detail.

If you don’t want to start over just uninstall chromium and install chrome.
To uninstall the chromium-browser and xvfb packages on Ubuntu, use the following command:

sudo apt-get remove --purge chromium-browser xvfb

Then run:

sudo apt-get autoremove

Then run:

sudo apt-get clean

Then you need to install chrome by running these commands:

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Then:

echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list

Then:

sudo apt-get update

Then:

sudo apt-get install google-chrome-stable

You can then find the app in the app library click on it and make it default.

Run this command every month or so to update and install packages:

sudo apt update && sudo apt upgrade -y

OK, I followed this and it is still working. But Chromium is still there. When I ran your first line it gives a message that Package 'chromium-browser' is not installed so not removed. AND package xvfb is not installed,...
I still can launch chromium from the desktop. How do I tell what Channels is using? Does it matter that chromium is still there? I would prefer not to start over.

Hmm. Looking at version numbers, it looks like Channels is still using Chromium so I need to get rid of it.

I assumed you followed the instructions on how to install chromium from the channels dvr for Linux page. How did you install chromium?

I am fairly certain that is what I did. I don't know how to do it any other way.

Try:

sudo apt remove --purge chromium-browser
sudo apt autoremove --purge

If that doesn’t work try going into the software center and searching for chromium, click on it and the click remove.

If you used snap try

sudo snap remove chromium

I removed it from the software center. I then rebooted. I then tried running your commands again, and it says that chromium is not installed. BUT- if I go into Channels and run the troubleshooting, the TVE shows that the version number for Chrome is different than the Chrome version that is on the server. It still shows the Chromium version. I guess since it is still working, I will leave it. I may have to rebuild the whole thing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.