PDA

View Full Version : Artist's biography plugin



mherger
2005-02-04, 03:51
The one thing I liked most about MusicMatch Jukebox: the integrated panel
with information (biography, discography etc.) about the artist you're
currently listening to. Now you can have this in your SlimServer's web
interface using my biography plugin.

For more information about the plugin and its installation see
http://www.herger.net/slim/detail.php?nr=500

The plugin requires a very recent 5.4.1 release!
(http://www.slimdevices.com/downloads/nightly/latest/5.4.1/)

Have fun!

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

John Gorst
2005-02-04, 04:46
Michael Herger wrote:
> The one thing I liked most about MusicMatch Jukebox: the integrated
> panel with information (biography, discography etc.) about the artist
> you're currently listening to. Now you can have this in your
> SlimServer's web interface using my biography plugin.
>
> For more information about the plugin and its installation see
> http://www.herger.net/slim/detail.php?nr=500
>
> The plugin requires a very recent 5.4.1 release!
> (http://www.slimdevices.com/downloads/nightly/latest/5.4.1/)

I am running 4/2/5 nightly on mandrake linux 10 and assume that the
necessary perl modules are installed (i dont know how to check!)

Doesnt work for me.

Plug appears in the plugin part of server settings.

However no bigliography appears in the 'home' bit of the web interface,
and it doesnt appear on the player interface. I ahve added
'bibliography' to the menu structure in the player settings with no
luck. It just adds a 'blank' menu option in the root menu of the player
interface - when I am on this the following error is produced at the
command line where I ran slimserver from:

2005-02-04 11:45:22.0406 Undefined string: BIOGRAPHY::PLUGIN
requested language: EN
failsafe language: EN

It then continues to repeat itself until I move away from that slections.

Screen shots look very good though!

Cheers

mherger
2005-02-04, 05:06
John,

[..]
> I am running 4/2/5 nightly on mandrake linux 10 and assume that the

The 5.4.1 nightly? Could you please start the script with the -d_plugins
parameter and post the output? There should be some information about all
plugins which are loaded.

> necessary perl modules are installed (i dont know how to check!)

The script's output will hopefully tell us what's wrong.

BTW: I developped and tested on Mandrake 10.1 using its perl 5.8.x and am
running it on a redhat 7.3 (still using perl 5.6). Both work fine for me.

[..]
> Screen shots look very good though!

At least the screenshots work :-)

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

John Gorst
2005-02-04, 06:15
The following appears at bootup:
2005-02-04 13:12:51.7622 Requiring Plugins::Biography::Plugin plugin.
2005-02-04 13:12:51.7890 Can't require Plugins::Biography::Plugin for
Plugins me
nu: Can't locate HTML/FormatText.pm in @INC (@INC contains:
/usr/local/slimserve
r/Plugins/MHCPAN /usr/local/slimserver/Plugins /usr/local/slimserver
/usr/local/
slimserver/CPAN
/usr/local/slimserver/CPAN/arch/5.8.3/i386-linux-thread-multi /u
sr/local/slimserver/CPAN/arch/5.8/i386-linux-thread-multi
/usr/local/slimserver/
CPAN/arch/i386-linux-thread-multi
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /
usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/
lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.
8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vend
or_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/
perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl .) at
/usr/local/slimserver/Plugins/Biography/Plugin
..pm line 23, <DATA> line 1.
BEGIN failed--compilation aborted at
/usr/local/slimserver/Plugins/Biography/Plu
gin.pm line 23, <DATA> line 1.
Compilation failed in require at (eval 38) line 3, <DATA> line 1.

Cheers

Michael Herger wrote:
> John,
>
> [..]
>
>> I am running 4/2/5 nightly on mandrake linux 10 and assume that the
>
>
> The 5.4.1 nightly? Could you please start the script with the
> -d_plugins parameter and post the output? There should be some
> information about all plugins which are loaded.
>
>> necessary perl modules are installed (i dont know how to check!)
>
>
> The script's output will hopefully tell us what's wrong.
>
> BTW: I developped and tested on Mandrake 10.1 using its perl 5.8.x and
> am running it on a redhat 7.3 (still using perl 5.6). Both work fine
> for me.
>
> [..]
>
>> Screen shots look very good though!
>
>
> At least the screenshots work :-)
>

mherger
2005-02-04, 06:30
> The following appears at bootup:
> 2005-02-04 13:12:51.7622 Requiring Plugins::Biography::Plugin plugin.
> 2005-02-04 13:12:51.7890 Can't require Plugins::Biography::Plugin for
> Plugins me

It needs some additional modules. If you don't want to install them from
CPAN, go to http://www.herger.net/slim/detail.php?nr=473 and unzip that
file to your plugins folder.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

John Gorst
2005-02-04, 06:48
Michael Herger wrote:
>> The following appears at bootup:
>> 2005-02-04 13:12:51.7622 Requiring Plugins::Biography::Plugin plugin.
>> 2005-02-04 13:12:51.7890 Can't require Plugins::Biography::Plugin for
>> Plugins me
>
>
> It needs some additional modules. If you don't want to install them
> from CPAN, go to http://www.herger.net/slim/detail.php?nr=473 and unzip
> that file to your plugins folder.

That did the trick.
For future reference have you got a link to a guide for installing cpan
modules. I tried using webmin but that failed and suggesting installing
them manually.

Any chance of a similar thing but does a search on allmusic for the
Album review?

Cheers

Thomas B. Malsbury
2005-02-04, 07:35
I just wanted to let you know that I got this installed and running on
my Fedora Core 2 box without much trouble. The only thing I had to
install was the HTML::FormatText module. It was simple to install
manually using the following command:

perl -MCPAN -e "install HTML::FormatText"

