FAQ  •  Register  •  Login

plugins under linux

<<

glenb

Serviio newbie

Posts: 6

Joined: Sat Apr 14, 2012 2:03 pm

Post Thu Dec 27, 2012 5:47 am

plugins under linux

i installed serviio on linux 12.04; with all instructions for other packages; and setup a few online sources; it seems the server is not seeing the plugin files. i have the whole plugin list in the plugins directory. but the log shows:

java.io.IOException: Cannot parse resource from http://www.cbs.com/shows/elementary/video/. Message: No plugin for web resource http://www.cbs.com/shows/elementary/video/ has been found.

serviio is installed in a directory under my home directory and i ran it from the console; it does find and play the media files i set up. am i missing something in the setup ?
<<

guyome

Serviio newbie

Posts: 14

Joined: Tue Nov 01, 2011 8:41 am

Post Thu Dec 27, 2012 3:27 pm

Re: plugins under linux

I have the same kind of problem. I installed everything correctly ( at least I thing so) and everything works but plugins. It reconizes the plugin but never the url.

For example with the plugin for Arte I get:

  Code:
INFO  [PluginCompilerThread] Added Feed plugin Arte (Arte.groovy), version: 1


But when I setup a url I get that:

  Code:
java.io.IOException: Cannot parse resource from http://videos.arte.tv/fr/do_delegate/videos/artejournal/index--3188708,view,rss.xml. Message: No plugin for web resource http://videos.arte.tv/fr/do_delegate/videos/artejournal/index--3188708,view,rss.xml has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)



Any idea how to fix that ?

PS: I use the last version of both serviio and Arte plugin (but I get the same problem for the wat and pluzz plugin)
<<

glenb

Serviio newbie

Posts: 6

Joined: Sat Apr 14, 2012 2:03 pm

Post Thu Dec 27, 2012 5:15 pm

Re: plugins under linux

i am using ubuntu so when i get some time i will compile ffmpeg and see if anything changes. i'll report back if that turns out to fix things.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 28, 2012 12:23 am

Re: plugins under linux

FFmpeg has nothing to do with this error. It looks the plugin's regex doesn't match the URL. It works in a regex simulator. Try updating your Java, just in case.
<<

guyome

Serviio newbie

Posts: 14

Joined: Tue Nov 01, 2011 8:41 am

Post Wed Jan 02, 2013 2:06 pm

Re: plugins under linux

Hello,

So I upgrade my version of java from the Oracle website.

  Code:
2013-01-02 14:42:30,817 INFO  [MediaServer] ------------------------------------------------------------------------$
2013-01-02 14:42:30,821 INFO  [MediaServer] Serviio DLNA media streaming server v 1.1 (rev. 6ba0dd933a8e+)$
2013-01-02 14:42:30,821 INFO  [MediaServer] Petr Nejedly 2009-2012$
2013-01-02 14:42:30,822 INFO  [MediaServer] http://www.serviio.org$
2013-01-02 14:42:30,822 INFO  [MediaServer] $
2013-01-02 14:42:30,822 INFO  [MediaServer] Java 1.6.0_37-Sun Microsystems Inc.$
2013-01-02 14:42:30,823 INFO  [MediaServer] OS Linux i386 2.6.32-30-generic-pae$
2013-01-02 14:42:30,823 INFO  [MediaServer] File encoding: UTF-8$
2013-01-02 14:42:30,825 INFO  [MediaServer] Headless mode enabled: true$
2013-01-02 14:42:30,825 INFO  [MediaServer] User: upnp$
2013-01-02 14:42:30,826 INFO  [MediaServer] User home dir: /home/upnp$
2013-01-02 14:42:30,826 INFO  [MediaServer] Temp dir: /tmp$
2013-01-02 14:42:30,826 INFO  [MediaServer] ------------------------------------------------------------------------


and the plugins are well fund.

  Code:
