Hi John,

Thanks for the comment. I went for the approach I've taken for a couple
of reasons:

1) Using this method I can still take the latest version of slimerver
(even a complete reinstall), and not have to worry about synching my
code. Of course if it eventually got good enough to be in the main
branch then this wouldn't be an issue.

2) By using genres I can exploit the power of the RandomPlay pugin -
there's a lot of work in that plugin I wouldn't want to touch. In the
end the functionality I'm after is play a mix of music I rated as 'X'
so the RandomMix plugin is perfect.

3) As regards starting/stopping etc, that I'm sure can be cleaned up I
haven't spent the time to learn the API. Ideally the code would change
the tags on the file and then invoke the function on Slimserver that
rescans that single file only. Of course this would involve timing code
as you can't change the tags on a currently playing file, so I'd have to
defer the updates until the track has finished. So yes - it would be
better if it didn't do the start stop - however for me that's not
easier :) If you know the API and want to help I'd be interested in
hearing more . . . 

So far this is just what works for me.

As a side issue I am interested in developing Random Mix further to be
able to select queries like tracks that have genre 'Great' AND 'Rock'
which is not currently possible.

Anyway thanks for the interest :)

Malcolm


-- 
mwphoto
------------------------------------------------------------------------
mwphoto's Profile: http://forums.slimdevices.com/member.php?userid=652
View this thread: http://forums.slimdevices.com/showthread.php?t=18832

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to