The plugin is working great with my local files. It is also working with
the Shoucast stream "Indie Pop Rocks" from SomaFM, which is handy for
looking up new artists as they are played. This is just the plugin I
never knew I needed.

Thanks and I look forward to the next version,

Tom Malsbury


John Gorst wrote:

> Michael Herger wrote:
>
>>> The following appears at bootup:
>>> 2005-02-04 13:12:51.7622 Requiring Plugins::Biography::Plugin plugin.
>>> 2005-02-04 13:12:51.7890 Can't require Plugins::Biography::Plugin
>>> for Plugins me
>>
>>
>>
>> It needs some additional modules. If you don't want to install them
>> from CPAN, go to http://www.herger.net/slim/detail.php?nr=473 and
>> unzip that file to your plugins folder.
>
>
> That did the trick.
> For future reference have you got a link to a guide for installing
> cpan modules. I tried using webmin but that failed and suggesting
> installing them manually.
>
> Any chance of a similar thing but does a search on allmusic for the
> Album review?
>
> Cheers
>
>

John Gorst
2005-02-04, 07:36
Michael Herger wrote:
> The one thing I liked most about MusicMatch Jukebox: the integrated
> panel with information (biography, discography etc.) about the artist
> you're currently listening to. Now you can have this in your
> SlimServer's web interface using my biography plugin.
>
> For more information about the plugin and its installation see
> http://www.herger.net/slim/detail.php?nr=500
>
> The plugin requires a very recent 5.4.1 release!
> (http://www.slimdevices.com/downloads/nightly/latest/5.4.1/)
>
> Have fun!
>

All working as planned now - thanks!

Further to my suggestion before regrading album reviews, here is anotehr
one!

When I enter the biography page on the web or on the player there is a
brief pause of the music (flac). I also notice this when I am browsing
shoutcast stream or alienbbc menu structure.

Is there some way to have these plugins use a different thread so that
they dont interfere with the music if it takes a while for the plugin to
download (or process?) the info.

Cheers
(running mandrake 10 on a celeron 633, a bit underpowered - but can
still handle three clients easily if I dont try and do silly things!)

mherger
2005-02-04, 09:24
[..]
> When I enter the biography page on the web or on the player there is a
> brief pause of the music (flac). I also notice this when I am browsing
> shoutcast stream or alienbbc menu structure.
>
> Is there some way to have these plugins use a different thread so that
> they dont interfere with the music if it takes a while for the plugin to
> download (or process?) the info.

Not yet. Can you tell me how long approximately it takes to display the
web page? allmusic.com is a little slow, so there might me delays.

> Cheers
> (running mandrake 10 on a celeron 633, a bit underpowered - but can
> still handle three clients easily if I dont try and do silly things!)

I guess my Via C3/800 is not that much more powerfull. And I'm feeding 2
SB, 1 SliMP3 and a locally installed slimp3slave - softsqueeze is too much
for that machine...

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

mherger
2005-02-04, 09:32
[..]
> For future reference have you got a link to a guide for installing cpan
> modules. I tried using webmin but that failed and suggesting installing
> them manually.

Don't lough at me - I don't know it by heart, me neither :-). But I've got
the following bookmark:
http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules

> Any chance of a similar thing but does a search on allmusic for the
> Album review?

I'll first try to get the current version a little more stable and
configurable...

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

mherger
2005-02-04, 09:36
[..]
> The plugin is working great with my local files. It is also working with
> the Shoucast stream "Indie Pop Rocks" from SomaFM, which is handy for
> looking up new artists as they are played. This is just the plugin I
> never knew I needed.
>
> Thanks and I look forward to the next version,

Don't expect it that weekend :-). I'll go out skiing for two days.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

John Gorst
2005-02-04, 09:37
Michael Herger wrote:
> [..]
>
>> When I enter the biography page on the web or on the player there is
>> a brief pause of the music (flac). I also notice this when I am
>> browsing shoutcast stream or alienbbc menu structure.
>>
>> Is there some way to have these plugins use a different thread so
>> that they dont interfere with the music if it takes a while for the
>> plugin to download (or process?) the info.
>
>
> Not yet. Can you tell me how long approximately it takes to display the
> web page? allmusic.com is a little slow, so there might me delays.

About 5 seconds - music pauses for about the middle 3 seconds of this.

>> Cheers
>> (running mandrake 10 on a celeron 633, a bit underpowered - but can
>> still handle three clients easily if I dont try and do silly things!)
>
>
> I guess my Via C3/800 is not that much more powerfull. And I'm feeding
> 2 SB, 1 SliMP3 and a locally installed slimp3slave - softsqueeze is too
> much for that machine...

I can get softsqueeze, slimserver with 3100 tracks and a desktop (via
vnc) running all at the same time on my celeron 633! Even when a squeeze
box and softsqueeze are connecting and I'm interacting with my email
client it all runs smoothly!

I used to get cut outs in the music (when interacting with my desktop
via vnc) until about a week ago when I read (?here) that I could give
slimserver a higher priority.
renice -10 -u slimserver
(as root)

Just got an extra 256mb of memory for the server today (for 7 off
ebay!!) and that has improved things considerably (was around 300mb) -
but still getting problems with gaps in music when accessing plugins.

mherger
2005-04-26, 01:05
> Any chance of a similar thing but does a search on allmusic for the
> Album review?

AlbumReview is now available from my site (http://www.herger.net/slim/).

Please note: you'll need slimserver 6.1 to use this plugin!

CDMasterworks
2007-10-02, 05:20
Fantastic Plugin,

Just wondered if there was a way to link to the artist AMG discography to see the albums i don't yet have in my collection.


Kind Regards
CDMasterworks