2013-01-02 14:43:20,294 INFO  [PluginCompilerThread] Added Feed plugin Arte (Arte.groovy), version: 1
2013-01-02 14:43:21,469 INFO  [PluginCompilerThread] Added Web Resouce plugin M6replay (M6replay.groovy), version: 1
2013-01-02 14:43:21,866 INFO  [PluginCompilerThread] Added Feed plugin WAT (WAT.groovy), version: 13


But I still have the same error with the flux (the urls come from serviio forum):

  Code:
2013-01-02 15:02:01,953 DEBUG [OnlineLibraryManager] Resource http://videos.arte.tv/fr/do_delegate/videos/artejournal/index-3188708,view,rss.xml not in cache yet, loading it
2013-01-02 15:02:01,953 DEBUG [WebResourceParser] Parsing web resource 'http://videos.arte.tv/fr/do_delegate/videos/artejournal/index-3188708,view,rss.xml'
2013-01-02 15:02:01,975 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://videos.arte.tv/fr/do_delegate/videos/artejournal/index-3188708,view,rss.xml. Message: No plugin for web resource http://videos.arte.tv/fr/do_delegate/videos/artejournal/index-3188708,view,rss.xml has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)


However, it seems that the regex from the plugins match the url

  Code:
final VALID_FEED_URL = '(^http://videos.arte.tv.*rss.xml$)'


So, I don't what I can do to fix that...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jan 02, 2013 3:21 pm

Re: plugins under linux

NOt sure if it'll help but try to change the regex to

  Code:
final VALID_FEED_URL = '(^http://videos\\.arte\\.tv.*rss\\.xml$)'
<<

guyome

Serviio newbie

Posts: 14

Joined: Tue Nov 01, 2011 8:41 am

Post Sun Jan 06, 2013 7:59 pm

Re: plugins under linux

It helped not I even try with the full url (http://videos.arte.tv/fr/do_delegate/vi ... ew,rss.xml) without any success. How can I debug that ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jan 06, 2013 8:26 pm

Re: plugins under linux

h... so no plugins work for of you? like YouTube?
<<

guyome

Serviio newbie

Posts: 14

Joined: Tue Nov 01, 2011 8:41 am

Post Mon Jan 07, 2013 8:01 am

Re: plugins under linux

None of the plugins I tested work. I've tried with your youtube plugin and the url

  Code:
http://gdata.youtube.com/feeds/api/standardfeeds/top_rated


Serviio found the plugin
  Code:
2013-01-07 08:54:20,692 INFO  [PluginCompilerThread] Added Feed plugin YouTube (Youtube.groovy), version: 1


but I get the same error

  Code:
java.io.IOException: Cannot parse resource from http://gdata.youtube.com/feeds/api/standardfeeds/top_rated. Message: No plugin for web resource http://gdata.youtube.com/feeds/api/standardfeeds/top_rated has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)


Besides, I serviio is running on a old ubuntu 10.04.4 and I get also this kind of error:

  Code:
2013-01-07 08:56:06,286 WARN  [prefs] Could not lock User prefs. Unix error code 2.
2013-01-07 08:56:06,286 WARN  [prefs] Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Jan 07, 2013 8:15 am

Re: plugins under linux

First error is because YouTube is an RSS feed not Web Resource, change that in the console and try again.

Second error is because you are running serviio under a user account without a home directory.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

guyome

Serviio newbie

Posts: 14

Joined: Tue Nov 01, 2011 8:41 am

Post Mon Jan 07, 2013 6:01 pm

Re: plugins under linux

Thanks will. You had all right and I feel stupid then.

You should perhaps precise this in the support pages especially when you write:

This type of resource [Web resources] includes any online content that is accessible and requires a special Web resource plugin.


It is confusing since I thought then all plugins should be a web resource.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Mon Jan 07, 2013 6:15 pm

Re: plugins under linux

'Typically' if you open the url up and you have a list of items one after the other it is a Feed (and most feeds don't need plugins), vs if you open it up and its a proper website which you browse around, its a Web Resource.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 32 guests

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