Re: [SlimDevices: Beta] Re: Disappearing Music library

2006-08-26 Thread Phil Meyer
Are you running with the included MySQL server or are you running
another?

I am running my own MySQL instance.

It sounds like I have the same problem as you discovered.  My setup sounds very 
similar to yours:

Windows XP Pro server with Perl version of SlimServer 6.5b1, svn9171
using ActiveState Perl 5.8.8 build 817.  External MySQL 5.0.21 run on the same 
server. 
SlimServer run as a service using srvany.exe and installed with instsrv.exe
from the Windows Resource Kit.

Everything was fine until yesterday I believe, as I usually run a batch job 
twice a day to stop the service, update svn and restart.  I noticed my library 
was empty yesterday morning.
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] RandomPlay problem

2006-08-26 Thread Phil Meyer
I am currently experiencing an issue with SlimServer with an external MySQL DB, 
whereby at startup the database is cleared.

Rather than rescan my whole library multiple times whilst investigating this 
problem, I have been browsing the music folder to get a single album into the 
DB.

This morning, my SlimServer alarm clock fired, which is set up to play random 
tracks.  With just one album listed in the database (via BMF), I got the 
following crash:

2006-08-26 07:20:01.7547 DBD::mysql::st execute failed: You have an error in 
your SQL syntax; check the manual that corresponds to your MySQL server version 
for the right syntax to use near ') ) ORDER BY RAND() LIMIT 10' at line 1 at 
P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 743.
2006-08-26 07:20:01.7549 ERROR: Error executing 'SELECT me.id, me.url, 
me.content_type, me.title, me.titlesort, me.titlesearch, me.album, me.tracknum, 
me.timestamp, me.filesize, me.disc, me.thumb, me.remote, me.audio, 
me.audio_size, me.audio_offset, me.year, me.secs, me.cover, me.vbr_scale, 
me.bitrate, me.samplerate, me.samplesize, me.channels, me.block_alignment, 
me.endian, me.bpm, me.tagversion, me.drm, me.moodlogic_id, 
me.moodlogic_mixable, me.musicmagic_mixable, me.musicbrainz_id, me.playcount, 
me.lastplayed, me.lossless, me.lyrics, me.rating, me.replay_gain, 
me.replay_peak FROM tracks me LEFT JOIN genre_track genreTracks ON ( 
genreTracks.track = me.id ) WHERE ( audio = ? AND genreTracks.genre IN (  ) ) 
ORDER BY RAND() LIMIT 10': DBD::mysql::st execute failed: You have an error in 
your SQL syntax; check the manual that corresponds to your MySQL server version 
for the right syntax to use near ') ) ORDER BY RAND() LIMIT 10' at line 1 at 
P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 743.

2006-08-26 07:20:01.7552 ERROR: Backtrace follows:

2006-08-26 07:20:01.7556 Backtrace:

   frame 0: Slim::Schema::Storage::throw_exception 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 745)
   frame 1: DBIx::Class::Storage::DBI::_execute 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI.pm line 798)
   frame 2: DBIx::Class::Storage::DBI::_select 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI/Cursor.pm line 79)
   frame 3: DBIx::Class::Storage::DBI::Cursor::next 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Cursor.pm line 69)
   frame 4: DBIx::Class::Cursor::all 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI/Cursor.pm line 
115)
   frame 5: DBIx::Class::Storage::DBI::Cursor::all 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/ResultSet.pm line 921)
   frame 6: DBIx::Class::ResultSet::all 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/ResultSet.pm line 149)
   frame 7: DBIx::Class::ResultSet::search 
(P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/ResultSet.pm line 635)
   frame 8: DBIx::Class::ResultSet::slice 
(P:\Music\SlimServer\trunk\server/Plugins/RandomPlay/Plugin.pm line 65)
   frame 9: Plugins::RandomPlay::Plugin::findAndAdd 
(P:\Music\SlimServer\trunk\server/Plugins/RandomPlay/Plugin.pm line 301)
   frame 10: Plugins::RandomPlay::Plugin::playRandom 
