Re: YouTube
stefana888 wrote:All official music videos are protected and doesn't show up....
in my case, even homemade videos (for example) don't show up...
stefana888 wrote:All official music videos are protected and doesn't show up....
Playlist
Use this URL as the resource URL:
Code:
https://www.googleapis.com/youtube/v3/p ... LAYLIST_ID
jhb50 wrote:The wiki is no longer correct since youtube has obsoleted V2 of its api.
Use the URL formats posted in the first post of this youtube plugin thread:Playlist
Use this URL as the resource URL:
Code:
https://www.googleapis.com/youtube/v3/p ... LAYLIST_ID
Supernova wrote:Two more questions:
1- How can I have the videos play in 4k? (of course the ones which are recorded in 4K). I have set the "preferred online content quality" to High in the GUI. But the max resolution I get is 1280x720
2- How to have all the videos in a playlist loaded and available ? For various playlist, it only loads different (random) number of videos but not all. I have set the "max. number of feed items to retrieve" to unlimited but to no avail.
stefana888 wrote:Supernova wrote:Two more questions:
1- How can I have the videos play in 4k? (of course the ones which are recorded in 4K). I have set the "preferred online content quality" to High in the GUI. But the max resolution I get is 1280x720
2- How to have all the videos in a playlist loaded and available ? For various playlist, it only loads different (random) number of videos but not all. I have set the "max. number of feed items to retrieve" to unlimited but to no avail.
This is not supported. 1. You can try add format codes to the plugin. 2. API page tokens can be used to retrieve more than 50 items.
2015-08-23 07:56:58,371 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.googleapis.com/youtube/v3/channels?id=UCmk5QB4JE-RT3ig4kvtVYxg, will try again soon: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:78)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:186)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:203)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:191)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:56)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at YouTube.extractItems(Youtube.groovy:44)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2015-08-23 07:45:01,697 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.googleapis.com/youtube/v3/videos?chart=mostPopular, will try again soon: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (YouTube): The JSON input text should neither be null nor empty.
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:78)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:186)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:203)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:191)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
at groovy.json.JsonSlurper.parseText(JsonSlurper.java:56)
at groovy.json.JsonSlurper$parseText.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at YouTube.extractItems(Youtube.groovy:52)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
{
"kind": "youtube#channelListResponse",
"etag": "\"sGDdEsjSJ_SnACpEvVQ6MtTzkrI/Pj9gioMX35M57a5fJspKzUDnWlE\"",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#channel",
"etag": "\"sGDdEsjSJ_SnACpEvVQ6MtTzkrI/YtL95MY8HzCSDU1OdZtJiMn80a4\"",
"id": "UCmk5QB4JE-RT3ig4kvtVYxg",
"contentDetails": {
"relatedPlaylists": {
"likes": "LLmk5QB4JE-RT3ig4kvtVYxg",
"uploads": "UUmk5QB4JE-RT3ig4kvtVYxg"
},
"googlePlusUserId": "105728480187241807921"
}
}
]
}
Users browsing this forum: No registered users and 32 guests