Re: [SlimDevices: Plugins] Random playlist from selection of artists

2010-05-24 Thread snarlydwarf

drbob49;550273 Wrote: 
> 
> Is there another way?  Perhaps using more complex Genres such as "Folk,
> British, Female" would be the way to go.

That's exactly what I would do: genres (or if you get REALLY anal and
create 'mood' tags and use CustomScan to read them in... since they're
not -really- genres) seem to be the best way to make most playlists
with sufficient dynamic qualities (a strict-by-artist playlist seems
painful to create and maintain.. using genres lets it grow as you fix
tags and buy more music...)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=79106

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


Re: [SlimDevices: Plugins] Softsqueeze brought down my server?

2010-04-21 Thread snarlydwarf

coldslabs;538711 Wrote: 
> 
> I am running Ubuntu Server 9.04 and my /var/log/message file contained
> this line before the power off:
> "Apr 21 08:39:10 music kernel: [1177207.654935] perl[9574]: segfault at
> 0 ip 08118e13 sp bfa76520 error 4 in perl[8048000+134000]"
> 
> Googling got me no where. Was this a softsqueeze issue or just a
> conincidence?

That's perl (which probably means SBS in your case) dying.  A segfault
is when a pointer starts pointing at things it shouldn't.  It could be
a bug in perl, it's HIGHLY unlikely to be a bug in SBS (since Perl
itself handles the dirty work of dereferencing pointers and making sure
you don't do bad things with them).  But.. considering the shutdown of
your system, I would actually guess it is something entirely different
like a memory error.

(Back in the olden days, the correct answer to "why does gcc give me a
segfault when I build the kernel?" was "because you have a memory
error, replace your memory.")

Just as deliberately or accidentally setting a pointer to point where
it shouldn't point... having a bit get stuck in RAM would have the same
effect.)  And a memory error may eventually take down your system if it
corrupts kernel memory.

If you can deal without your computer for a few hours, try installing
memtest86 to see if it finds something.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=77720

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


Re: [SlimDevices: Plugins] Softsqueeze brought down my server?

2010-04-21 Thread snarlydwarf

coldslabs;538711 Wrote: 
> 
> I am running Ubuntu Server 9.04 and my /var/log/message file contained
> this line before the power off:
> "Apr 21 08:39:10 music kernel: [1177207.654935] perl[9574]: segfault at
> 0 ip 08118e13 sp bfa76520 error 4 in perl[8048000+134000]"
> 
> Googling got me no where. Was this a softsqueeze issue or just a
> conincidence?

That's perl (which probably means SBS in your case) dying.  A segfault
is when a pointer starts pointing at things it shouldn't.  It could be
a bug in perl, it's HIGHLY unlikely to be a bug in SBS (since Perl
itself handles the dirty work of dereferencing pointers and making sure
you don't do bad things with them).  But.. considering the shutdown of
your system, I would actually guess it is something entirely different
like a memory error.

(Back in the olden days, the correct answer to "why does gcc give me a
segfault when I build the kernel?" was "because you have a memory
error, replace your memory.")

Just as deliberately or accidentally setting a pointer to point where
it shouldn't point... having a bit get stuck in RAM would have the same
effect.)  And a memory error may eventually take down your system if it
corrupts kernel memory.

If you can deal without your computer for a few hours, try installing
memtest86 to see if it finds something.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=77720

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


Re: [SlimDevices: Plugins] Cannot scrobble on Squeezebox Classic

2010-03-03 Thread snarlydwarf

JonWill;522278 Wrote: 
> Wasn't expecting those smilies ...

Yes, the forum nicely changes colon-D into some strange smile.

It looks like it's not even trying to scrobble.

You should see something like:

Code:


  [10-03-03 08:29:49.0196] 
Slim::Plugin::AudioScrobbler::Plugin::newsongCallback (454) Submitting scrobble 
queue before now playing track
  [10-03-03 08:29:49.0207] Slim::Plugin::AudioScrobbler::Plugin::submitScrobble 
(841) Scrobbling 1 queued item(s)
  [10-03-03 08:29:49.0366] Slim::Plugin::AudioScrobbler::Plugin::submitScrobble 
(901) Submitting: 
l[0]=228&n[0]=1&r[0]=&a[0]=Unbelievable%20Truth&b[0]=Almost%20Here&m[0]=6ec1bab0-da9c-4540-9879-3bfb5d43d456&o[0]=P&i[0]=1267633560&t[0]=Solved
  [10-03-03 08:29:49.0394] 
Slim::Plugin::AudioScrobbler::Plugin::newsongCallback (519) New track to 
scrobble: Angel, will check in 114 seconds
  [10-03-03 08:29:50.4984] 
Slim::Plugin::AudioScrobbler::Plugin::_submitScrobbleOK (967) Scrobble submit 
successful
  [10-03-03 08:29:51.0023] 
Slim::Plugin::AudioScrobbler::Plugin::submitNowPlaying (587) Submitting Now 
Playing track to Last.fm: 
a=Unbelievable%20Truth&t=Angel&b=Almost%20Here&l=229&n=2&m=835e36c5-519e-484d-9b11-b6f7cd9af895
  [10-03-03 08:29:51.3920] 
Slim::Plugin::AudioScrobbler::Plugin::_submitNowPlayingOK (614) Now Playing 
track submitted successfully
  



-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=75833

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


Re: [SlimDevices: Plugins] Cannot scrobble on Squeezebox Classic

2010-03-03 Thread snarlydwarf

JonWill;522261 Wrote: 
> I'm running 7.4.1 on a NAS - do you think I should upgrade?
> 
> And -when- should a song scrobble?  Does it appear in Last.fm
> instantly, or overnight?  Or do I have to manually do something?
> 

If set up correctly, it will scrobble instantly.  (In fact, it shows on
Last.fm as 'Now playing on Squeezebox' or something.)

You may want to alter logging (Server Settings -> Logging): change the
plugin.audioscrobbler to 'debug' and it will spit out more information
about what it is doing.  Play a few songs, then go back to the Server
Settings -> Logging page and choose view logs.  That may give some clue
as to what is going on.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=75833

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


Re: [SlimDevices: Plugins] Brain cramp Trackstat question

2010-01-26 Thread snarlydwarf

MeSue;510710 Wrote: 
> Would a clear and rescan require a Trackstat restore, or is that just
> when you wipe the cache?

Just when you wipe the database itself (ie, remove the stuff in the
folder named 'cache').

(I dislike the name of that folder, it's not really a cache in the
traditional sense at all...)

I do a clear-and-rescan every night, and Trackstat stays happy.  (It
uses the 'persistant' table to keep its data across clear-scans.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=74541

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


Re: [SlimDevices: Plugins] Browsing Music Folder by first letter

2010-01-22 Thread snarlydwarf

Though a directory with 2000 entries (whether files or directories) is
generally A Bad Idea.

(Not just for SBS, most file systems dislike it greatly.)

Just as it's easier for a human to have an initial letter to subdivide
things, it's also easier for the operating system.

It may be better to do that outside of SBS for this reason.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=74381

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


Re: [SlimDevices: Plugins] Browsing Music Folder by first letter

2010-01-22 Thread snarlydwarf

For Web, Player, or Controller, Erland's "Custom Browse" would be what
you want.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=74381

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


Re: [SlimDevices: Plugins] Announce: Weather Screensafer for Radio/Touch/Controller

2010-01-13 Thread snarlydwarf

Very cool.

Runs nicely on Touch, Radio and SBC.

Nice work.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=73827

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


Re: [SlimDevices: Plugins] what is the point of buying the SB Receiver or Controller??

2009-12-22 Thread snarlydwarf

huytere;497532 Wrote: 
> 
> 
> Are there any other disadvantages I should know about?

You have a dozen zones...

But only one music source?

What if you want to listen to something in your office, and your wife
wanted to listen to something in hers, and a guest wanted something in
their room...

Since you list only one output from a pc soundcard, sounds to me like
that is just not possible.

"Only one stream to choose from" sounds like one heck of a limitation
to me.

The 'home run' system is old school and just not as scalable.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72872

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


Re: [SlimDevices: Plugins] Why not add MusicIP in Squeezebox Server native?

2009-12-22 Thread snarlydwarf

Shepardos;498230 Wrote: 
> Hi,
> 
> I really love MusicIP. Now on my Mac I have problems to run the MusicIP
> "headless".
> 
> Now my question: Why not add to the Squeezebox Server native, without
> the need of MusicIP?
> 

Because Logitech doesn't own MusicIP (and it seems no one is
maintaining MusicIP itself any more).

