Page 1 of 1

Users, permissions and remot access

PostPosted: Tue May 09, 2017 8:25 pm
by PiraniaBOSS
On beginning i want say Thank you zip. for this amazing program.

Ok, lets go.
1) Bug - remote users not register in console.
Image

Lane from log
2017-05-09 17:55:08,401 INFO [PlaybackEventsManager] Playback of media item 5995 has started at 0% on Identifier=f31cca3a6c4b4776be99897e7a2ba4b1, Profile=ServiiGo (HLS), Name=Remote client

And this means we cant set any permissions for remote user in server.
!!!What I would like to see in the program!!!
1) We have remote client on web and on phones but we cant set any permissions for it. If we set limiter access for new users, for remote clients does not matter have full access.

2) Users on phone can set their permissions
Image
and administrator cant control it.

3) For web client administrator can set any access permissions.

4) In log i cant understand whats user Looks because in log i see DB id, not file name
2017-05-09 17:55:08,401 INFO [PlaybackEventsManager] Playback of media item 5995

5) other log for online resurses or To compress information about a failed connection to the online source coz in log i see many trash like this

2017-05-09 18:16:28,897 WARN [FeedUpdaterWorker] An error occured while parsing the online resource https://www.twitch.tv/dreamhackcsgo_ru, will try again soon: Unexpected error while invoking plugin (twitch.tv): http://usher.twitch.tv/api/channel/hls/ ... dc2&token={"adblock":false,"player_type":null,"platform":null,"user_id":null,"channel":"dreamhackcsgo_ru","channel_id":147081089,"expires":1494344198,"chansub":{"view_until":1924905600,"restricted_bitrates":[]},"private":{"allowed_to_view":true},"privileged":false,"source_restricted":false,"https_required":false,"show_ads":true,"device_id":null,"turbo":false,"subscriber":false,"hide_ads":false}&allow_source=true
org.serviio.library.online.metadata.OnlineResourceParseException: Unexpected error while invoking plugin (twitch.tv): http://usher.twitch.tv/api/channel/hls/ ... dc2&token={"adblock":false,"player_type":null,"platform":null,"user_id":null,"channel":"dreamhackcsgo_ru","channel_id":147081089,"expires":1494344198,"chansub":{"view_until":1924905600,"restricted_bitrates":[]},"private":{"allowed_to_view":true},"privileged":false,"source_restricted":false,"https_required":false,"show_ads":true,"device_id":null,"turbo":false,"subscriber":false,"hide_ads":false}&allow_source=true
at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:79)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:187)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:207)
at org.serviio.library.online.metadata.FeedUpdaterWorker.getOnlineItems(FeedUpdaterWorker.java:203)
at org.serviio.library.online.metadata.FeedUpdaterWorker.run(FeedUpdaterWorker.java:109)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: http://usher.twitch.tv/api/channel/hls/ ... dc2&token={"adblock":false,"player_type":null,"platform":null,"user_id":null,"channel":"dreamhackcsgo_ru","channel_id":147081089,"expires":1494344198,"chansub":{"view_until":1924905600,"restricted_bitrates":[]},"private":{"allowed_to_view":true},"privileged":false,"source_restricted":false,"https_required":false,"show_ads":true,"device_id":null,"turbo":false,"subscriber":false,"hide_ads":false}&allow_source=true
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.configuredInputStream(DefaultGroovyMethods.java:16692)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.newReader(DefaultGroovyMethods.java:16760)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(DefaultGroovyMethods.java:15130)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(DefaultGroovyMethods.java:15102)
at org.codehaus.groovy.runtime.dgm$375.doMethodInvoke(Unknown Source)
at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.doMethodInvoke(GeneratedMetaMethod.java:70)
at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3465)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227)
at Twitch.extractHlsStream(twitch.groovy:172)
at Twitch$extractHlsStream.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
at Twitch.extractItems(twitch.groovy:91)
at org.serviio.library.online.WebResourceUrlExtractor.extractItems(WebResourceUrlExtractor.java:72)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:34)
at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:31)
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)
... 1 more


its cool info but my log composed 99% From information on "i cant connect too online source".This makes it impossible to find information about the state of the server.

Sorry for my eng. But i want help!

Re: Users, permissions and remot access

PostPosted: Wed May 10, 2017 2:59 pm
by zip
User restrictions (for remote users) will be part of the multi-user support in a future release

Re: Users, permissions and remot access

PostPosted: Wed May 10, 2017 3:07 pm
by PiraniaBOSS
zip wrote:User restrictions (for remote users) will be part of the multi-user support in a future release

Wow nice! thx for answer!
What do you think about log?
And when you want release new ver?
and you have pre-release nots?