[slim] Re: Can I setup slimserver to log all files served?

2005-11-29 Thread tomsi42

ceejay Wrote: 
 You might also want to have a look at this:
 
 http://forums.slimdevices.com/showthread.php?t=18597 which might be an
 easier starting point. You could even ask Max if he'd add the option to
 log to a file instead of an FTP site!
 
 Ceejay

Thanks for the tip! I will look into this.  I guess it would be quite
easy to modify this plugin. If I can't sort it out, I'll ask Max.

Tom


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-29 Thread tomsi42

max.spicer Wrote: 
 Hold your horses on that one - I'm planning to add this as a feature in
 the next couple of days.
 
 Max

Good, I will keep my fingers away then ;) 

Tom


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-29 Thread max . spicer

Done, the new version lets you specify a log file and also disable the
ftp part of the plugin.  Get it from my website and please let me know
how you get on.  Could we move the discussion to the topic in the
plugins forum though - having two threads confuses me!  ;-)

Max

tomsi42 Wrote: 
 Good, I will keep my fingers away then ;) 
 
 Tom


-- 
max.spicer

The wild things roared their terrible roars and gnashed their terrible
teeth
and rolled their terrible eyes and showed their terrible claws
but Max stepped into his private boat and waved good-bye

max.spicer's Profile: http://forums.slimdevices.com/member.php?userid=23
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-29 Thread tomsi42

max.spicer Wrote: 
 Done, the new version lets you specify a log file and also disable the
 ftp part of the plugin.  Get it from my website and please let me know
 how you get on.  Could we move the discussion to the topic in the
 plugins forum though - having two threads confuses me!  ;-)
 
 Max

Will do. As your plugin does what I wanted, will wrap up this thread.
Will post my results on the plugin thread.

Tom


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-28 Thread ceejay

tomsi42 Wrote: 
 Thanks for the tips. I will try this first as it is what I'm after. But
 I will problable also look at the SlimScrobber plugin to see if a can
 make a small logger plugin.
 
 Tom

You might also want to have a look at this:

http://forums.slimdevices.com/showthread.php?t=18597 which might be an
easier starting point. You could even ask Max if he'd add the option to
log to a file instead of an FTP site!

Ceejay


-- 
ceejay

ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-26 Thread ceejay

tomsi42 Wrote: 
 
 
 In a few weeks time I hope that I will have time look at the lastfm
 plugin and modify it to me needs (If I am allowed to do that...)

There are two different plugins relating to lastFM.  The lastFM
plugin is for the playing of lastFM personalised streams through the
Squeezebox - although I think this is great, this is not the one you
are looking for.

The other one is the slimscrobbler plugin, which submits your track
played info to lastFM.  This is the one you would want to change -
although be warned, its a bit of a monster (meaning big, not bad!).

Allowed to? Of course you are, this is the land of open source!  Just
find the .pm file in the server/plugins directory, get out your Perl
book and off you go!  If you come up with something, just be sure to
let everyeon know!

Good luck

Ceejay


-- 
ceejay

ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-26 Thread Jim

Code:


  SELECT LEFT(title, 255),
  playcount,
  FROM_UNIXTIME(lastplayed)
  FROM tracks WHERE FROM_UNIXTIME(lastplayed)  '2005-11-01'
  



-- 
Jim

Jim's Profile: http://forums.slimdevices.com/member.php?userid=213
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread N�stor

tomsi42 Wrote: 
 Hi,
 
 I have had a SB2 for a few weeks now and are really enjoying it. A
 question from a friend popped up today.
 
 Is it possible to see which songs that have been played on my SB2
 during a given period?
 
 Why? may you ask. What do I listen most ? I let my friends loose on
 my music collections. What did they choose?
 
 Tom

Hi, 

check www.lastfm.com , and then check the Slimscrobbler plugin. It may
be all you need (altough not as detailed as you may want)


-- 
Néstor

Whole album Flac files -- Squeezebox (3) -- direct to Outlaw 7100 amp
using Slimserver Preamp Vol Control -- Monitor Audio S6i

Néstor's Profile: http://forums.slimdevices.com/member.php?userid=60
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread tomsi42

Thank's for the link to lastfm. From what I see from their website, I
don't think it is what I am looking for.

1. The data I want to collect is for personal use.
2. I am not interested in what lastfm is offerning.
3. I am also suspicious of website who want to collect data for me. Do
they have other motives ?

Tom


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread ceejay

Well, lastFM would probably quite like to sell you some music, but you
don't have to buy it!  I use it (via James' excellent plugin) a lot,
they do a good job of serving up music I (usually) want to listen to.

However, back to the question... I would guess that the audioscrobbler
plugin, which captures the data to send off to lastFM, wouldn't take
very much hacking to send the data to some local file instead... in
fact I think its already set up to cache data in a log file when the
link to lastFM is down, so it might be really easy.

Ceejay


-- 
ceejay

ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