They can't include code they don't own or have the rights to use.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72940

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


Re: [SlimDevices: Plugins] Multi Library - multi directories?

2009-12-01 Thread snarlydwarf

SBS proper only deals with one path to your audio files.

MultiLibrary doesn't change that: it just lets you make 'subsets' of
your collection.

It sounds like you're using Linux...

So what I would do: create one directory that has links to the other
two.

Ie /home/user/music  that has symlinks to your two directories.

Give THAT to SBS.  And then use MultiLibrary to subdivide it.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=72129

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


Re: [SlimDevices: Plugins] RandomMix with Least Recently Played Tracks

2009-10-31 Thread snarlydwarf

amatala;479545 Wrote: 
> Hello,
> 
> Do I have to install TrackStat in order to play RandomMixes which give
> higher priority to the least recently played tracks? Is it possible to
> also take into account the genre at the same time - e.g. RandomMix of
> least recently played Classical tracks... ?
> 

Yes.

> 
> Do I need to install anything else besides TrackStat? I see that there
> are all kind of other plugins which integrate with TrackStat. Are these
> mandatory to achieve my goal?

Yes.  TrackStat, DynamicPlaylist and SQLPlaylist go together very
nicely.  DynamicPlaylist would be close, but SQLPLaylist lets you tweak
a bit more.

> 
> And the final one: is there any performance impact when running
> TrackStat?  I run SC 7.3.3 with MiP integration (for Mixable info only)
> on Windows 2003 and I have 40.000 FLAC files in my library.
> 

Of course there is.   If you don't use the features, it's very minor
(incrementing a play count, for example).  If you use them, then
depending on the complexity of your playlist, it can take a second to
build the list.

I'd say install them: trivial now that the Plugin Manager does its
thing, and if you don't like them, turn them off.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=70617

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


Re: [SlimDevices: Plugins] Announce: Information Screen (a configurable screen saver)

2009-09-03 Thread snarlydwarf

erland;454814 Wrote: 
> Thanks for reporting, it should now work again.
> (I had used & instead of & inside some xml values)

Hrrm.. doesn't work for me.  At the 'Downloading Applets' stage, it
gets stuck, apparently the 302 redirect is annoying Squeezeplay, it
doesn't seem to follow it.  This is the last I see:

T 213.112.33.27:80 -> 192.168.2.17:41894 [AP]
HTTP/1.1 302 Found..Date: Fri, 04 Sep 2009 05:49:36 GMT..Server:
Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.4-2ubuntu5.
6 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g..Location:
http://erland.homeip.net/download/do/downloadapplication?na
(etc)

And then nothing more on port 80.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=67422

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


Re: [SlimDevices: Plugins] Google Voice, anyone?

2009-08-17 Thread snarlydwarf

It didn't say, "you will probably get an invite within two weeks?"


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=66729

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


Re: [SlimDevices: Plugins] Announce: Squeezebox Server 7.4 beta versions of erlands plugins

2009-07-21 Thread snarlydwarf

Oh, my, I take a vacation and come back to this.

My wife will be -very- happy to have this back.  ("Why the heck is
Harry Partch playing as the alarm clock?")


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=65439

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


Re: [SlimDevices: Plugins] TrackStat survey, what's most important ?

2009-06-02 Thread snarlydwarf


A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=64055

Question: What functionality in TrackStat do you need most ?

- The ability to set track ratings on currently playing track
- The ability to set track ratings when browsing music library
- The ability to set track ratings from third party clients like
  iPeng and Moose
- Dynamic playlists offered through Dynamic Playlist plugin
- Browsing top rated statistics
- Browsing most played statistics
- Browsing last added statistics
- iTunes statistics import/export modules offered through Custom Scan
- MusicIP statistics import/export modules offered through Custom
  Scan
- Amarok statistics import/export modules offered through Custom Scan


erland;428777 Wrote: 
> I suspect the new database schema planned for SqueezeCenter 8.0 might be
> the end of TrackStat in its current form since I no longer have enough
> spare time to maintain it and do major changes to it. There is also a
> bit of work required to update TrackStat to work towards the new SQLite
> database backend used in SqueezeCenter 7.4. 

Personally, that would be very sad: TrackStat And Friends are one of my
favorite features of SC, and every morning the wife complains that I no
longer have the Ambient Dynamic Playlist for an alarm.

> 
> Due to all this I would like to get some more information from all
> TrackStat users regarding which functionality in TrackStat that's most
> important to you. The reason for this survey is to make it easier for me
> to prioritize the correct functionality for the 7.4 upgrade and for
> Logitech to get a feeling which functionality will be missed unless they
> include it into standard SqueezeCenter.
> 
> So what functionality in TrackStat would make you avoid upgrading to
> 7.4/8.0 when it's released unless TrackStat works with it ?

Absolute 'must haves' would really be the core TrackStat itself and
Dynamic Playlists (which I think implies SQL Playlists).

It's nice to have Custom Browse, but not essential for my use since I'm
not smart enough to use the templates to their full abilities... and
CustomScan and MultiLibrary are nice to keep the wife's music seperate,
but I can manage without...

Since this series of plugins are all very related and intermixed and
grew up in what appears to be an unplanned way (no offense intended: I
don't think anyone, including yourself, realized how useful they would
become), would there be a benefit in focusing on TrackStat itself (since
it has the core ratings support and such) and integrating the more
common usages (like Dynamic/SQLPlaylists) into Trackstat itself?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=64055

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


Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins

2009-05-15 Thread snarlydwarf

Chewie;423471 Wrote: 
> Oh  I ran the latest nightly installation this morning before going
> to work but have not used my system since. I use your SQL Playlist,
> TrackStat, and Dynamic Playlist plugins Erland does that mean I’ve lost
> all my ratings and play counts?

No, they seem to still be there but just not used.

(Ie, sc doesn't know how to migrate them, but it also doesn't delete
them, at least on my setup with a standalone mysql instead of the
'integrated' one.)

If I understand Andy right it won't delete them on the migration, it
just won't move them.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

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


Re: [SlimDevices: Plugins] NAS and Squeezecenter - Test before Buying?

2009-04-07 Thread snarlydwarf

wcndave;413507 Wrote: 
> 
> So what i would like to do is install squeezecenter and then see how it
> works / performs.  Is there any way to test this BEFORE i buy the duet. 
> I understand i cannot test wifi etc, however can i test that the SC is
> working, and performing ok using a desktop app of some kind installed
> on my PC?

You can download and install SC for free, it comes with a Java-based
emulator that shoudld be close enough.

How to download/install would depend on your NAS.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=62215

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


Re: [SlimDevices: Plugins] Official WebLogger Thread

2009-03-24 Thread snarlydwarf

yay!  <3 Weblogger.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=61751

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


Re: [SlimDevices: Plugins] Moving SqueezeCenter Recover Trackstat

2009-03-16 Thread snarlydwarf

BodgeIT;406882 Wrote: 
> 
> I would have expected the '/' in the unix path but am surprised to see
> them throughout the smb unc?  Shouldn't there be any '\' in there?
> 

Nope, that's normal for Perl.  (\ is magical in Perl and C... for some
reason DOS liked the backslashes which makes "\n" and other things suck
in languages that came from the Unix world...)

