[Solved] Cannot add Youtube-Channel
[Solved] Cannot add Youtube-Channel
I tried to add a Youtube Channel to UMS (V. 14.10.0), but have no success. I always get the message, that the feed was not found.
I tried the channel that you used in the Knowledge Base (https://www.youtube.com/@kurzgesagt). When I open the link in the browser, I can open the channel, but not within USM.
I use Windows 11.
Do I need some additional DLL-Files or Apps, that it works?
I tried the channel that you used in the Knowledge Base (https://www.youtube.com/@kurzgesagt). When I open the link in the browser, I can open the channel, but not within USM.
I use Windows 11.
Do I need some additional DLL-Files or Apps, that it works?
- Attachments
-
- Screenshot video-feed.png (6.22 KiB) Viewed 38894 times
Re: Cannot add Youtube-Channel
I thought it might be that YouTube changed stuff again and broke this.
I have never used this myself but just tried to set it up and it is giving me a feed error when adding it. Checking the logs I see this error
So I think this might be a bug. I'll make an issue on GitHub.
It also says that the configuration will not be saved because of an error but it does anyway This caused no media to be visible on my PS4 or web player after restarting UMS.
Some people have mentioned that UMS is empty when opening it on their devices so this may be the cause.
I have never used this myself but just tried to set it up and it is giving me a feed error when adding it. Checking the logs I see this error
Code: Select all
java.lang.NullPointerException: Cannot invoke "org.jsoup.nodes.Element.attr(String)" because the return value of "org.jsoup.select.Elements.first()" is null
at net.pms.store.container.Feed.getFeedUrlFromWebpage(Feed.java:290)
at net.pms.store.container.Feed.getYouTubeChannelFeedUrl(Feed.java:310)
at net.pms.store.container.Feed.getFeedUrl(Feed.java:329)
at net.pms.store.container.Feed.<init>(Feed.java:62)
at net.pms.store.container.VideosFeed.<init>(VideosFeed.java:26)
at net.pms.store.MediaStore.setExternalContent(MediaStore.java:379)
at net.pms.store.MediaStore.setSharedContents(MediaStore.java:280)
at net.pms.store.MediaStore.discoverChildren(MediaStore.java:220)
at net.pms.store.MediaStore.reset(MediaStore.java:407)
at net.pms.renderers.Renderer.resetMediaStore(Renderer.java:275)
at net.pms.renderers.ConnectedRenderers.resetAllRenderers(ConnectedRenderers.java:354)
at net.pms.PMS.resetRenderersMediaStore(PMS.java:682)
at net.pms.configuration.sharedcontent.SharedContentConfiguration.updateSharedContent(SharedContentConfiguration.java:179)
at net.pms.configuration.sharedcontent.SharedContentConfiguration.setFromJsonArray(SharedContentConfiguration.java:208)
at net.pms.network.webguiserver.servlets.SharedContentApiServlet.doPost(SharedContentApiServlet.java:112)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
at net.pms.network.webguiserver.GuiHttpServlet.service(GuiHttpServlet.java:61)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
at org.eclipse.jetty.ee10.servlet.ServletHolder.handle(ServletHolder.java:736)
at org.eclipse.jetty.ee10.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1619)
at org.eclipse.jetty.ee10.servlet.ServletHandler$MappedServlet.handle(ServletHandler.java:1552)
at org.eclipse.jetty.ee10.servlet.ServletChannel.dispatch(ServletChannel.java:819)
at org.eclipse.jetty.ee10.servlet.ServletChannel.handle(ServletChannel.java:436)
at org.eclipse.jetty.ee10.servlet.ServletHandler.handle(ServletHandler.java:469)
at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1060)
at org.eclipse.jetty.server.Server.handle(Server.java:182)
at org.eclipse.jetty.server.internal.HttpChannelState$HandlerInvoker.run(HttpChannelState.java:662)
at org.eclipse.jetty.server.internal.HttpConnection.onFillable(HttpConnection.java:418)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:322)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:99)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:480)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:443)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:293)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:201)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:311)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:979)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1209)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1164)
at java.base/java.lang.Thread.run(Unknown Source)
It also says that the configuration will not be saved because of an error but it does anyway This caused no media to be visible on my PS4 or web player after restarting UMS.
Some people have mentioned that UMS is empty when opening it on their devices so this may be the cause.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Cannot add Youtube-Channel
Thank you for testing it.
I am reassured that the problem is not my system or even me.
It's not a big problem for me. UMS is working well so far and I can wait until I can also activate YouTube channels.
I am reassured that the problem is not my system or even me.
It's not a big problem for me. UMS is working well so far and I can wait until I can also activate YouTube channels.
Re: Cannot add Youtube-Channel
I think this should be fixed by getting the latest nightly youtube-dl version, can you please test it? https://github.com/ytdl-org/ytdl-nightl ... ube-dl.exe
Just replace the one in the UMS installation directory with that
Just replace the one in the UMS installation directory with that
Re: Cannot add Youtube-Channel
I downloaded now the sugested new youtube-dl.exe and replaced the old file in the directory C:\Program Files\Universal Media Server\bin by the new one.
It still does not work.
It still does not work.
- Attachments
-
- Screenshot 2025-01-30 020142.png (5.92 KiB) Viewed 38352 times
Re: Cannot add Youtube-Channel
Ah ok thanks for checking. I will try to look into it more
Re: Cannot add Youtube-Channel
Unfortunately I can't reproduce this problem. When I add https://www.youtube.com/@kurzgesagt it resolves the name properly. So I will need your debug logs please 

Re: Cannot add Youtube-Channel
Instructions are at viewtopic.php?f=9&t=556