FAQ  •  Register  •  Login

Do you need YouTube API key?

<<

DeutscheGabanna

Serviio newbie

Posts: 4

Joined: Tue Mar 22, 2022 10:24 pm

Post Tue Mar 22, 2022 10:26 pm

Do you need YouTube API key?

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?
Attachments
Youtube.groovy
(14.98 KiB) Downloaded 1986 times
<<

DeutscheGabanna

Serviio newbie

Posts: 4

Joined: Tue Mar 22, 2022 10:24 pm

Post Tue Mar 22, 2022 10:35 pm

Re: Do you need YouTube API key?

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
<<

DeutscheGabanna

Serviio newbie

Posts: 4

Joined: Tue Mar 22, 2022 10:24 pm

Post Tue Mar 22, 2022 10:41 pm

Re: Do you need YouTube API key?

i found a detailed log of what happens once serviio tries to parse youtube stuff
Attachments
serviio.log
(240 KiB) Downloaded 1937 times
<<

DeutscheGabanna

Serviio newbie

Posts: 4

Joined: Tue Mar 22, 2022 10:24 pm

Post Tue Mar 22, 2022 10:47 pm

Re: Do you need YouTube API key?

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]
<<

Amastller

Serviio newbie

Posts: 3

Joined: Fri Mar 25, 2022 10:01 pm

Location: New York

Post Sat Apr 02, 2022 9:24 pm

Re: Do you need YouTube API key?

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.
<<

SlavaUkraini

Serviio newbie

Posts: 4

Joined: Thu Apr 07, 2022 3:59 pm

Post Thu Apr 07, 2022 4:12 pm

Re: Do you need YouTube API key?

<<

andrzejzawadzki1984

Serviio newbie

Posts: 1

Joined: Tue May 17, 2022 1:43 pm

Post Tue May 17, 2022 1:50 pm

Re: Do you need YouTube API key?

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?
<<

ArabellaHogan

Serviio newbie

Posts: 1

Joined: Wed Dec 21, 2022 2:34 am

Post Wed Dec 21, 2022 2:50 am

Re: Do you need YouTube API key?

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!
<<

gargantas

Serviio newbie

Posts: 1

Joined: Sat Feb 04, 2023 2:50 pm

Post Sat Feb 04, 2023 3:00 pm

Re: Do you need YouTube API key?

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
<<

jurosik

Serviio newbie

Posts: 1

Joined: Wed Mar 08, 2023 7:40 am

Post Wed Mar 08, 2023 7:46 am

Re: Do you need YouTube API key?

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?
<<

filmiarz

Serviio newbie

Posts: 1

Joined: Fri Apr 14, 2023 2:21 am

Post Fri Apr 14, 2023 2:25 am

Re: Do you need YouTube API key?

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://zalukaj-ekino.pl/filmy/ostatni-wiking/
I can go to this DLNA destination:
videos > online > googleapi
ostatni wiking dubbing pl
but the folder is empty


Are you sure? Problem still appears? Check location again
<<

pioternowa

Serviio newbie

Posts: 1

Joined: Wed Dec 06, 2023 11:01 am

Post Wed Dec 06, 2023 11:07 am

Re: Do you need YouTube API key?

Hey, do you have the newest version of API key?
<<

johncheung

Serviio newbie

Posts: 1

Joined: Fri Jan 05, 2024 12:11 am

Post Fri Jan 05, 2024 12:22 am

Re: Do you need YouTube API key?

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]
<<

seniorvac

Serviio newbie

Posts: 1

Joined: Thu Apr 04, 2024 4:40 pm

Post Thu Apr 04, 2024 4:43 pm

Re: Do you need YouTube API key?

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.

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.