Many C compilers do the same thing, making "/" the directory seperator
instead of "\" to make programmers brains not explode.  If it didn't,
it would need to escape each of those \'s to \\ to make sure they were
handled right... and that would be.. painful.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=61426

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


Re: [SlimDevices: Plugins] SoftSqueeze problem

2009-02-20 Thread snarlydwarf

awl1;398687 Wrote: 
> Thanks Mats, I tried what you suggested. In the past I've always gone to
> the softsqueeze download page. So now I am able to select a softsqueeze
> player in the SqueezeCentre web page and it works. This is different
> from before though when I had seperate window with a SB3 fascia and
> virtual remote control. I quite liked that, but still cannot make it
> work. Maybe it's no longer supported? Andrew

Softsqueeze is still supported... Squeezeplay will replace it at some
point, but not yet.  A software based player is too useful as a
marketing tool to go away: it makes for a great "try before you buy"
demo.  (Even if it's not exactly the same as a real hardware player,
it's close enough to get the feel of things if you ignore some of the
quirks.  Squeezeplay should have less quirkiness since it removes the
java layer and runs a bit closer to the hardware, though it still has
the Operating System layer to contend with.)

You can change the skin on SoftSqueeze, I think the default is now
transporter, but I like the 'small sb2' skin, since it takes less
screen space...

The settings are on the little icon with the 'list' type thingie.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=60283

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


Re: [SlimDevices: Plugins] Custom Browse survey, why do you use it ?

2009-01-27 Thread snarlydwarf


A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=58894

Question: Why do you use Custom Browse ?

- I need to be able to browse multiple libraries
- I need to be able to browse composers or conductors separately
- I need it to be able to filter the contents of albums, artists or
  genres menus
- I need an itermediate A-Z menu before showing artists or albums for
  a specific letter
- I need to be able to browse custom tags
- The standard browse menus can't be configured as I like them
- I need to be able to browse decades
- I need more flexible browse menus to browse classical or jazz music
- I use it because it exists but the standard browse menus works good
  enough
- Some other reason


jpoet;389925 Wrote: 
> 
> Best solution would be for the ratings to be stored in the tags.  I
> really don't know why that is not done.
> 

Because some of us are paranoid about the concept of programs that
listen to network sockets having the ability to write to our music
files.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58894

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


Re: [SlimDevices: Plugins] Custom Browse survey, why do you use it ?

2009-01-27 Thread snarlydwarf


A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=58894

Question: Why do you use Custom Browse ?

- I need to be able to browse multiple libraries
- I need to be able to browse composers or conductors separately
- I need it to be able to filter the contents of albums, artists or
  genres menus
- I need an itermediate A-Z menu before showing artists or albums for
  a specific letter
- I need to be able to browse custom tags
- The standard browse menus can't be configured as I like them
- I need to be able to browse decades
- I need more flexible browse menus to browse classical or jazz music
- I use it because it exists but the standard browse menus works good
  enough
- Some other reason


My main use at the moment is to seperate the wife's music from mine...
but I also like the 'alternate display' that it provides.

At some point I would like to explore more of its potential, like
handling classical music differently than non-classical pieces.  For
that reason, I think custom browse/scan will long hold a purpose: the
schema for the two can be radically different and tweaking things for
one (including composer, for example) makes little sense with most pop
music, but is crucial for classical.

Supposedly "multi library" support is coming, which would reduce some
of the need for CustomBrowse/Scan for me at least,


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58894

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


Re: [SlimDevices: Plugins] squeezeslave running in background?

2009-01-23 Thread snarlydwarf

If you start it by appending an & to the command line, it will run in
background.  This is usually sufficient to keep it running even when
the xterm that started it is killed or exited.

With some apps you may need to add 'nohup' to the start of the command
line... this is because when the shell exits it is supposed to send a
HUP to children to tell them that you "hung up" the session (as in
hanging up a phone call) and that they should shut down nicely.  In
practice, I rarely use nohup, so I doubt you need to use it.  (Most
programs ignore the HUP signal or use it as a clue to reread their
config files, not to exit.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58696

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


Re: [SlimDevices: Plugins] Plugins do not install

2009-01-15 Thread snarlydwarf

If you use 7.3, you should really try the repository for those.  It
makes life a ton easier (especially if you tend to stock up on Erland's
plugins!)

Settings -> Advanced -> Extensions Downloader

And add
http://erlandplugins.googlecode.com/svn/repository/trunk/latest.xml

This makes adding plugins mindnumbingly easy.  No more downloading,
unzipping and moving to the "right" place.

Of course, it may mean you end up installing every plugin under the
sun, but that's not my fault. :)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58302

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-14 Thread snarlydwarf

andyg;384232 Wrote: 
> No, that was a merge. I'll file a bug and see about adding a proper hook
> for rotating logs. Actually, the default log settings of all error
> should generate little to no log entries anyway.

Yeah, didn't mean to sound like I was blaming you... went to find out
how ancient that file was and saw your name...

I cant remember my chronology (the wonders of senility) and whether you
were at Slim when the first debs came out or not.  It may very well
predate you, even though you're now an old fogey there.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-14 Thread snarlydwarf

andyg;384422 Wrote: 
> I'll take care of this for 7.3.3.

Yay!  It has annoyed me since the first debs.  (It never bothered me
before because I never rotated the logs :P)

I had to change cron.daily  to run at 6:05am so that it didn't smack
the alarm clock.  (It used to run, and still be loading all 328908
plugins when the alarm came up, making the alarm not trigger...)

I considered making it use logger like mysql does and just syslog
everything, but, meh, never got time.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-13 Thread snarlydwarf

andyg;384218 Wrote: 
> OK that's news to me... but that script is the worst idea I've ever
> seen!  Nobody minds when SC restarts while they are listening to
> music??  There are better ways to rotate a log file (use SIGHUP for
> example).

Um

Yes, I agree its dumb.

But...

http://svn.slimdevices.com/7.3/trunk/platforms/debian/squeezecenter.logrotate?view=log

Didnt you do the last checkin of that file?

My brain hurts.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-13 Thread snarlydwarf

andyg;384214 Wrote: 
> No, SC never restarts itself, even on Linux.  And SC must be restarted
> after a plugin install.  That's why there is a popup message telling
> you this when you install or remove a plugin.

I beg to differ, Andy, although perhaps you are arguing semantics.

The squeezecenter .deb package, as supplied by Logitech, includes a
file placed in /etc/logrotate.d/squeezecenter that includes the
following:


Code:


  prerotate
  invoke-rc.d squeezecenter stop >/dev/null || true
  endscript
  
  postrotate
  # Only starts SqueezeCenter if it is supposed to
  # run in the current run-level
  invoke-rc.d squeezecenter start >/dev/null || true
  endscript
  



So, again, as I said, Squeezecenter, as part of the logrotation, does
restart.  No, it is not the SC daemon restarting itself: it is, however
the SC package restarting the SC daemon.  To the typical user, this is
all semantics, and SC DOES restart itself on Linux.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-13 Thread snarlydwarf

sander;384208 Wrote: 
> 
> 
> Does Squeezecenter restart itself periodically or something?

On Linux I know it does for sure as part of the log rotation.  I don't
know how other OSs handle that.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] Do Plugins require a reboot or not?

