Page 1 of 2
[Solved] Cannot add Youtube-Channel
Posted: Thu Jan 16, 2025 3:03 am
by Bro
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?
Re: Cannot add Youtube-Channel
Posted: Thu Jan 16, 2025 8:48 pm
by mik_s
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.

- Clipboard Image (5).jpg (6.28 KiB) Viewed 44319 times
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)
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

- Clipboard Image (4).jpg (9.77 KiB) Viewed 44319 times
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.
Re: Cannot add Youtube-Channel
Posted: Fri Jan 17, 2025 8:17 am
by Bro
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.
Re: Cannot add Youtube-Channel
Posted: Thu Jan 30, 2025 8:59 am
by SubJunk
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
Re: Cannot add Youtube-Channel
Posted: Thu Jan 30, 2025 9:12 am
by Bro
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.
Re: Cannot add Youtube-Channel
Posted: Thu Jan 30, 2025 7:30 pm
by SubJunk
Ah ok thanks for checking. I will try to look into it more
Re: Cannot add Youtube-Channel
Posted: Mon Feb 03, 2025 2:13 am
by Bro
Thank you.
Re: Cannot add Youtube-Channel
Posted: Mon Feb 03, 2025 7:36 pm
by SubJunk
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
Posted: Mon Feb 03, 2025 9:09 pm
by Bro
How do I do that?
Re: Cannot add Youtube-Channel
Posted: Tue Feb 04, 2025 8:38 pm
by SubJunk