(P:\Music\SlimServer\trunk\server/Slim/Buttons/AlarmClock.pm line 438)
   frame 11: Slim::Buttons::AlarmClock::checkAlarms 
(P:\Music\SlimServer\trunk\server/Slim/Utils/Timers.pm line 181)
   frame 12: Slim::Utils::Timers::checkTimers 
(P:\Music\SlimServer\trunk\server\slimserver.pl line 506)
   frame 13: main::idle (P:\Music\SlimServer\trunk\server\slimserver.pl line 
456)
   frame 14: main::main (P:\Music\SlimServer\trunk\server\slimserver.pl line 
1055)

2006-08-26 07:20:01.7559 DBD::mysql::st fetchrow_array failed: fetch() without 
execute() at 
P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI/Cursor.pm line 86.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at 
P:\Music\SlimServer\trunk\server\CPAN/DBIx/Class/Storage/DBI/Cursor.pm line 86.

Phil
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: New plugin: RadioTime

2006-08-26 Thread Paul Webster

A few suggestions ...

SORT ORDER
Sorting left to right when the radio station name is prefixed by its
frequency might work well for people in the listening area who know the
frequency, but for others or even for locals with RDS radios (I guess
primarily Europe) they probably rarely see or hear the frequency
because the station name is presented ... plus (UK) national stations
are diferent frequencies in different parts of the country.