2009-01-13 Thread snarlydwarf

Not a reboot, but you need to restart SC for it to go looking for new
plugins.

They shouldn't vanish


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=58195

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


Re: [SlimDevices: Plugins] List of all plugins

2008-12-16 Thread snarlydwarf

pleyraki;371518 Wrote: 
> Hi all.
> 
> I have searched (I think) and have not found a comprehensive list of
> all the plugins announced in the forum. Is there such a list?
> 
> Thanks,

http://wiki.slimdevices.com/index.php/SqueezeCenter_Plugins is probably
the closest.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=56602

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


Re: [SlimDevices: Plugins] TrackStat / Can I rate a song via my remote

2008-05-07 Thread snarlydwarf

bad;299872 Wrote: 
> 
> But I would like to rate songs via my remote. Im I missing somthing
> obvious? This is like the key fetature for me.
> 
> I use a Logitech Squeezebox Classic also called Version 3 I think.
> 

Hold down the 5 button to rate something as 5.  (Not a 'press', but a
hold, it will bring up a display of the rating after a second or so.)

Of course, you can rate things 1-4 this way, too...


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=47362

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


Re: [SlimDevices: Plugins] Announce: SqueezeScrobbler 1.0 for SqueezeCenter 7.0

2008-02-29 Thread snarlydwarf

> 
> [08-02-29 20:50:00.4401]
> Plugins::SqueezeScrobbler::Settings::isScrobblerOn (239) Disabling
> SqueezeScrobbler, official plugin is enabled!
> 

Turn off the other scrobbler plugin.  Leave SqueezeScrobbler on.

Only one should scrobble, or you would record every track twice... so
SqueezeScrobbler detects the other one is enabled and disables its own
scrobbling.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=38845

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


Re: [SlimDevices: Plugins] Plug-in suggestion

2008-01-17 Thread snarlydwarf

colin_young;259932 Wrote: 
> 
> PERL I can figure out (I've been actively avoiding it for about 10
> years now, but it looks like I might be out of luck now). I just need
> some help with the plug-in side of things. Could you point me to a
> fairly basic plugin that might be a good starting point (the less it
> does the better)?

I would think 'no interface' would be better... a cronjob that runs a
couple times an hour looking for new stuff, checking and moving as
appropriate.

It could mail you about things it didn't like.

And then trigger a rescan of just the directory where the new stuff
(that it wasnt mad at) went, which should only take a few seconds.

And learn perl.. I avoided perl for ages (cough, back when perl4 was
new...) and then needed it for a program...  now I use it all the time
as the swiss-army-knife it really is.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=42091

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


Re: [SlimDevices: Plugins] Probs syncing softsqueeze with Squeezeboxes

2007-11-14 Thread snarlydwarf

You are always going to have sync problems with softsqueeze: you have
multiple layers of code dealing with outputting sound (the java mp3
layer, some sort of OS layer, and then the hardware layer).

There really is no way from Java to get down-and-dirty and know exactly
how full any operating system or card buffering is, which means there is
no way to know -exactly- what sound is coming out of the speaker.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=37548

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


Re: [SlimDevices: Plugins] Announce: Other Players plugin

2007-10-26 Thread snarlydwarf

max.spicer;205195 Wrote: 
> 
> PS  I announced this on the Developers forum a week ago (partly by
> accident).  Nothing's changed in the past week.

Damn I missed that announcement.  Brilliant idea, I have missed Grab
Playlist and this sounds so much better anyway.

New toy to play with, yay! :)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=35668

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


Re: [SlimDevices: Plugins] Softsqueeze

2007-10-17 Thread snarlydwarf

On Unix, case matters.

It is "SoftSqueeze.jar¨


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=39366

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


Re: [SlimDevices: Plugins] Can't Change LastFM stations

2007-09-24 Thread snarlydwarf

I had to fondle it a bit for Debian (which doesn't seem to like the
Plugins directory at all...) but the only thing I see missing from the
old version is the way "Similar Artists To" stations were created on
the fly.

(Ie, play a song from your library and a new station showed up in
LastFM.)

But it scrobbles and plays fine: it actually seems faster at switching
tracks when you hit Skip, too... Not sure if that is a change in Plugin
design or if there was a LastFM API change that the plugin now uses.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=36526

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


Re: [SlimDevices: Plugins] Last.fm & SlimScrobbler Plugins SS 7.0a

2007-09-19 Thread snarlydwarf

aha found it!

I noticed that at the tail end of startup (I run it in a screen window
so I can watch debugging and still sort of background it) there was
this:

[08:07:30.6771] Slim::Utils::PluginManager::writePluginCache (116)
Writing out plugin data file.

Cache?  Ooooh.

I started Slimserver once with the plugin in the Slim/Plugin directory
before I read the docs, and it stuck with that location in the cache,
always remembering it even after it moved.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=37785

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


Re: [SlimDevices: Plugins] Last.fm & SlimScrobbler Plugins SS 7.0a

2007-09-18 Thread snarlydwarf

Yep, and logging says it loads:

23:29:51.6056] Slim::Utils::PluginManager::enablePlugins (338) Enabling
plugin: [Plugins::SlimScrobbler::Plugin]

Oddly, I don't have the debug options and other than it showing up in
the Plugins menu, it doesn't show any other sign of being there (no
debug flags for it).


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=37785

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


Re: [SlimDevices: Plugins] Last.fm & SlimScrobbler Plugins SS 7.0a

2007-09-18 Thread snarlydwarf

I cant even get the settings page to load now. :/

> 
> 404 Not Found: plugins/SlimScrobbler/settings/basic.html

Yes, on one line.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=37785

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


Re: [SlimDevices: Plugins] CustomScan/Skip and Ratings

2007-08-06 Thread snarlydwarf

I don't know about the WMP ratings, but with
Trackstat/DynamicPlaylist/SQLPlaylist I have a playlist for "Stuff I
like" that is things rated 70 or better.  (The internal trackstat
ratings are 0-100, so that is 3.5 stars on the 5-star system).

Try SQLPlaylist, it may be more of what you need.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=37411

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


Re: [SlimDevices: Plugins] SlimScrobbler

2007-05-08 Thread snarlydwarf

Depends on how reliable last.fm's database is.  It seems fine for me
today (and their status post in the forum says it's all up but weekly
charts are delayed...).

Is there anything in the log.txt?

Try turning on d_plugins and see what it says after playing a couple
tracks long enough to be scrobbled.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=35123

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


Re: [SlimDevices: Plugins] Weblogger and Albumart

2007-04-21 Thread snarlydwarf

Hrrm.. it works for me, but I have thumb.jpg and cover.jpg in every
folder.

A cheap perl trick:


Code:


  #!/usr/bin/perl
  
  use File::Find;
  use Image::Magick;
  
  find ({wanted => \&wanted, no_chdir => 1 }, '.');
  
  
  sub wanted {
  return if not -d;
  $cover = $_ . "/cover.jpg";
  $thumb = $_ . "/thumb.jpg";
  if ( -e $cover && ! -e $thumb )
  {
  my $image = Image::Magick->new;
  $image->read($cover);
  $image->Resize(geometry=>"150x150");
  $image->Write($thumb);
  } elsif ( ! -e $cover) {
  print "$_ : no cover\n";
  }
  }
  



