PDA

View Full Version : Plugin Issues



amey01
2007-11-10, 15:53
I've done a search for "Plugin not recognised" but found nothing.

I've downloaded the "FileViewer" plugin, but it is not being recognised by SlimServer. I've put it into the "Plugins" directory as both the .PM file and also in its own folder to no avail. Windows XP / SlimServer 6.5.4 (Downloaded yesterday).

Thanks in advance!

mherger
2007-11-11, 00:17
> I've downloaded the "FileViewer" plugin, but it is not being recognised
> by SlimServer. I've put it into the "Plugins" directory as both the .PM
> file and also in its own folder to no avail. Windows XP / SlimServer
> 6.5.4 (Downloaded yesterday).

Shut down SlimServer and run "slim.exe --d_plugins" from a command window.
Do you see anything in the output regarding the plugin?

Michael

amey01
2007-11-11, 03:05
For a start, thanks for writing the plugin! It's fantastic, and has worked faultlessly on every server I've used!

Here's what that command says about the FileViewer plugin:

2007-11-11 20:29:27.1677 Requiring Plugins::FileViewer plugin.
2007-11-11 20:29:27.4353 Can't load Plugins::FileViewer for Plugins menu: Undefi
ned subroutine &Plugins::FileViewer::getDisplayName called at /<C:\Program Files


In case the entire output of that command is necessary, here it is:

C:\Program Files\SlimServer\server>slim --d_plugins
2007-11-11 20:28:38.1063 BROWSE_MUSIC does not exist. creating...
2007-11-11 20:28:38.4024 Registering screensaver SCREENSAVER_JUMP_BACK_NAME
2007-11-11 20:28:38.4240 Registering screensaver SCREENSAVER_NONE
2007-11-11 20:29:18.6746 Requiring Plugins::Rescan plugin.
2007-11-11 20:29:19.1157 PLUGINS does not exist. creating...
2007-11-11 20:29:19.1174 Requiring Plugins::RS232::Plugin plugin.
2007-11-11 20:29:19.1570 RS232 plugin enabled
2007-11-11 20:29:19.1590 Requiring Plugins::PreventStandby::Plugin plugin.
2007-11-11 20:29:19.1843 Prevent Standby plugin: starting timer
2007-11-11 20:29:19.1883 Requiring Plugins::MusicMagic::Plugin plugin.
2007-11-11 20:29:24.4229 Requiring Plugins::Visualizer plugin.
2007-11-11 20:29:24.5334 Requiring Plugins::CLI plugin.
2007-11-11 20:29:24.6897 Requiring Plugins::Snow plugin.
2007-11-11 20:29:24.8324 Requiring Plugins::Rhapsody::Plugin plugin.
2007-11-11 20:29:25.1039 Requiring Plugins::RandomPlay::Plugin plugin.
2007-11-11 20:29:25.3686 Requiring Plugins::RPC plugin.
2007-11-11 20:29:26.5059 Requiring Plugins::Health::Plugin plugin.
2007-11-11 20:29:27.1068 Requiring Plugins::DateTime::Plugin plugin.
2007-11-11 20:29:27.1677 Requiring Plugins::FileViewer plugin.
2007-11-11 20:29:27.4353 Can't load Plugins::FileViewer for Plugins menu: Undefi
ned subroutine &Plugins::FileViewer::getDisplayName called at /<C:\Program Files
\SlimServer\server\slim.exe>Slim/Utils/PluginManager.pm line 252.