Re: [slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread Jack Coates


 Thank's for the link to lastfm. From what I see from their website, I
 don't think it is what I am looking for.

 1. The data I want to collect is for personal use.
 2. I am not interested in what lastfm is offerning.
 3. I am also suspicious of website who want to collect data for me. Do
 they have other motives ?

 Tom


No, of course not. They also give out free ponies every weekend.

-- 
Jack At Monkeynoodle.Org:  It's A Scientific Venture...
Believe what you're told; there'd be chaos if everyone thought for
themselves. -- Top Dog hotdog stand, Berkeley, CA
___
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread tomsi42

stinkingpig Wrote: 
 
  Thank's for the link to lastfm. From what I see from their website,
 I
  don't think it is what I am looking for.
 
  1. The data I want to collect is for personal use.
  2. I am not interested in what lastfm is offerning.
  3. I am also suspicious of website who want to collect data for me.
 Do
  they have other motives ?
 
  Tom
 
 
 No, of course not. They also give out free ponies every weekend.
 
 -- 
 Jack At Monkeynoodle.Org:  It's A Scientific Venture...
 Believe what you're told; there'd be chaos if everyone thought for
 themselves. -- Top Dog hotdog stand, Berkeley, CA

Too bad. I'm so heavy, I'd kill the pony...


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread tomsi42

pfarrell Wrote: 
 On Fri, 2005-11-25 at 12:55 -0800, tomsi42 wrote:
  Is it possible to see which songs that have been played on my SB2
  during a given period?
 
 I may be imagining it, but I am sure that on the old
 server (circa 5.4) that there was a report on
 popularity of songs. Easily accessible from the 
 main server page. I can't find it on the page
 with my 6.2.1 server.
 
 If the data is available in the slimserver's database, it
 should be trivial to use perl to crank out a simple report.
 I haven't checked the schema to see if the data is there.
 If it isn't, sounds like a good and easy enhancement to
 the database.
 
 -- 
 Pat
 http://www.pfarrell.com/music/slimserver/slimsoftware.html

Now, that was my thought as well. But I couldn't find any information
in the docs or faq's. It shouldn't be difficult to put something
together, though...


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread sbjaerum

pfarrell Wrote: 
 On Fri, 2005-11-25 at 12:55 -0800, tomsi42 wrote:
  Is it possible to see which songs that have been played on my SB2
  during a given period?
 
 I may be imagining it, but I am sure that on the old
 server (circa 5.4) that there was a report on
 popularity of songs. Easily accessible from the 
 main server page. I can't find it on the page
 with my 6.2.1 server.
 
 If the data is available in the slimserver's database, it
 should be trivial to use perl to crank out a simple report.
 I haven't checked the schema to see if the data is there.
 If it isn't, sounds like a good and easy enhancement to
 the database.
 
 -- 
 Pat
 http://www.pfarrell.com/music/slimserver/slimsoftware.html

http://localhost:9000/hitlist.html
Don't know why it's not linked.

Steinar


-- 
sbjaerum

sbjaerum's Profile: http://forums.slimdevices.com/member.php?userid=237
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread ceejay

One reason for hitlist not being linked may be that the data appears to
be nonsense.

Played info certainly could find a place in the database, but there are
two limitations I can see:

(1) the current database just allows for a track played count, it has
nowhere to record when the track was played, nor (which I think would
be handy) which player it was played on

(2) there are still far too many reasons to be wiping the cache... the
database isn't a safe place to keep data that isn't easily recreatable
(eg from tags).

On the other hand, amending the scrobbler plugin (which has lots of
lovely intelligence to handle pause and stop and minimum play time) to
dump a full played record in a log file could be the basis of some
neat offline analysis.  

Ceejay


-- 
ceejay

ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread tomsi42

Thanks for the feedback. 

If I can clear the hitlist, I can at least find out what my friends 
plays at the party tomorrow. That will solve the problem that started
the discussion.

In a few weeks time I hope that I will have time look at the lastfm
plugin and modify it to me needs (If I am allowed to do that...)


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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


[slim] Re: Can I setup slimserver to log all files served?

2005-11-25 Thread tomsi42

tomsi42 Wrote: 
 Thanks for the feedback. 
 
 If I can clear the hitlist, I can at least find out what my friends 
 plays at the party tomorrow. That will solve the problem that started
 the discussion.
 
 In a few weeks time I hope that I will have time look at the lastfm
 plugin and modify it to me needs (If I am allowed to do that...)

I found out how to clear the hitlist. Go to server - Rescan library
and select Clear library and rescan everything.

This will solve this weekend's challenge, but I doub't it is useful for
anyone else ;)


-- 
tomsi42

SqueezeBox2, Rotel RC-1070/RB-1070, DynaBel Exact. I can get used to
this ;)

tomsi42's Profile: http://forums.slimdevices.com/member.php?userid=2477
View this thread: http://forums.slimdevices.com/showthread.php?t=18520

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