Ie, if there is a cover and no thumb, it makes a 150x150 thumb.

It will recurse through the directory tree and do that for all albums.

I would assume Image::Magick is available for Windows.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=22520

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


Re: [SlimDevices: Plugins] last.fm issue

2007-03-14 Thread snarlydwarf

Well that track will never be saved on Last.fm:

a[0]=Various%20Artists

The artist "Various Artists" is invalid.

If you have since modified tags so that the artist is valid but
Slimserver shows "Various Artists, Real Artist" then you need to do a
full clear-and-rescan.

The server doesn't remove all the contributor links to a song unless
you do a clear-and-rescan.

2007-03-14 11:55:43.9242 Scrobbler: Got bad return code (Connect timed
out) from POST
2007-03-14 12:03:15.4916 Scrobbler: Got bad return code (Connect timed
out) from POST

That said, the submission server is now sucking for me.  Boo.  I should
have knocked on wood when I said it was behaving for me.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33602

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


Re: [SlimDevices: Plugins] last.fm issue

2007-03-14 Thread snarlydwarf

simong;187860 Wrote: 
> code Connect timed out from POST
> 2007-03-14 17:35:22.0019 Scrobbler: ==resubmit()
> 2007-03-14 17:35:22.0020 Scrobbler: Waiting before retry

In short, Last.fm servers were being slow.

They do that.  Pretty often.

SlimScrobbler does the right thing, though: it just saves the track
details for later and will keep trying, so even if the last.fm
submission server keels over dead for a day or two, it will submit when
the server comes up.

(It does back down on attempts after a while: if you go for a few hours
without it being available, then why keep trying...)

http://www.last.fm/forum/21713/_/51596 is the Server Status thread,
which shows the Submissions Server is presently "a bit unreliable".. it
seems to be working for me this morning, but that may just be luck.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33602

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


Re: [SlimDevices: Plugins] Sorting out last.fm tags

2007-03-05 Thread snarlydwarf

MB taggers will overwrite your existing artist tags, though.

