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 132 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 123 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: 2

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!

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 3 guests

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