2007-11-11 20:29:27.6676 Requiring Plugins::RadioIO::Plugin plugin.
2007-11-11 20:29:28.1883 Requiring Plugins::SavePlaylist plugin.
2007-11-11 20:29:28.2850 Requiring Plugins::Podcast::Plugin plugin.
2007-11-11 20:29:28.3566 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:31.6633 Requiring Plugins::DigitalInput::Plugin plugin.
2007-11-11 20:29:31.7904 Requiring Plugins::xPL plugin.
2007-11-11 20:29:31.8958 Requiring Plugins::Picks::Plugin plugin.
2007-11-11 20:29:31.9714 Requiring Plugins::RssNews plugin.
2007-11-11 20:29:32.1564 Requiring Plugins::Live365::Plugin plugin.
2007-11-11 20:29:32.8350 Requiring Plugins::LMA::Plugin plugin.
2007-11-11 20:29:32.8708 Requiring Plugins::ShoutcastBrowser::Plugin plugin.
2007-11-11 20:29:32.8993 Requiring Plugins::RadioTime::Plugin plugin.
2007-11-11 20:29:32.0027 Requiring Plugins::Visualizer plugin.
2007-11-11 20:29:33.0155 Registering screensaver VISUALIZER_SPECTRUM_ANALYZER
2007-11-11 20:29:33.0181 Registering screensaver VISUALIZER_ANALOG_VUMETER
2007-11-11 20:29:33.0230 Registering screensaver VISUALIZER_DIGITAL_VUMETER
2007-11-11 20:29:33.0283 SCREENSAVERS does not exist. creating...
2007-11-11 20:29:33.0339 Requiring Plugins::iTunes::Plugin plugin.
2007-11-11 20:29:33.8972 Requiring Plugins::CLI plugin.
2007-11-11 20:29:35.4688 Requiring Plugins::Snow plugin.
2007-11-11 20:29:35.5156 Registering screensaver PLUGIN_SCREENSAVER_SNOW
2007-11-11 20:29:35.5176 Requiring Plugins::Rhapsody::Plugin plugin.
2007-11-11 20:29:35.6104 Requiring Plugins::RandomPlay::Plugin plugin.
2007-11-11 20:29:53.5648 Requiring Plugins::RPC plugin.
2007-11-11 20:29:53.5748 Requiring Plugins::Health::Plugin plugin.
2007-11-11 20:29:53.8224 Requiring Plugins::DateTime::Plugin plugin.
2007-11-11 20:29:53.8768 Registering screensaver PLUGIN_SCREENSAVER_DATETIME
2007-11-11 20:29:53.9289 Requiring Plugins::RadioIO::Plugin plugin.
2007-11-11 20:29:53.9478 RadioIO Plugin initializing.
2007-11-11 20:29:53.9503 Adding RadioIO::Plugin to menu: RADIO
2007-11-11 20:29:53.9573 RADIO does not exist. creating...
2007-11-11 20:29:53.9651 Requiring Plugins::SavePlaylist plugin.
2007-11-11 20:29:53.9777 Requiring Plugins::Podcast::Plugin plugin.
2007-11-11 20:29:53.9905 Podcast Plugin initializing.
2007-11-11 20:29:53.9944 Podcast Feed Info:
2007-11-11 20:29:53.9972 Odeo, http://content.us.squeezenetwork.com:8080/opml/od
eo.opml
2007-11-11 20:29:54.0071 PodcastAlley Top 50, http://podcastalley.com/PodcastAll
eyTop50.opml
2007-11-11 20:29:54.0216 PodcastAlley 10 Newest, http://podcastalley.com/Podcast
Alley10Newest.opml
2007-11-11 20:29:54.0312
2007-11-11 20:29:54.8967 Requiring Plugins::SlimTris plugin.
2007-11-11 20:29:54.9826 Adding SlimTris to menu: GAMES
2007-11-11 20:29:55.0297 GAMES does not exist. creating...
2007-11-11 20:29:55.0316 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:55.0864 Requiring Plugins::DigitalInput::Plugin plugin.
2007-11-11 20:29:55.1065 DigitalInput Plugin initializing.
2007-11-11 20:29:55.1144 Requiring Plugins::xPL plugin.
2007-11-11 20:29:55.1786 Requiring Plugins::Picks::Plugin plugin.
2007-11-11 20:29:55.1874 Picks: initPlugin()
2007-11-11 20:29:55.1896 Adding Picks::Plugin to menu: RADIO
2007-11-11 20:29:55.1981 Requiring Plugins::RssNews plugin.
2007-11-11 20:29:55.3130 RSS Plugin initializing.
2007-11-11 20:29:55.3625 RSS Feed Info:
2007-11-11 20:29:55.3637 BBC News World Edition, http://news.bbc.co.uk/rss/newso
nline_world_edition/front_page/rss.xml
2007-11-11 20:29:55.4275 CNET News.com, http://news.com.com/2547-1_3-0-5.xml
2007-11-11 20:29:55.4324 New York Times Home Page, http://www.nytimes.com/servic
es/xml/rss/nyt/HomePage.xml
2007-11-11 20:29:55.4602 RollingStone.com Music News, http://www.rollingstone.co
m/rssxml/music_news.xml
2007-11-11 20:29:55.5541 Slashdot, http://rss.slashdot.org/Slashdot/slashdot
2007-11-11 20:29:55.5552 Yahoo! News: Business, http://rss.news.yahoo.com/rss/bu
siness
2007-11-11 20:29:55.5650
2007-11-11 20:29:55.6752 Registering screensaver PLUGIN_RSSNEWS_SCREENSAVER
2007-11-11 20:29:55.6776 Requiring Plugins::Live365::Plugin plugin.
2007-11-11 20:29:55.7368 Live365: initPlugin()
2007-11-11 20:29:55.7484 Adding Live365::Plugin to menu: RADIO
2007-11-11 20:29:55.7504 Live365: webPages()
2007-11-11 20:29:55.7684 Requiring Plugins::LMA::Plugin plugin.
2007-11-11 20:29:55.7894 Live Music Archive Plugin initializing.
2007-11-11 20:29:55.7916 Adding LMA::Plugin to menu: RADIO
2007-11-11 20:29:55.8013 Requiring Plugins::ShoutcastBrowser::Plugin plugin.
2007-11-11 20:29:55.8115 Shoutcast: initPlugin()
2007-11-11 20:29:55.8142 Adding ShoutcastBrowser::Plugin to menu: RADIO
2007-11-11 20:29:55.8219 Requiring Plugins::RadioTime::Plugin plugin.
2007-11-11 20:29:55.8878 RadioTime Plugin initializing.
2007-11-11 20:29:55.9252 Adding RadioTime::Plugin to menu: RADIO
2007-11-11 20:29:55.9683 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:56.0213 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:56.1069 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:56.1408 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:56.1724 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:29:56.2053 Requiring Plugins::MoodLogic::Plugin plugin.
2007-11-11 20:30:39.3507 Prevent Standby plugin: starting timer
2007-11-11 20:31:39.0067 Prevent Standby plugin: starting timer
2007-11-11 20:32:39.0030 Prevent Standby plugin: starting timer
2007-11-11 20:33:39.0092 Prevent Standby plugin: starting timer
2007-11-11 20:34:39.0055 Prevent Standby plugin: starting timer
2007-11-11 20:35:39.0018 Prevent Standby plugin: starting timer
2007-11-11 20:36:39.0080 Prevent Standby plugin: starting timer
2007-11-11 20:37:39.0043 Prevent Standby plugin: starting timer
2007-11-11 20:38:39.0006 Prevent Standby plugin: starting timer
2007-11-11 20:39:39.0069 Prevent Standby plugin: starting timer
2007-11-11 20:40:39.0031 Prevent Standby plugin: starting timer
2007-11-11 20:41:39.0095 Prevent Standby plugin: starting timer

mherger
2007-11-11, 05:31
> 2007-11-11 20:29:27.1677 Requiring Plugins::FileViewer plugin.
> 2007-11-11 20:29:27.4353 Can't load Plugins::FileViewer for Plugins
> menu: Undefi
> ned subroutine &Plugins::FileViewer::getDisplayName called at

It looks as if the file was stored in the Plugins folder, but it should be
Plugins/FileViewer/Plugin.pm. Please verify upper/lowercase, too.

Michael

amey01
2007-11-11, 13:56
Will do - THANKS!

amey01
2007-11-12, 02:35
Done. Fixed. Thanks!

I can't believe I was so stupid. Thanks. And thanks for writing a great plugin!