(Although they will also add an ArtistSort tag, so artists will sort
exactly the same as before, but they will display differently unless
you go back and change the artist.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33288

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


Re: [SlimDevices: Plugins] SlimScrobbler - not scrobbling?

2007-02-27 Thread snarlydwarf

--d-plugins, yes.

Or you can just watch the log in the window, there is a click from the
debugging page to see the recent log entries.

Look for POST, it will say that whenever it tries to submit to last.fm.
(Unless last.fm has been down "too long" when it will just back off the
attempts..)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33038

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


Re: [SlimDevices: Plugins] SlimScrobbler - not scrobbling?

2007-02-27 Thread snarlydwarf

>From my logs, around 9am Pacific last.fm had database problems:
> 
> 2007-02-26 09:05:24.2391 Scrobbler: Requesting POST on URL:
> "http://87.117.229.205:80/protocol_1.1";
> 2007-02-26 09:05:27.3168 Scrobbler: AudioScrobbler POST Error: 
> Database too busy - try later.
> 

Was one of the few that returned a message, usually it just timed out.

That persisted for at least an hour, and then Slimserver backed down on
trying to submit. It was up again at 2:15pm, and then dropped offline
again around 3:45pacific, but that was a much shorter outage.  (ie,
there were more timeouts after noon, but by 2pm or so it was able to
submit fine.)

Make sure you check your logs when trying to diagnose if the plugin
works... every problem I've had has been due to flaky submission
servers at last.fm.  (Fortunately, the plugin does the plugin does the
right thing and saves submissions.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33038

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


Re: [SlimDevices: Plugins] SlimScrobbler - not scrobbling?

2007-02-26 Thread snarlydwarf

And from what I see:

http://www.last.fm/user/offbeatmammal

Shows you are listening and scrobbling fine.

So I guess yours posted.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33038

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


Re: [SlimDevices: Plugins] SlimScrobbler - not scrobbling?

2007-02-26 Thread snarlydwarf

Well, mine was scrobbling fine until 4 or so hours ago, but then it
stopped.  Since I didnt change anything, my guess is that is a last.fm
submission burp.  The status page says they are now accepting
submissions but it also shows today as the last update to that page...

When last.fm's submission server goes down, the plugin will
automatically switch to saving and try periodically to send all
listened tracks.  My bet is that their server went down, is now up, but
my Slimserver hasn't tried submitting yet.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=33038

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


Re: [SlimDevices: Plugins] PublicRadioFan plugin download

2007-02-10 Thread snarlydwarf

ah, even easier.. change the "cgi-bin" around line 84 to "cgi"

my $directory_url = "$base_url/cgi/whatson.pl";

Looks like they just reorganized the urls.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32610

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


Re: [SlimDevices: Plugins] PublicRadioFan plugin download

2007-02-10 Thread snarlydwarf

Ah, I turned on some debugging:


Code:


  '_content' => '
  
  403 Forbidden
  
  
  Forbidden
  You don\'t have permission to access /cgi-bin/whatson.pl
  on this server.
  
  ',
  '_rc' => 403,
  '_headers' => bless( {
  'connection' => 'close',
  'client-response-num' => 1,
  'date' => 'Sun, 11 Feb 2007 06:57:44 GMT',
  'client-peer' => '66.39.20.44:80',
  'client-date' => 'Sun, 11 Feb 2007 06:57:44 GMT',
  'content-type' => 'text/html; charset=iso-8859-1',
  'server' => 'Apache/1.3.37',
  'client-transfer-encoding' => 'chunked',
  'title' => '403 Forbidden'
  }, 'HTTP::Headers' ),
  '_msg' => 'Forbidden',
  



For some reason publicradiofan.com is no longer honoring the plugin
requests I would guess they have blocked it based on User-Agent or
something.   Will have to play around a bit, though I am curious as to
why they blocked it.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32610

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


Re: [SlimDevices: Plugins] PublicRadioFan plugin download

2007-02-10 Thread snarlydwarf

Hrrm.. mine did work, but seems to not now: it worked a week or two ago,
so my guess is something changed at publicradiofan.com.  I'll see if I
can figure out what is failing in it.  (It parses the html from
publicradiofan, so a minor change to their web page can break it.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32610

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


Re: [SlimDevices: Plugins] PublicRadioFan plugin download

2007-02-09 Thread snarlydwarf

Hrrm.. that looks like the version I'm using (0.1, but sometimes people
don't update version numbers), and it works fine for me on 6.5.1.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32610

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


Re: [SlimDevices: Plugins] SlimScrobbler for SlimServer 6.5

2007-02-02 Thread snarlydwarf

smc2911;177085 Wrote: 
> Giving this a moment's extra thought (the original post was late at
> night--that's my excuse and I'm sticking to it!), this should really be
> a generic question not specific to lastfm. A plugin could send any track
> details to Skype, not just lastfm tracks. Anyway, it's not really a very
> important issue, the feature in the lastfm player just got me
> thinking...maybe I should stop that!

Do you know how stuff is sent to Skype?  There is (was?) a program to
update MSN Messenger with now-playing, but something along the lines of
WebLogger would probably make a better base (assuming Skype was on the
same machine as the server anyway).


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=27161

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


[SlimDevices: Plugins] Re: Which 3rd party plug-ins do you consider to be essential?

2007-01-28 Thread snarlydwarf

LastFM/Audioscrobbler
Trackstat/SQLPlaylist/DynamicPlaylists
GrabPlaylist
Weblogger


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=32004

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


[SlimDevices: Plugins] Re: SlimScrobbler for SlimServer 6.5

2007-01-15 Thread snarlydwarf

Hrrm.. mine works fine.  It was behind this morning for about an hour,
but right now it is normal.

Turn on logging and see what it is complaining about?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=27161

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


[SlimDevices: Plugins] Re: MusicIP and adding new music

2007-01-04 Thread snarlydwarf

I use http://server:10002/ and change the entry for "root folder of
music"

As long as that matches -exactly- what Slimserver you shouldnt see
duplicates.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31265

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


[SlimDevices: Plugins] Re: MusicIP and adding new music

2007-01-04 Thread snarlydwarf

smc2911;167150 Wrote: 
> For what it's worth, I set both the music folder and use MIP because I
> have found that MIP will not pick up filenames with accented
> characters, but SS will. I believe that this issue has been fixed with
> the windows version of MIP, but I am using the linux version.

Are you using the latest version?  1.7 for Linux seems to work for me.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31265

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


[SlimDevices: Plugins] Re: MusicIP and adding new music

2007-01-04 Thread snarlydwarf

Diana;167061 Wrote: 
> Snarlydwarf >>> I tried checking 'Use MusicMagic' and having a web
> interface entry for a music folder too.  The library stats showed
> double values for everything - songs, albums and artists.  Removing the
> pointer to the music files and doing a 'clear and rescan' sorted the
> numbers out.  Have you noticed this problem?

I have that problem if the paths don't match exactly.

On my system (running Linux), I have my library at something like
/music/mp3 (yeah, even flacs go there, the mp3 is a carryover) but I
also have a symlink ("shortcut" in windows sense) that goes from
/home/bem/mp3 to the music library.

If I tell MusicIP to use /home/bem/mp3, and Slimserver to use
/music/mp3, even though they are technically the same place, Slimserver
can't tell and duplicates everything.  If they both use /music/mp3, then
it works fine, though a full scan is slow since it reads tags twice. 
(Though I have yet to get anyone to agree with me on that.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31265

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


[SlimDevices: Plugins] Re: MusicIP and adding new music

2007-01-04 Thread snarlydwarf

Diana;167033 Wrote: 
> Wow!  Great!  But that sounds suspiciously easy.  We are talking about
> SS and MIP here.  So your 'um or something' worries me!  Have you
> actually *seen* this happen?  ;-)
> 
> Best wishes

Yeah, I actually did that last night and I still use a music folder.  
I ripped a CD, told MusicMagic to look for new music (I use the
headless version, so the names may be different), it found the new
tracks, I had it analyze them...  and SlimServer new about them and had
mixes for most of them too.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31265

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


[SlimDevices: Plugins] Re: MusicIP and adding new music

2007-01-04 Thread snarlydwarf

Diana;16702 Wrote: 
> 
> What next?  Do I need to make SS do a rescan?  Or will it just update
> itself from MusicIP automatically?  (In the server MusicMagic settings,
> there's a MusicMagic Reload interval (currently set to 60 sec) that says
> SlimServer will 'automatically reload your MusicMagic Database again'.)
> 

The reload interval should handle it.  Basically, once a minute
Slimserver will ask MusicIP, "hey, has the database changed?" and will
get a yes or no answer.  If it is yes, Slimserver will re-import the
MusicIP database.

Set it and forget it... um or something.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31265

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


[SlimDevices: Plugins] Re: Napster

2006-12-27 Thread snarlydwarf

HamptonsGuy27;165252 Wrote: 
> 
> I have searched on Google for "NAPSTER PERL" and there appears to be
> Perl code/libraries/whatever available for interacting with Napster
> music and so it would seem like someone could write a plug in to
> support Napster on the SlimServer.
> 

The Napster Perl libraries are for the old Napster, the one that was
sued out of existence by RIAA for allowing piracy.  Nothing to do with
DRM at all, just with communicating with a central server to find and
download files.

The current company named Napster is not the same as the old one.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=31014

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


[SlimDevices: Plugins] Re: MusicIP Setup

2006-12-11 Thread snarlydwarf

Well I use BrowseMusicFolder when I want to abuse my semi-logical file
system -- sometimes it easier to browse that way if I am not sure what
I want to hear, or if I know exactly where the album is

That said, if you want to use MusicIP from BMF, it is possible with
only a slight trick... when you see something like "01 Whatever.flac"
in BMF, press right one more time and it will show the tags for that
song.  Go down to Album and right again, and then you are effectively
in "Browse Album" mode and can do a mix from there.

And, yeah, I finally got around to making MusicIP work headless on my
server...   Quite nifty now that it has actually finished scanning my
music, though it can be picky about id3v2.4 tags, I think I have them
all reset to 2.3 now.

And now that it has finished analyzing, the server is a lot happier. :)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=30406

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


[SlimDevices: Plugins] Re: LastFM - Track details ??

2006-11-28 Thread snarlydwarf

and last.fm has been a bit flaky lately, I often get "sorry, the
database server is really busy, go drink a cup of tea and come back in
a few minutes" messages on their web pages.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=29697

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


[SlimDevices: Plugins] Re: LastFM algorithm explanation

2006-11-27 Thread snarlydwarf

Hrrm, this is really a question for last.fm, the Plugin does pretty much
the same thing that their applet does: play an mp3 stream and
occasionally send/receive updates about songs.

That said, what I do, since I have been enjoying the latest Last.fm
plugin a lot the past few days:

I use SlimScrobbler to record every track I listen to, most of which do
have proper MusicBrainz tags (which makes LastFM more consistent in
matching tags).  I have done so for a bit over a year now, so it has a
reasonable profile of what it is that I listen to.

For listening to LastFM proper, I vary -- sometimes I use the Similar
Artist (which now self populates from the last few tracks you have
listened to... even if it is local songs), but usually I use my Loved
Tracks and keep Discovery Mode on.  This makes it use the tracks I have
flagged as Loved, but tries to find music similar to that.  I have
stumbled across a few tracks this way and it isn't totally random (some
of my neighbors are ... weird).

Are you using the scrobbler so that the local music you play gets
logged?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=30071

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


[SlimDevices: Plugins] Re: TrackStat data

2006-08-08 Thread snarlydwarf

trackstat stores both the URL and the Musicbrainz id if the track has
it, so after a clear-and-rescan it rematches things up.

This keeps the data around through rescans, and if you have musicbrainz
tags, it keeps it even if you move or rename the files.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=26204

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-08-07 Thread snarlydwarf

LoZ Wrote: 
> 
> To add to the mystery, I can rate from one player (Squeezebox 3) but
> not the other (Squeezebox 2). They are both synchronised but it doesn't
> matter which one I selected the tracks from.

The Synced part is the key: I see this all the time: the slave can't
rate stuff.  (My LivingRoom player right now is the 'master' and
Softsqueeze at work is the slave, so I can't use the fake remote to
rate.)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Must Have Plug-Ins?

2006-07-29 Thread snarlydwarf

Add in PublicRadioFan and Trackstat/DynamicPlaylists/SQLPLaylist.

Oh and GrabPlaylist.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=25941

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


[SlimDevices: Plugins] Re: jukebox-style random plugin?

2006-07-25 Thread snarlydwarf

If you add music, you can do one of three things:

1) Replace the current playlist with your selection (not what you
want)
2) Add the song (or album) to the end of the current playlist
3) Insert the song (or album) as next in playlist

With methods 2 and especially 3, if you use one of the random methods
(either the included random playlist generator, or the Dynamic
Playlists), you can make them queue songs forever... and then insert
tracks or albums you want to hear, and they will continue to propogate
the playlist when those run out.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=25804

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


[SlimDevices: Plugins] Re: Trouble streaming .asx/.asf