SEARCH
There are a lot of stations - and Browsing through 100+ in a Genre when
trying to find a particular one (at the Squeezebox) is a bit of a pain
(especially if you don't know the frequency).

PROGRAMME NEXT ON...
This might break the business model for RadioTime - but anyway here is
the thought.
If I occasionally try to find a particular US show - I can put it in My
Radio and then (I presume) it will appear playable in the menu if I
happen to browse (at Slimserver or Web) if it is on somewhere that
RadioTime knows about (in the same way that PublicRadioFan web site can
show when a programme is on somewhere).
However, if it could show when it is next on - then I may well come
back and listen then.
e.g.
Car Talk - next on live in X hours/minutes
(by saying in X hours/minutes you get around timezone issues)
This might mean that I would not buy the RadioTime Recorder - hence my
comment about the business model. On the other hand it might mean that
users might get to like a show more and want to listen even more and
would rather have the convenience of it being auto-recorded rather than
having to remember to come back at the right time.

-(Independent of SB or RadioTime, recording streaming programmes based
on schedule or EPG entries is possible for free anyway - but if
RadioTime has a simple, foolproof and integrated system then maybe
sales will flow)-


-- 
Paul Webster

Paul Webster
http://www.lastfm.com/user/BondJamesBond

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=26682

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


Re: [SlimDevices: Beta] Re: Re: Re: Disappearing Music library

2006-08-26 Thread Phil Meyer
If you add a bt() call above that line, what do you get?

Still get the same warning.  The code looks like this:

my $guessedtype = typeFromPath($url);
bt();
if ($guessedtype ne 'unk') {
$type = $guessedtype;

The log reports:

2006-08-26 08:46:22.5293 Use of uninitialized value in string ne at 
P:/Music/SlimServer/trunk/server/Slim/Music/Info.pm line 238, DATA line 1.
2006-08-26 08:46:22.5756 Warning: Slim::Music::Info::getCurrentDataStore() is 
deprecated. Please use Slim::Schema directly.

Phil
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


Re: [SlimDevices: Beta] RandomPlay problem

2006-08-26 Thread Phil Meyer
In fact, I now get this error every time I try to start my server.  I can't get 
in there to turn off random play mode or force a rescan, and it crashes with 
the same error.

Phil
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] 48Khz playing at 44.1Khz

2006-08-26 Thread Heimiko

Doesn't matter what I do, all 48KHz types of audio play back at 44.1.
anyone else experiencing this?

Version: 6.5b1 - 9165 - Windows XP - EN - cp1252


-- 
Heimiko

Heimiko's Profile: http://forums.slimdevices.com/member.php?userid=3462
View this thread: http://forums.slimdevices.com/showthread.php?t=26715

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


Re: [SlimDevices: Beta] Re: Transactions not supported by database ...error

2006-08-26 Thread Christian Pernegger

The Debian bug has just been closed - apparently the last version had
introduced an ABI incompatibility. The package has not hit my mirror
yet but I'll report when I've tried it.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384047

C.
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: New plugin: RadioTime

2006-08-26 Thread RadioTime Steve

andyg;131151 Wrote: 
 
 Perhaps you could organize it so that if a particular station has
 multiple streams, you push into a submenu that lists format and bitrate
 (if known), something like:
 
 KUHB-FM -
 MP3 96kbps
 WMA 20kbps
 
 Or just leave out the lower bitrate WMA, as there would be no reason to
 listen to it in this case, unless for some reason the MP3 stream was
 down.
 
 Also note that we support a bitrate attribute in the OPML, so you can
 do:
 outline text=KUHB-FM MP3 URL=... bitrate=96 type=audio /
 
 Is there a way to browse by radio program yet?  I didn't see a menu for
 that.

Is there a way to mark an item so that it can play, and - will give
more options?  That way, you can play from the station or hit - to see
more options?

I'll add the bitrate to the streams.

Programs show up in my radio and the best of categories.  Programs show
up when browsing by genre on the web site.  We left them out of the OPML
just because it was a little confusing, we'll take another look at that,
I'm sure we can come up with something.

-Steve


-- 
RadioTime Steve

RadioTime Steve's Profile: http://forums.slimdevices.com/member.php?userid=7142
View this thread: http://forums.slimdevices.com/showthread.php?t=26682

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: New plugin: RadioTime

2006-08-26 Thread RadioTime Steve

Paul Webster;131177 Wrote: 
 A few suggestions ...
 
 SORT ORDER
 Sorting left to right when the radio station name is prefixed by its
 frequency might work well for people in the listening area who know the
 frequency, but for others or even for locals with RDS radios (I guess
 primarily Europe) they probably rarely see or hear the frequency
 because the station name is presented ... plus (UK) national stations
 are diferent frequencies in different parts of the country.
 
 SEARCH
 There are a lot of stations - and Browsing through 100+ in a Genre when
 trying to find a particular one (at the Squeezebox) is a bit of a pain
 (especially if you don't know the frequency).
 
 PROGRAMME NEXT ON...
 This might break the business model for RadioTime - but anyway here is
 the thought.
 If I occasionally try to find a particular US show - I can put it in My
 Radio and then (I presume) it will appear playable in the menu if I
 happen to browse (at Slimserver or Web) if it is on somewhere that
 RadioTime knows about (in the same way that PublicRadioFan web site can
 show when a programme is on somewhere).
 However, if it could show when it is next on - then I may well come
 back and listen then.
 e.g.
 Car Talk - next on live in X hours/minutes
 (by saying in X hours/minutes you get around timezone issues)
 This might mean that I would not buy the RadioTime Recorder - hence my
 comment about the business model. On the other hand it might mean that
 users might get to like a show more and want to listen even more and
 would rather have the convenience of it being auto-recorded rather than
 having to remember to come back at the right time.
 
 -(Independent of SB or RadioTime, recording streaming programmes based
 on schedule or EPG entries is possible for free anyway - but if
 RadioTime has a simple, foolproof and integrated system then maybe
 sales will flow)-

Hi Paul,

Great suggestions. 

We do have come back at this time to listen functionality.  Check out
http://radiotime.com/program/p_10358/The_Dan_Patrick_Show.aspx and click
on the ?tune button.  We should probably lead with something if the
program isn't live, any thoughts?  I'll play around with some differnt
ideas.  As for the timezone, if you have an account specified, we can
show it to you in your timezone.  How about this, if you have an
account, show day and time, otherwise show days/hours/minutes?

I'll take a look at the sort order.

You can download a free trial of our recorder from radiotime.com.  We
have a new version coming out in mid September that will be a lot
better.

-Steve


-- 
RadioTime Steve

RadioTime Steve's Profile: http://forums.slimdevices.com/member.php?userid=7142
View this thread: http://forums.slimdevices.com/showthread.php?t=26682

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: 6.5 CLI Pause Bug

2006-08-26 Thread Fred

Fixed in SVN 9177. Next nightly.

Thanks for reporting this.

Fred


-- 
Fred

Fred's Profile: http://forums.slimdevices.com/member.php?userid=2170
View this thread: http://forums.slimdevices.com/showthread.php?t=26408

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Playlist album titles

2006-08-26 Thread Dougal

Hi,
Minor point I know but a mixed playlist shows all album titles to be
that of the current playing song in browser.
SlimServer Version: 6.5b1 - 9173 - Windows XP - EN - cp1252
Thanks,
Doug.


-- 
Dougal

Dougal's Profile: http://forums.slimdevices.com/member.php?userid=5489
View this thread: http://forums.slimdevices.com/showthread.php?t=26731

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread jarome

I have mysql installed

This is on SUSE 10.1


-- 
jarome

jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
View this thread: http://forums.slimdevices.com/showthread.php?t=26732

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread Dan Sully

* jarome shaped the electrons to say...


I have mysql installed

This is on SUSE 10.1


A little more information please.

My car stopped working.

-D
--
You can usually recover from production flaws...but you can never recover from a 
bad design.
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread jarome

perl -version

This is perl, v5.8.8 built for i586-linux-thread-multi

This has always worked before.


-- 
jarome

jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
View this thread: http://forums.slimdevices.com/showthread.php?t=26732

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread Dan Sully

* jarome shaped the electrons to say...


perl -version

This is perl, v5.8.8 built for i586-linux-thread-multi

This has always worked before.


I'm sorry, but you've still given 0 information to let us help you with your 
issue.

_What_ is wrong?

Is there a crash log? What are the errors?

-D
--
iNoah I think someone should create a magazine for computer peripherals, called 
Card  Driver
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread jarome

The build said it failed, and slimserver will not run.

PERL5LIB=/usr/local/slimserver/Bin/DBI-1.50/blib/lib:/usr/local/slimserver/Bin/DBI-1.50/blib/arch
/usr/bin/perl Makefile.PL
Can't exec mysql_config: No such file or directory at Makefile.PL
line 76.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Can't exec mysql_config: No such file or directory at Makefile.PL
line 454.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-Idir

to set this directory. For details see the INSTALL.html file,
section C Compiler flags or type

perl Makefile.PL --help
There was a problem creating Makefile - exiting!


-- 
jarome

jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
View this thread: http://forums.slimdevices.com/showthread.php?t=26732

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: Perl build of SlimServer_v2006-08-26.no-cpan-arch.tar.gz failed

2006-08-26 Thread jarome

I did not have the mysql c development libraries installed. That had the
required mysql.h file.


-- 
jarome

jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223
View this thread: http://forums.slimdevices.com/showthread.php?t=26732

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


Re: [SlimDevices: Beta] Re: Re: Disappearing Music library

2006-08-26 Thread Phil Meyer
I've just updated MySQL to v5.0.24, and I am rescanning to see if the issue 
still occurs.

How do I optimise my own instance of MySQL with the same settings that 
slimserver defines in my.tt?  Can I copy/create a file within my database 
folder?

Phil
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


Re: [SlimDevices: Beta] Re: Disappearing Music library

2006-08-26 Thread Phil Meyer
I'm still experiencing this problem.

In my case, when I restart my slimserver service, it clears the database but 
doesn't start a scan.

It only seems to drop the database content when I start the service up.  It 
doesn't seem to drop content if the content was loaded using Browse Music 
Folder; only if I have performed a scan and then restart.

Any ideas on how to solve this problem much appreciated!

Phil
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] 6.5b1 - build 9093, rescan crash

2006-08-26 Thread Cry Havok

When attempting to configure an auto-rescan I'm seeing the following
error (and resulting crash of slimserver):

Undefined subroutine Slim::Utils::validate::acceptAll called at
/usr/local/slimserver-6.5/Slim/Web/Setup.pm line 2980.

This is on Linux, daily from today (26th), build 9093.

Anybody else seeing this, or have I simply managed to corrupt my
install?


-- 
Cry Havok

Cry Havok's Profile: http://forums.slimdevices.com/member.php?userid=3267
View this thread: http://forums.slimdevices.com/showthread.php?t=26736

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Re: 6.5b1 - build 9093, rescan crash

2006-08-26 Thread Cry Havok

Ok, not a beta bug as such - looks like it's down to my having a (hacked
to work) version of WeatherTime installed as a plugin.  With it in place
hitting any of the Change buttons triggers a crash.


