PDA

View Full Version : Announce: SlimServer 6.0a1



Michael Bowyer
2005-02-24, 08:20
6.0a1 on OS X

My 2c:
6 alpha installs and works, but uses much more memory than 5.4, and
uses 100% CPU when playing (after waiting for the scan to complete).
5.4 uses between 0 and 2% CPU when playing the same file (an MP3 @320
kbps). My library has 5800 tracks.

Mike

Dan Sully
2005-02-24, 10:09
* Michael Bowyer shaped the electrons to say...

>6 alpha installs and works, but uses much more memory than 5.4, and
>uses 100% CPU when playing (after waiting for the scan to complete).
>5.4 uses between 0 and 2% CPU when playing the same file (an MP3 @320
>kbps). My library has 5800 tracks.

Michael - what type of file are you playing? Is anything else happening on the server?

Thanks.

-D
--
<iNoah> I think someone should create a magazine for computer peripherals, called Card & Driver

Jason Holtzapple
2005-02-24, 10:55
I am wanting to test out the new alpha on a netbsd machine. Which unbundled modules
are needed to run the server? I installed a few obvious ones (Class::DBI, DBI,
DBD::Sqlite) by looking at DataModel.pm and the CPAN auto directories. But I
am still getting this error:

[slim]$ perl slimserver.pl
Had to create DBI::_dbistate unexpectedly at /home/slim/perl/lib/5.8.6/i386-netbsd/DynaLoader.pm line 253.
Use of uninitialized value in subroutine entry at /home/slim/perl/lib/5.8.6/i386-netbsd/DynaLoader.pm line 253.
Can't locate auto/DBI/connect_cac.al in @INC (@INC contains: /home/slim/SlimServer_v2005-02-23/Plugins /home/slim/SlimServer_v2005-02-23
/home/slim/SlimServer_v2005-02-23/CPAN /home/slim/SlimServer_v2005-02-23/CPAN/arch/5.8.6/i386-netbsd
/home/slim/SlimServer_v2005-02-23/CPAN/arch/5.8.6/i386-netbsd/auto /home/slim/SlimServer_v2005-02-23/CPAN/arch/5.8/i386-netbsd
/home/slim/SlimServer_v2005-02-23/CPAN/arch/5.8/i386-netbsd/auto /home/slim/SlimServer_v2005-02-23/CPAN/arch/i386-netbsd /home/slim/perl/lib/5.8.6/i386-netbsd
/home/slim/perl/lib/5.8.6 /home/slim/perl/lib/site_perl/5.8.6/i386-netbsd /home/slim/perl/lib/site_perl/5.8.6 /home/slim/perl/lib/site_perl .) at
/home/slim/SlimServer_v2005-02-23/Slim/DataStores/DBI/DataModel.pm line 105

Any help appreciated!

Dan Sully
2005-02-24, 12:24
* Jason Holtzapple shaped the electrons to say...

> I am wanting to test out the new alpha on a netbsd machine. Which unbundled
> modules are needed to run the server? I installed a few obvious ones
> (Class::DBI, DBI, DBD::Sqlite) by looking at DataModel.pm and the CPAN auto
> directories. But I am still getting this error:

Jason - you'll need to drop the .so files under a similar directory structure
for CPAN/auth/5.8/i386-netbsd/ .. as the other directories look.

Make sure that the revisions are the same as well. We're at 1.46 DBI, 1.07 DBD::SQLite.

Class::DBI shouldn't be needed, since we include it, and there are no compiled components.

-D
--
<iNoah> kernel's original recipe: 11 secret args and switches

Jason Holtzapple
2005-02-24, 13:08
Dan Sully wrote:
> * Jason Holtzapple shaped the electrons to say...
>
>> I am wanting to test out the new alpha on a netbsd machine. Which
>> unbundled
>> modules are needed to run the server? I installed a few obvious ones
>> (Class::DBI, DBI, DBD::Sqlite) by looking at DataModel.pm and the CPAN
>> auto
>> directories. But I am still getting this error:
>
>
> Jason - you'll need to drop the .so files under a similar directory
> structure
> for CPAN/auth/5.8/i386-netbsd/ .. as the other directories look.
>
> Make sure that the revisions are the same as well. We're at 1.46 DBI,
> 1.07 DBD::SQLite.

Downgrading from DBI 1.47 to 1.46 and copying the .so and associated files
seems to have done the trick...Thanks!

Bruce Tucker
2005-02-24, 13:26
Is there any way to play midi files with Slim?

Bruce

Dan Sully
2005-02-24, 13:30
* Bruce Tucker shaped the electrons to say...

>Is there any way to play midi files with Slim?

No. MIDI files don't contain any PCM data, so they can't be played per se.
They need to be rendered against a set of instruments which are defined in
the midi file itself, and are different for each MIDI file.

-D
--
You have the puzzle pieces? Good, then turn off the damn walls.

Joshua Uziel
2005-02-24, 14:23
* Dan Sully <dan (AT) slimdevices (DOT) com> [050224 12:30]:
> * Bruce Tucker shaped the electrons to say...
>
> >Is there any way to play midi files with Slim?
>
> No. MIDI files don't contain any PCM data, so they can't be played per se.
> They need to be rendered against a set of instruments which are defined in
> the midi file itself, and are different for each MIDI file.

I haven't used it, but it might be possible with something like
TiMidity++ ... I'm not sure how it's cli is

http://timidity.sourceforge.net/

Bruce, if you give it a stab, let me know how it goes...

Bruce Tucker
2005-02-24, 15:08
Hmm.
I looked at it but don't really know where to start. How do you define a
file type in the Slimserver for midi and point it toward a specific player
module?
Bruce

----- Original Message -----
From: "Joshua Uziel" <uzi (AT) uzix (DOT) org>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Thursday, February 24, 2005 1:23 PM
Subject: [slim] Playing MIDI files with slim?


>* Dan Sully <dan (AT) slimdevices (DOT) com> [050224 12:30]:
>> * Bruce Tucker shaped the electrons to say...
>>
>> >Is there any way to play midi files with Slim?
>>
>> No. MIDI files don't contain any PCM data, so they can't be played per
>> se.
>> They need to be rendered against a set of instruments which are defined
>> in
>> the midi file itself, and are different for each MIDI file.
>
> I haven't used it, but it might be possible with something like
> TiMidity++ ... I'm not sure how it's cli is
>
> http://timidity.sourceforge.net/
>
> Bruce, if you give it a stab, let me know how it goes...
>

kdf
2005-02-24, 15:42
Quoting Bruce Tucker <tuckerb2 (AT) adelphia (DOT) net>:

> Hmm.
> I looked at it but don't really know where to start. How do you define a
> file type in the Slimserver for midi and point it toward a specific player
> module?

types.conf determines what the file types are by extension.

this will get it indexed.

convert.conf for contruction a command line.

the problem is that slimserver still needs a duration, bitrate and audio-data
size information on the file before it will allow playback. This is done by
adding a %tagFunctions handler for the type in Slim/DataStores/DBI/DBIStore.pm

not overly difficult, but also not for the uninitiated.
-kdf