2006-06-17 Thread snarlydwarf

Well, it doesn't work on Windows Media Player either.
> 
> C00D11D2: Cannot access the file
> Windows Media Player cannot access the file. You might encounter this
> error message for one of the following reasons: 
>


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=24794

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


[SlimDevices: Plugins] Re: Announce: Plugin for easy creation of dynamic playlists

2006-06-07 Thread snarlydwarf

I didn't see it there, so added it.  I was wondering if I was
hallucinating since it seems like an obvious thing to me.  (I thought
when I got up this morning "wow, I thought I only added two CD's last
night.. how did I get 200 more tracks..."  And then when I got to work
wondered how I had still more...)

Bug #3503.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=21790

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


[SlimDevices: Plugins] Re: Announce: Plugin for easy creation of dynamic playlists

2006-06-07 Thread snarlydwarf

Now that I have a faster machine, I'm back to using trackstat and
friends. :)

I've noticed, though that the track count keeps increasing...faster
than I can buy CD's, too!

I'm not sure if this is a bug in Trackstat or a bug in the 6.5 though
(I am leaning to the latter).  What I see with mysql logging turned on
(I was looking for some other odd behavior so made mysql spammy and
slow):

73 Query   INSERT INTO tracks (content_type,
remote, tag, title, titlesearch, titlesort, url) VALUES ('cpl', '0',
'1', 'Now Playing - Livingroom', 'NOW PLAYING LIVINGROOM', 'NOW PLAYING
LIVINGROOM', 'clientplaylist://00:04:20:05:ce:48')

I don't see a delete, so it is continually adding playlists

mysql> select count(*) from tracks where content_type =  'cpl';
+--+
| count(*) |
+--+
|  248 |
+--+
1 row in set (0.01 sec)

That is a whole lotta playlists...

Considering I really only have like 3 playlists.

Is this in the trackstat stuff or 6.5?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=21790

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


[SlimDevices: Plugins] Re: *very* basic Weblogger question...

2006-06-06 Thread snarlydwarf

Ah, if it's php, you should just be able to change whatever templates
the site uses.

Insert:
readfile("nowplaying.html");

or whatever in the template where you want the now-playing thingie
placed.

Of course, finding those templates will be the tricky part.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=24506

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


[SlimDevices: Plugins] Re: *very* basic Weblogger question...

2006-06-06 Thread snarlydwarf

Is your web page just plain old HTML or are you using some sort of
content management system?

With plain old apache and plain old html, if you turn on "server parsed
documents", you can do:




-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=24506

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


[SlimDevices: Plugins] Re: *very* basic Weblogger question...

2006-06-06 Thread snarlydwarf

Depends on your server...

On most Apache installations you can do server side includes if it's
just plain HTML.   I use Blosxom, so I just have a blosxom plugin that
inserts the uploaded information.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=24506

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


[SlimDevices: Plugins] Re: Would max url 255 characters be a problem in TrackStat ?

2006-05-10 Thread snarlydwarf

hrrm.. and i just noticed that cover and thumb in tracks are already
varchar(255)'s but they're not an index field.

so really all sorts of stuff will break if the path gets too long.

I'm not really clear on what the advantage of text is over varchar
except in length and that looks like it's going to be a problem at the
OS level for Windows, and for Unix systems it's a problem in the real
schema...


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=23773

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


[SlimDevices: Plugins] Re: Would max url 255 characters be a problem in TrackStat ?

2006-05-10 Thread snarlydwarf

hrrm... wonder if this makes a performance problem in other ways...

is it just that text columns with keys no longer get optimization and
that the nature of trackstat makes that a noticable issue, but not as
noticable with the url column in say, tracks?

would changing the type of other columns help?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=23773

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


[SlimDevices: Plugins] Re: Would max url 255 characters be a problem in TrackStat ?

2006-05-10 Thread snarlydwarf

hrm.. it wouldn't affect me... if my directory names take up more than
one line in a prompt, I shorten them.  That would explain why my
selects needed to check some insane number of rows.

heck, i wouldn't be bothered if it depended on just musicbrainz id,
since most of my tracks are tagged with those -- it would be incentive
for me to enter the few albums i have that i haven't already put on
musicbrainz.

PATH_MAX on Linux is 4k... (gads), but if I recall right Windows has a
much shorter PATH_MAX.  (If I googled right, it's 260 including the NUL
on Windows, so Windows users are pretty close to this anyway.)

I may change my schema though, just to see if it makes trackstat usable
again with mysql5.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=23773

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


[SlimDevices: Plugins] Re: LazySearch Problem

2006-04-22 Thread snarlydwarf

Last.fm's submission server is down at the moment.  See the top of
http://last.fm/


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=18760

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


[SlimDevices: Plugins] Re: SlimScrobbler, Last.FM and multiple players

2006-04-22 Thread snarlydwarf

SlimScrobbler debugging can be tricky: I'm having problems submitting at
the moment (getting a network error), so they're probably broken.  On an
Slimp3 with the much smaller buffer, you may get dropouts when that
happens depending on the exact failure.

They've been having problems the past couple days, keep an eye on
http://www.last.fm/forum/21713/_/51596 for their status.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=23216

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


[SlimDevices: Plugins] Re: gmail plugin?

2006-04-12 Thread snarlydwarf

Alas, you don't unless you run the RSS screensaver...

And the sucky part (which I've now found out :P) is that the RSS plugin
only checks feeds once an hour, so there is a huge latency.

I'll have to think about it.. maybe it's best to rip apart the pop3
mail checker and use that for notification, which means I wouldn't have
to do icky stuff like make a fake rss feed.

As I said, I only get 2-3 pieces of mail a week at gmail, so it's low
on my list of toys.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20163

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


[SlimDevices: Plugins] Re: gmail plugin?

2006-04-04 Thread snarlydwarf

Okay, I finally got around to it

Yes, it's cheap and hackish, but it works.  It runs from a cronjob
every 10 minutes and does a cheap parse/convert of google's Atom into
RSS and saves it to /tmp for the server to pick up.

It does need lynx-ssl to grab the feed, which is why I won't make it
into a module.. I don't mind snarfing stuff with lynx in a script, but
it's too ugly of a method for a plugin, but, then so is tossing tons of
ssl code into slimserver.

Code:


  #!/usr/bin/perl
  
  use XML::Feed;
  use XML::Feed::Atom;
  
  $user = "yourname here";
  $pass = "password";
  
  $url  = "lynx -dump -auth=$user:$pass " .
  "https://mail.google.com/gmail/feed/atom";;
  
  $atom = `$url`;
  
  my $feed = XML::Feed->parse(\$atom);
  
  open TMP, ">/tmp/gmail.tmp";
  
  print TMP  '',
  '',
  'Gmail Inbox',
  'gmail inbox';
  
  for $entry ( $feed->entries )
  {
  $summary = $entry->summary();
  
  print TMP "", $entry->author, ": ", $entry->title, "",
  "", $summary->body, "",
  "\n";
  }
  
  print TMP "";
  
  rename ("/tmp/gmail.tmp", "/tmp/gmail");
  



Even if hackish, I now can see my mail scroll by.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20163

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


[SlimDevices: Plugins] Re: Softsqueeze Corrupting files

2006-03-06 Thread snarlydwarf

rsync certainly works well for backups, I use it hourly at work for
snapshots of a few machines.  Painfully slow the first time you run it,
but after that it's quick.

if slimserver is running as user 'slimserv', do this as 'you' (ie, not
the slimserver user):

cd /wherevermusicis
find . -type d -exec chmod 755
find . -type f -exec chmod 644

That will find all directories below your current directory ('.') and
make them world-readable/executable, then find all files and make them
world-readable.

No write permissions.

Then, as 'you,' (either locally or through Samba), you can mess with
files all you want and the server can't.

On my system the default 'umask' is 022 and I changed the Samba config
to match that, so new files and directories are created
world-read/execute but never writeable by anyone but me.

You may want to recheck your convert.conf - there really isn't anything
you need to even check/uncheck from the default install, and if you're
missing a '-' on the transcoding lines, it could very well overwrite
files.  The trailing - is so that it doesn't write the output to a
file, but if it's missing, it will...  according to the lame docs, it
insists on both input and output filenames.. but...
[EMAIL PROTECTED]:~/needsorting$ lame --resample 44100 --silent -q 9 --abr
64000 foo.mp3
actually creates foo.mp3.mp3

That's still not overwriting files, but would explain why transcoding
isn't working.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=21793

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


[SlimDevices: Plugins] Re: Softsqueeze Corrupting files

2006-03-06 Thread snarlydwarf

For mp3 conversion, you'll need 'lame' installed on your system.  It can
do mp3->mp3 conversion on the fly (there is no .wav file)

Is your lame in /usr/bin/lame?

Have you been messing with convert.conf?  It's conceivable you could
change something in there that could overwrite and munge files.  You
shouldn't have to change anything in that file at all.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=21793

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


[SlimDevices: Plugins] Re: Softsqueeze Corrupting files

2006-03-05 Thread snarlydwarf

Softsqueeze itself can't: it doesn't even know the names of files.  And
in my case isn't even on the same machine as the files.

In theory, Slimserver -could-, but especially on Unix it's pretty easy
to set permissions so that the 'slimserv' user can't write to the
music.  Don't run anything as root that doesn't have to be.  Let the
server run as the 'slimserv' user.

And even that theory assumes that there is code within slimserver that
opens the file as writeable... there isn't that I know of.  But being
paranoid with permissions is always a good thing.

My mp3's are all owned by 'bem', mode 644, directories are 755 (ie,
umask 022).  Thus any process on the system can read the files all they
want.. they can't do anything else though.

And, yes, I remember CP/M, and more specifically ZCPR3.  It carried me
past the DOS years and when people started moving to Windows I was
using X11.  I found moving from Z3 to Unix trivial, though I miss
hand-optimizing Z80 assembly some days.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=21793

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-10 Thread snarlydwarf

interesting:

file:///home/mp3/mserv/mp3/Soundtracks/Orginal%20Cast%20-%20Man%20of%20la%20Mancha/03%20It's%20All%20the%20Same.mp3

My filenames do have single quotes in them so it's something different
between our setups that makes yours get escaped.

[EMAIL PROTECTED]:~/mp3$  find . -name "*'*mp3" -ls | wc -l
219


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-10 Thread snarlydwarf

weird, I wonder why yours is escaping things.. you're just grabbing the
url.. i don't think there's any special processing of the directory vs
the filename.

Yep, it just played
file:///home/mp3/mserv/mp3/Leonard%20Cohen/Leonard%20Cohen%20-%20I'm%20Your%20Fan/18-john_cale_-_hallelujah.mp3

Which has the same single quote.

It may be the single quotes in directory names... I'll have to look
around for an mp3 with a ' in the filename, maybe the way slimserver
builds things it escapes the filenames for you but not directories...

But, thanks, now I can rate tracks again! :)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-10 Thread snarlydwarf

