Page 1 of 1

Do you need YouTube API key?

PostPosted: Tue Mar 22, 2022 10:26 pm
by DeutscheGabanna
Hi,
do you really need a YouTube API key for a youtube.groovy plugin to work? How do I obtain such a key for free?
Is this code up-to-date?

Re: Do you need YouTube API key?

PostPosted: Tue Mar 22, 2022 10:35 pm
by DeutscheGabanna
Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA

I can go to this DLNA destination:
videos > online > googleapi

but the folder is empty

Re: Do you need YouTube API key?

PostPosted: Tue Mar 22, 2022 10:41 pm
by DeutscheGabanna
i found a detailed log of what happens once serviio tries to parse youtube stuff

Re: Do you need YouTube API key?

PostPosted: Tue Mar 22, 2022 10:47 pm
by DeutscheGabanna
Reading the debug gave me a little bit of hope, because Serviio sees the video it tried to download, but fails in the process :(
2022-03-22T23:40:36,548 DEBUG [FeedItemUrlExtractor] YouTube: Starting extraction of url for item: Ultimate Via Ferrata Experience - Singing Rock Phario | Sneak Peek 2022

2022-03-22T23:40:36,824 INFO [RendererExpirationChecker] Leaving RendererExpirationChecker
2022-03-22T23:40:36,826 DEBUG [WebResourceParser] Unexpected error during url extractor plugin invocation (YouTube) for item null: No such property: streamingFormats for class: YouTube
groovy.lang.MissingPropertyException: No such property: streamingFormats for class: YouTube

at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all.jar:2.4.12]
at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGroovyObjectGetProperty(GetEffectivePogoPropertySite.java:70) ~[groovy-all.jar:2.4.12]
at YouTube.extractUrl(Youtube.groovy:146) ~[?:?]
at org.serviio.library.online.WebResourceUrlExtractor$2.executePluginMethod(WebResourceUrlExtractor.java:45) ~[serviio.jar:?]
at org.serviio.library.online.WebResourceUrlExtractor$2.executePluginMethod(WebResourceUrlExtractor.java:42) ~[serviio.jar:?]
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50) ~[serviio.jar:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

Re: Do you need YouTube API key?

PostPosted: Sat Apr 02, 2022 9:24 pm
by Amastller
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/videos?id=W4105YMnfEA
https://berich.eu/poradniki/
I can go to this DLNA destination:
videos > online > googleapi

but the folder is empty


Thanks for bringing up this topic. We will see what the final will be. Good luck.

Re: Do you need YouTube API key?

PostPosted: Thu Apr 07, 2022 4:12 pm
by SlavaUkraini

Re: Do you need YouTube API key?

PostPosted: Tue May 17, 2022 1:50 pm
by andrzejzawadzki1984
Amastller wrote:
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA
https://upvod.pl/filmy/jurassic-world-dominion/
I can go to this DLNA destination:
https://vodfilmy.pl/filmy-online/jurassic-world-dominion/
videos > online > googleapi
https://vod3.pl/filmy/jurassic-world-dominion/
but the folder is empty


Thanks for bringing up this topic. We will see what the final will be. Good luck.


and how?

Re: Do you need YouTube API key?

PostPosted: Wed Dec 21, 2022 2:50 am
by ArabellaHogan
Hello there. Did you fix that eventually? I have the same problem with my Youtube API key, so I'd be really grateful for your help with that issue. Tbh, we've recently started using Youtube as a promotional platform. We buy subscribers on fanhype.de to make our channel more popular among people. It's a channel of our small Asian restaurant. Love it so much. It's probably the best project I've started over the last 10 years. Anyway, we need to have a Youtube API asap. I'd be extremely grateful for your help. Waiting for your replies, guys!

Re: Do you need YouTube API key?

PostPosted: Sat Feb 04, 2023 3:00 pm
by gargantas
Yes...I am also looking for a solution to the problem. I have looked through other topics, but to no avail. In my case, these are the films on https://kinemax.cc/. I will be keeping an eye on this topic. Perhaps someone else will come up with an idea.

andrzejzawadzki1984 wrote:
Amastller wrote:
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA
https://upvod.pl/filmy/jurassic-world-dominion/
I can go to this DLNA destination:
https://vodfilmy.pl/filmy-online/jurassic-world-dominion/
videos > online > googleapi
https://vod3.pl/filmy/jurassic-world-dominion/
but the folder is empty


Thanks for bringing up this topic. We will see what the final will be. Good luck.


and how?


I join in asking

Re: Do you need YouTube API key?

PostPosted: Wed Mar 08, 2023 7:46 am
by jurosik
andrzejzawadzki1984 wrote:
Amastller wrote:
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA

I can go to this DLNA destination:

videos > online > googleapi
https://vider.online/gdzie-obejrzec/shazam-gniew-bogow/
but the folder is empty


Thanks for bringing up this topic. We will see what the final will be. Good luck.


and how?


is there still a problem?

Re: Do you need YouTube API key?

PostPosted: Fri Apr 14, 2023 2:25 am
by filmiarz
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA
https://vodpilot.pl/filmy/oppenheimer
I can go to this DLNA destination:
videos > online > googleapi
Oppenheimer dubbing pl
but the folder is empty


Are you sure? Problem still appears? Check location again

Re: Do you need YouTube API key?

PostPosted: Wed Dec 06, 2023 11:07 am
by pioternowa
Hey, do you have the newest version of API key?

Re: Do you need YouTube API key?

PostPosted: Fri Jan 05, 2024 12:22 am
by johncheung
Hi, I have the same error message when using Web Resource URL https://www.googleapis.com/youtube/v3/playlist?id=PLqtN8xD7MZoIf5xH3SktCgVBJW-unaDA for my youtube music list. Have you fixed the problem? (I've used my own API_KEY in the plugin Youtube.groovy)

2024-01-05T07:50:57,165 DEBUG [FeedItemUrlExtractor] YouTube: Starting extraction of url for item: Take On Me
2024-01-05T07:50:57,394 DEBUG [WebResourceParser] Unexpected error during url extractor plugin invocation (YouTube) for item null: No such property: streamingFormats for class: YouTube
groovy.lang.MissingPropertyException: No such property: streamingFormats for class: YouTube
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all.jar:2.4.12]
at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGroovyObjectGetProperty(GetEffectivePogoPropertySite.java:70) ~[groovy-all.jar:2.4.12]
at YouTube.extractUrl(Youtube.groovy:146) ~[?:?]
at org.serviio.library.online.WebResourceUrlExtractor$2.executePluginMethod(WebResourceUrlExtractor.java:45) ~[serviio.jar:?]
at org.serviio.library.online.WebResourceUrlExtractor$2.executePluginMethod(WebResourceUrlExtractor.java:42) ~[serviio.jar:?]
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50) ~[serviio.jar:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_352]
at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352]

Re: Do you need YouTube API key?

PostPosted: Thu Apr 04, 2024 4:43 pm
by seniorvac
filmiarz wrote:
DeutscheGabanna wrote:Okay, I got an API key, turns out it wasn't all that bad obtaining it.
But after adding this as web resource named "googleapi":
https://www.googleapis.com/youtube/v3/v ... 4105YMnfEA
civil war caly film
I can go to this DLNA destination:
videos > online > googleapi
challengers lektor pl
but the folder is empty


Are you sure? Problem still appears? Check location again

Yes, problem still appears.

Re: Do you need YouTube API key?

PostPosted: Fri Nov 27, 2026 3:04 pm
by shwarzlazlo91
ive seen the same empty folders with youtube stuff in serviio and its probably cause videos disappear so often these days. archiving them locally makes sense instead of relying on the api and this story explains why https://newscrawler.org/en/e/why-you-sh ... e-youtube/ using yt-dlp worked better for me on my nas setup.