-- 
Cry Havok

Cry Havok's Profile: http://forums.slimdevices.com/member.php?userid=3267
View this thread: http://forums.slimdevices.com/showthread.php?t=26736

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


RE: [SlimDevices: Beta] Rescan problem 6.5b1 - 9173 - Windows XP

2006-08-26 Thread Christopher Key
Andrew L.Weekes wrote:
 Hi everyone,
 
 I thought I'd try out 6.5 tonight, and instead of messing with my
 main Linux server box, I installed it under XP on the desktop
 machine.  
 
 The music folders are a Samba share on the linux box, mapped to drive
 M on the XP box, so setting the music folder as M:/FLAC and the
 Playlist folder as M:/Playlists which always worked fine on previous
 versions should work.   
 
 Unfortunately the server throws up the following: -
 
 NEW VALUE FOR PLAYLISTS FOLDER REJECTED:
 OOPS - \M:\PLAYLISTS\ DOESN'T SEEM TO BE A VALID DIRECTORY. TRY
 AGAIN. 
 
 NEW VALUE FOR MUSIC FOLDER REJECTED:
 OOPS - \M:\FLAC\ DOESN'T SEEM TO BE A VALID DIRECTORY. TRY AGAIN.
 
 Any ideas as to what's going on? The paths are valid, and work from
 Explorer. 
 
 Failing the above can I just install 6.5b1 in a different folder on
 the Linux box and just switch between the two servers so I can leave
 the stable install alone?  
 
 Andy.