downloading now. :)

I wonder.. are you using a Windows server?  I know Windows does some
filename mangling all by itself, I'm wondering if that's somehow hiding
it and Linux lets me have whatever-weird-characters I want in file and
directory names.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-10 Thread snarlydwarf

Ah, I see the problem:

my $sql = ("SELECT url, playCount, lastPlayed, rating FROM
track_statistics where url='$searchString'");
... 
$sth->execute();

I believe this works:

my $sql = ("SELECT url, playCount, lastPlayed, rating FROM
track_statistics where url=?");
...
$sth->execute($searchString);

That will force the DBI layer to escape/quote things. 
sendTrackToStorage should have the same thing (it's not getting that
far when I have a single quote, but it will if the lines above
change..)


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-10 Thread snarlydwarf

I'm running 6.5 from a couple nights ago.

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 'm%20Your%20Fan/05
-the_lilac_time_-_bird_on_the_wire.mp3'' at line 1 at
/usr/share/slimserver/Plugins/TrackStat/Plugin.pm line 1229.

The path to that file is:
"/home/mp3/Leonard Cohen/Leonard Cohen - I'm Your
Fan/05-the_lilac_time_-_bird_on_the_wire.mp3"

The version on TrackStat is 1.4 in the file, but the .zip says it's
1.5...  (And I just downloaded 1.5 again, and it is identical to the
one I have and the README mentions the TRACKSTATRATINGNUMBER and other
format strings, so I guess the version string in Plugin.pm just didn't
get updated.)

(And, yes, I know spaces and quotes are annoying to type in filenames,
but I love command completion and never really notice. :))


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Announce: Plugins for rating and "smart" playlists using SQL

2006-02-09 Thread snarlydwarf

I had to disable the ratings for now: I have filenames with 's in them,
which tend to annoy mysql a bit.  Can the next update quote the
filenames before making queries?


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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


[SlimDevices: Plugins] Re: Plug-in to allow online banner with playlist information

2006-02-08 Thread snarlydwarf

For signatures and stuff?

Last.fm has that now, or there are a couple plugins (WebLogger is what
I use, though I had to kick it a little to make it happy on 6.5, and I
think Max has one too) that update a file either locally or remotely.

I need to waste some cpu cycles and make an X-Now-Playing: header in my
mail.

<3 Spammy X-Headers.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20900

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


[SlimDevices: Plugins] Re: gmail plugin?

2006-01-27 Thread snarlydwarf

oasisbob Wrote: 
> I don't have any clever ideas regarding gmail, however an RSS email
> service like DodgeIt! (www.dodgeit.com) will allow you to quickly make
> an RSS feed from email.
> 
> If you don't pay, all the email is public. However, depending on what
> you plan on using it for, it make work for you with some combination of
> email forwarding.

Well I may do a cheapo hack on Linux: a good old lynx -dump is
sufficient to grab the RSS from gmail without loading slimserver with
SSL code.  Then just have Slim read it from a file.

My gmail account gets very very little mail, tho, so it's low on my
list of things to do.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20163

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


[SlimDevices: Plugins] Re: Slimscrobbler okay?

2006-01-12 Thread snarlydwarf

superbad Wrote: 
> Is anyone having problems with Slimscrobbler (or possibly last.fm)? I
> just logged into last.fm and it says I haven't played any tracks for 3
> days. This is not the case. I didn't mess with anything, plugin is
> still installed, settings still correct, etc.

Hrrm... it's working for me tonight.  I know they've had some database
problems off and on for the past couple of weeks, though.


-- 
snarlydwarf

snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=20003

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


[SlimDevices: Plugins] Re: really stupid slimscrobbler question

2005-10-16 Thread snarlydwarf

narlus Wrote: 
> am i missing the obvious here?

Hrrm... one mine Slimscrobbler is right below MusicMagic

Audioscrobbler

Chose your settings for the SlimScrobbler

Is 'AudioScrobbler' listed in the plugin checklist?

When for mysterious reasons I don't have plugins picked up, turning
on/off the 'only load plugins at startup' thing seems to make it find
new plugins.

(And, yes, I leave it in the "load new plugins on the fly" thing, but
it still doesn't seem to always look.)


-- 
snarlydwarf
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins