Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-03 Thread sk33ve
Ah ok, working much better now - there seems to be one exception - if I create my own playlist (in this case I was wanting to create a version of a regular playlist which randomises and also makes sure tracks aren't repeated within 3 days), I'm having problems getting that into the Favorites

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-03 Thread MeSue
In the Web UI, you should be able to go to Home Dynamic Playlists (under Music Library), then find the playlist in the list and click the heart. I'll attach a screen shot. +---+ |Filename: DP-faveorite.jpg

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-03 Thread erland
sk33ve;336099 Wrote: In the WebUI the DynamicPlaylist-Random-For selected-... menu doesn't give the favourites menu option. If I remember correctly, playlists that requests a parameter currently can't be used as SqueezeCenter favorites. You can select them as a Dynamic Playlist favorite,

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-03 Thread sk33ve
Ah thanks both - I'll investigate further... I did know about the heart icon, I just wasn't seeing it on the particular playlists I was wanting to add as a Favourite! :-) I'll try some alternative tactics! -- sk33ve QNAP TS-109Pro: (Firmware:

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread sk33ve
Hi again, Did support for Dynamic Playlists in alarms etc make it into the SC 7.2 release which just happened? Would be excellent news if so, as the new alarm stuff does all I (and I imagine most people) need and more! -- sk33ve QNAP

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread gaoyf9527
warhammer online gold Promotion! Here guarantee the lowest price of 'warhammer gold' (http://www.akgame.com/warhammer-online-c-64.html) in the market! There will can make your wow life rich and we can promise you will be a hero in warhammer online cause you will have more and more 'wow power

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread MeSue
sk33ve;335540 Wrote: Hi again, Did support for Dynamic Playlists in alarms etc make it into the SC 7.2 release which just happened? Yes, you can choose dynamic playlists for alarms in 7.2. -- MeSue Sue http://www.last.fm/user/MeSue

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread erland
sk33ve;335540 Wrote: Hi again, Did support for Dynamic Playlists in alarms etc make it into the SC 7.2 release which just happened? Would be excellent news if so, as the new alarm stuff does all I (and I imagine most people) need and more! Yes it did, if I remember correctly you will in

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread sk33ve
That is fantastic news - I'll get downloading now! :-) -- sk33ve QNAP TS-109Pro (Firmware: 2.0.1 build: 0324) -- Seagate 500Gb disk -- Sandisk Cruzer 4GB USB SqueezeCenter v7.0.1 (build: 17793)

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread sk33ve
Just had a quick play around - I'm not sure if I'm doing something wrong or not... I've installed Trackstat and DynamicPlaylist, and also SQLPlaylist. Within the Alarm UI I can see a menu entry for DynamicPlaylist but nothing is listed under that, I expected some of the usual Trackstat playlists

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread MeSue
Did you rescan? -- MeSue Sue http://www.last.fm/user/MeSue MeSue's Profile: http://forums.slimdevices.com/member.php?userid=985 View this thread: http://forums.slimdevices.com/showthread.php?t=34668

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-09-02 Thread erland
sk33ve;335906 Wrote: Just had a quick play around - I'm not sure if I'm doing something wrong or not... I've installed Trackstat and DynamicPlaylist, and also SQLPlaylist. Within the Alarm UI I can see a menu entry for DynamicPlaylist but nothing is listed under that, I expected some of

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-08-05 Thread sk33ve
Personally I swapped for three reasons: - auto-shuffle - won't be relevant with Dynamic Playlists anyway as I'll do the randomising in the playlist - multiple alarms - duration of alarm (i.e. set it to 60 mins). I'm not sure what other people use it for - it seems quite popular! -- sk33ve

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-08-04 Thread sk33ve
Sorry for the delay, have been on holiday - i'll try this out in the next day or two hopefully! -- sk33ve QNAP TS-109Pro (Firmware: 2.0.1 build: 0324) -- Seagate 500Gb disk -- Sandisk Cruzer 4GB USB

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-08-04 Thread sk33ve
I guess this is a question for KDF more than you really, but does this mean it would then work in ExtendedAlarm automatically in 7.2 - as it would be picked up when the Alarm requests the list of playlists on the system? -- sk33ve QNAP

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-08-04 Thread erland
sk33ve;325925 Wrote: I guess this is a question for KDF more than you really, but does this mean it would then work in ExtendedAlarm automatically in 7.2 - as it would be picked up when the Alarm requests the list of playlists on the system? I guess we will have to wait and see. Is there

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-21 Thread sk33ve
I'll be honest I can't remember now which playlist I had set to play! However, the symptom was that the player would switch on and the playlist appear to start playing but then freeze (using Softsqueeze you could even see the VU meters jump for a second then freeze)... I'll do some more testing

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-21 Thread erland
sk33ve;321763 Wrote: However, the symptom was that the player would switch on and the playlist appear to start playing but then freeze (using Softsqueeze you could even see the VU meters jump for a second then freeze)... Ok, this could be SoftSqueeze related, because it is basically the

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-19 Thread erland
From both logs it looks like it starts to play Least played albums when the alarm is trigged, is this the wrong playlist or are you saying it doesn't start to play that ? It shouldn't make a difference if you are using TrackStat or SQL Playlist based playlists, both should work the same. I

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-15 Thread erland
sk33ve;319679 Wrote: However, if I'm not listening to a Dynamic Playlist at the time of the alarm it refuses to swap and start playing that. Also when the alarm fires it won't swap from one playlist to another, only continue playing the existing one. I thought I tested this with my

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-15 Thread sk33ve
Ok, here are 2 log files, one is when the alarm tries to swap from a regular playlist to a dynamic one. The second is when the alarm tries to swap from one dynamic playlist to another. I should add that all my testing uses TrackStat playlists - is that likely to be the cause of the problem?

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-14 Thread sk33ve
Did some initial testing of this, and it seems to partially work. If my current listening playlist is a Dynamic Playlist, and the alarm triggers, it will resume playing that playlist. Which is great. However, if I'm not listening to a Dynamic Playlist at the time of the alarm it refuses to swap

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-10 Thread erland
sk33ve;316359 Wrote: Yet another update :-) Tried this again today with all the latest stuff (nightly build of 7.1, with KDF's latest Alarm and the latest Dynamic Playlist on Erlands site)... My first attempt seemed to have worked - using Softsqueeze the alarm fired and started

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-10 Thread sk33ve
Thats excellent, thanks for looking into that Erland. I'll try it out tonight! I agree about not commiting temporary patches, much better to get it all fully supported! -- sk33ve QNAP TS-109Pro (Firmware: 2.0.1 build: 0324) -- Seagate 500Gb

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-02 Thread sk33ve
Hi Erland, Thanks for the help. Here are the latest versions: +---+ |Filename: ExtendedAlarm.zip| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=5376|

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-07-01 Thread sk33ve
Yet another update :-) Tried this again today with all the latest stuff (nightly build of 7.1, with KDF's latest Alarm and the latest Dynamic Playlist on Erlands site)... My first attempt seemed to have worked - using Softsqueeze the alarm fired and started playing! However, every subsequent

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-06-17 Thread sk33ve
Any ideas anyone? I've tried a million and one things and always hit the same problem, really got no idea how to progress :-( Happy to try out anything suggested, even if it seems unlikely at this point! :-) -- sk33ve QNAP TS-109Pro

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-06-02 Thread sk33ve
Well I had a further play at the weekend and still can't get past this problem. Any ideas? Otherwise I'll have to leave it for now I think, and wait until KDF or Erland get a chance to look into it. -- sk33ve QNAP TS-109Pro (Firmware: 2.0.1

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-06-02 Thread erland
Could you enabled the debug logging on plugin.dynamicplaylist in SqueezeCenter Settings and provide the log after an alarm has been trigged and the playlist loaded but it doesn't start to play ? -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page'

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-06-02 Thread sk33ve
Sure, attached are 2 log files: server_playlist.txt is me starting up SqueezeCenter and playing the Dynamic Playlist (for comparison as this works fine) server_alarm.txt is me starting up SqueezeCenter and waiting for an alarm to trigger I ran the tests in Softsqueeze tonight and noticed that

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-21 Thread sk33ve
I had a play at doing the work to merge these 2 at the weekend with mixed success. I got it so that DynamicPlaylist was registering custom playlists with ExtendedAlarm. I could then select these in the settings page and that all worked ok (found one bug which I can forward to you if you want).

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-21 Thread erland
sk33ve;303920 Wrote: The problem was that the playlist didn't actually *do* anything. I could see it load it, and from the debug that worked successfully, but it seemed to freeze rather than begin playing. I tried a few simple workarounds like adding in a regular play command after the

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-21 Thread sk33ve
Yeah, sorry, I meant to say, I'll post them when I get home - not at the PC with them on currently. Other than this hitch though - seems to be working so thanks to you both for the work and hints! -- sk33ve QNAP TS-109Pro (Firmware: 2.0.1

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-21 Thread sk33ve
Here we go - named obviously! I've tagged my changes with a comment of # sk33ve so you can see what I did easily. Briefly - DynamicPlaylist: - Added a call to ExtendedAlarm in initPlaylists to register our custom playlist. - Added a callback function which looks up the playlist name to

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-14 Thread erland
kdf;295154 Wrote: Here is a quick and dirty patch that may work. I'm rather swamped with a massive diy list these days so not much time to write, let alone test. This is a patch against the latest from googlecode. If you use svn you can just apply, if you use the installed package, it

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-14 Thread kdf
On 14-May-08, at 9:37 PM, erland wrote: kdf, would it be possible to add the $name as a parameter in the callback so I don't have to define a callback for each individual playlist ? I can probably do the patch myself to verify it, I just like to check if you are ok with adding a $name

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-05-01 Thread sk33ve
Thats great thanks KDF. Hopefully Erland will get a chance to have a look at some point! If not I will try and figure it out :-) -- sk33ve sk33ve's Profile: http://forums.slimdevices.com/member.php?userid=16580 View this

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-04-24 Thread sk33ve
That would be ideal I think, yes! As an interim, or simpler alternative, do you have any code which parse out the output from dynamicplaylist playlists? I was really struggling to see how to turn that into something I could use in the settings page? Also, as an aside. I seemed to be hitting

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-04-24 Thread mr_hyde
Hi, i would also like this feature. BR, mr_hyde -- mr_hyde 2 x Squeezebox 3 - SSOTS - UBSUtil - Squeezecenter 7.0.1 - QNAP TS109 Pro (2.0.1_0324T) mr_hyde's Profile: http://forums.slimdevices.com/member.php?userid=6032

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-04-24 Thread kdf
Here is a quick and dirty patch that may work. I'm rather swamped with a massive diy list these days so not much time to write, let alone test. This is a patch against the latest from googlecode. If you use svn you can just apply, if you use the installed package, it should be applied against

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-04-22 Thread erland
sk33ve;293940 Wrote: Did anyone investigate doing this fully? I.e. so you can select the dynamic playlist from KDF's Extended Alarm settings page and it then uses that for the alarm? kdf, if you are reading this, is there some way you could provide an API in the ExtendedAlarm plugin where

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2008-04-21 Thread sk33ve
Sorry to dredge up a really old thread... Did anyone investigate doing this fully? I.e. so you can select the dynamic playlist from KDF's Extended Alarm settings page and it then uses that for the alarm? I had a quick play, and I can get it to play a dynamic playlist of my choice (by manually

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2007-04-22 Thread Controllator
Works perfect! Thank you very much, Erland. Controllator -- Controllator Controllator's Profile: http://forums.slimdevices.com/member.php?userid=11096 View this thread:

[SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2007-04-21 Thread Controllator
Hi, in KDFs Alarmplugin is this Line to handle Random Play: Code: Plugins::RandomPlay::Plugin::playRandom($client,'track'); I want to use my own SQLPlayList from Erland's great Addons. In Erland's DynamicPlaylist Addon is a Funktion playRandom

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2007-04-21 Thread erland
You should use the CLI interface towards the Dynamic Playlist plugin, something like: Code: $client-execute(['dynamicplaylist', 'playlist', 'play', 'sqlplaylist_XXX']); Where 'sqlplaylist_XXX' is the id of the playlist. To see which id a

Re: [SlimDevices: Plugins] Using Erland's SQLPlayList in KDF's AlarmPlugin

2007-04-21 Thread erland
Controllator, I just realised you had entered the playlist name in your first post, so in your case I think the command with correct playlist id should be: Code: $client-execute(['dynamicplaylist', 'playlist', 'play', 'sqlplaylist_Clean%20Random%20albums']);