I have a feeling that this is caused by SlimServer running as a service.  It
runs as a different user, and hence doesn't see any of the mapped network
drives which exist for your as a user.  Try giving it an absolute path
instead, e.g. \\SERVER\SHARE\FLAC

Chris

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta


[SlimDevices: Beta] Sort by artist

2006-08-26 Thread Mike Meyer

Hi guys.

Just wanted to post this and see if I could get some help or if it is a
known problem.  I'm using the latest nightly build for Windows XP.  When
using the Sort By Artist, Album (or Artist, Year, Album) in the
dropdown, my artists aren't following the alphabet at the top.  For
instance, if I click on the letter A, I see the artists starting with
numbers (which is fine), the letter A, and then a few starting with B
on the same page.  At the top, only the numbers and letter A are in
bold.  This pattern continues down the alphabet.  So when I click on T
there are no artists because they are on the M page.  Basically they
are all shifting up the alphabet.  I use Fishbone as my skin but it
happens on all the skins I tried except Touch.  Not sure what the
difference is there.

It doesn't happen in Fishbone on the build from 8/1 but I've tried
several builds since then and it happens everytime.  I have FLAC's and
MP3's.

I have tried to debug but wasn't sure what flags to set.  I used sql,
info, scan and artwork but nothing jumped out at me.  Any help would be
appreciated.  Thanks.


-- 
Mike Meyer

SB2 / Pioneer VSX-1015TX / Orb Audio Mod 1's

Mike Meyer's Profile: http://forums.slimdevices.com/member.php?userid=1832
View this thread: http://forums.slimdevices.com/showthread.php?t=26744

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta