Re: [SlimDevices: Plugins] Windows 8 App

2013-07-03 Thread Wigster

Another small bug: there are some views where scrolling with the
trackpad on my laptop (which I presume as the mouse scroll) doesn't seem
to work. Eg: in my music in Artist and Album view it is OK, but in Years
it is not. It also doesn't work in the podcasts view.

Another thing that I would really appreciate would be some way to seek
within tracks. I listen to radio shows/podcasts a lot and I have to go
to the web interface if I want to resume half-way through. Have a track
progress bar to click on would be great.

Thanks for working on this!



Wigster's Profile: http://forums.slimdevices.com/member.php?userid=14899
View this thread: http://forums.slimdevices.com/showthread.php?t=97998

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


Re: [SlimDevices: Plugins] DenonSerial plugin thread

2013-07-03 Thread JamesMcBride

I've managed to work around this for now - modifying this bit in
Plugins.pm


Code:


  sub volumeSBToDenon($$) {
my ($sbVol,$ampMax) = @_;
# amp volume should be in increments of 0.5 between 0 and 98;
my $ampTo =  int(2 * (($sbVol / 100 * ($ampMax + 81)) - 1)) / 2;
if ( $ampTo  98 ) { $ampTo = 98; } # max 98
if ( $ampTo  0 ) { $ampTo = 99; }  # minimum = 99 (weird, I know)
my $sbEquiv = volumeDenonToSB($ampTo,$ampMax);
$log-debug(sbvol $sbVol - denon $ampTo - SB $sbEquiv);
return $ampTo;
  




to:


Code:


  sub volumeSBToDenon($$) {
  my ($sbVol,$ampMax) = @_;
  # amp volume should be in increments of 0.5 between 0 and 98;
  my $ampTo =  int(($sbVol / 100 * ($ampMax + 81)) - 1);
  if ( $ampTo  98 ) { $ampTo = 98; } # max 98
  if ( $ampTo  0 ) { $ampTo = 99; }  # minimum = 99 (weird, I know)
  my $sbEquiv = volumeDenonToSB($ampTo,$ampMax);
  $log-debug(sbvol $sbVol - denon $ampTo - SB $sbEquiv);
  return $ampTo;
  



Not the best solution because my main zone now doesn't increment in
0.5's, but at least the other zones are controllable :)



JamesMcBride's Profile: http://forums.slimdevices.com/member.php?userid=60475
View this thread: http://forums.slimdevices.com/showthread.php?t=67182

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Tony T

Roland0 wrote: 
 If you just want to see which songs will be excluded due to having been
 played recently, start a session, open the blender, open the Session
 Info window, and look for the history section - songs with a source of
 feedback/play are those which have been marked as played for the
 current session, and will be only considered if TEN runs out of relevant
 songs (songs with a source of next actually have been played in the
 current session)

Thanks.  Didn't think of looking at Session Info



Tony
#63743;  SBTouch #9834; SBRadio #9836;

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Tony T

mherger wrote: 
 
 You could easily add a line to the plugin code to print the list,
 though.  
 I'll probably add a debug statement for this.
 
 -- 
 
 Michael

That would be useful.  I'm thinking that the song id is not being saved
to my cache (which would be the cause of the repeats) 
Could you also print the song id that is gotten from Rhapsody in the log
file?

Tony



Tony
#63743;  SBTouch #9834; SBRadio #9836;

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Tony T

mherger wrote: 
 Thanks, I'll look into these.
 Michael

I think that a childrens type is also available
(Are you checking input for Song Type?  If I enter Electric, it's
underlined in red)

category_map: {
electric: any,
live: any,
studio: any,
acoustic: any,
christmas: false,
childrens: any
}



Tony
#63743;  SBTouch #9834; SBRadio #9836;

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread dbinder101

I have a few hundred tracks that echonest is not recognizing. I know
some have crappy tags associated with them, but quite a few are tracks
from CDs that I've ripped via dbPowerAmp so I know their tags should be
correct. And, no, these are npt compilations or Best Of that might
throw it off, they're pretty simple one-artist or group types of tracks.
Is there an easy way to cross-check the unrecognized tracks with what
echonest is expecting them to be so I can make the appropriate changes
for echonest to recognize them?



dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Roland0

dbinder101 wrote: 
 I have a few hundred tracks that echonest is not recognizing. I know
 some have crappy tags associated with them, but quite a few are tracks
 from CDs that I've ripped via dbPowerAmp so I know their tags should be
 correct. And, no, these are npt compilations or Best Of that might
 throw it off, they're pretty simple one-artist or group types of tracks.
 Is there an easy way to cross-check the unrecognized tracks with what
 echonest is expecting them to be so I can make the appropriate changes
 for echonest to recognize them?

see 'this post'
(http://forums.slimdevices.com/showthread.php?97668-Announce-Smart-Mix-pluginp=732240viewfull=1#post732240)
- that's the only way to do this I'm aware of



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Roland0

Tony T wrote: 
 That would be useful.  I'm thinking that the song id is not being saved
 to my cache (which would be the cause of the repeats) 

There seems to be something happening with the saved song history. From
my server.log:

Code:


  [13-07-03 02:11:47.3083] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=CA..%3Asong%3A169138b39c6e7ca9b5b1509359ea7efalimit=truebucket=id%3ACA...type=song-radioapi_key=*
  [13-07-03 02:11:48.3533] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/feedback?session_id=848e9ecd9b694eebb0de444ea67f98d7play_song=SOEWFOC12AC468D3A3play_song=SODFBFN12AF72A025Bplay_song=SOBHOJQ12A8C1421D8play_song=SOETEYP1315CD41F96play_song=SOCHXHJ12A8C13545Fplay_song=SORKRIW12A6701CB72play_song=SOVIZJB131343A3748play_song=SONOZQX1316771CF23play_song=SOYPRZS1313439FFA1play_song=SOAVIKJ135CBE82C33play_song=SOFWXBU12AB018870Aplay_song=SOHZGPR1312A8ACE3Cplay_song=SOWXXOO12A8C13E577play_song=SOYQYOG12B0B809392play_song=SOFUPOR12A8C135482play_song=SOERMCH1315CD49FDDplay_song=SOFQIDV136731125D1play_song=SOBMBYC1315CD4696Eplay_song=SOEFXVD12D8578D9B9play_song=SOFYEAN13688672275play_song=SOZPFSR131712D169Cplay_song=SOQKMNN12A8C13FD6Eplay_song=SONCDQO12AF72A3B1Fplay_song=SOPZBXL12B0B80AF0Bplay_song=SOGOASA136927A7A78play_song=SOBTHRA1311AFE5866play_song=SOCAEDZ1312A8AB6BFplay_song=SOIGHKW
 
12A8C13AA9Bplay_song=SOGNDKA135CBA592EBplay_song=SODGLSX12A8C143A40play_song=SOEKZWJ12A8C133127play_song=SODUDFS133A9215718play_song=SOOTKAC12A6D4F92E6play_song=SOLRENN12A8C1466D1play_song=SORADBU12A6D4F73B9play_song=SODSYXW12AB0187768play_song=SOPXMNK12AB0181D39play_song=SOSYNPH1338A5D8182play_song=SORCNBO12AF72A1DADplay_song=SOOMLJB12A8C13347Aplay_song=SOFCNHJ12B34F1C78Fplay_song=SOGKYSO12A6D4FA00Eplay_song=SOJUESI1316771C786play_song=SODDYEZ13167714B76play_song=SOJEKBU1315CD46D52play_song=SOOGSHX135CC95074Bplay_song=SOENCEV135C21A2F25play_song=SOAGZZH135C224C595play_song=SOIAEPB12A58A78B4Aplay_song=SOGKFJE136916360B3play_song=SOWLYNL12AB0180329play_song=SOTCONS12B35058D8Cplay_song=SOUJLGL12DA5948B36play_song=SOZMLIL12B0B807A33play_song=SOBDQVW1376868E7B3play_song=SOGJOQE12AB017F74Fplay_song=SOALXHW12AB0188D5Fplay_song=SOBWVZD1366EF13509play_song=SOLJTTI136F2549254play_song=SOAPYWU12AF72A4929play_song=SOQGXVC13775579370play_song=SONJUUH131
 1AFE3A7Aplay_song=SODEHWB12AF72A7FE6play_song=SOCLVXN13134!
 
3976B3play_song=SOPCVOO12AF72A4F5Eplay_song=SOBZAEW135CC8BEE3Dplay_song=SOWQDZP1377520CB67play_song=SOFPGJA135CBB8EDE8play_song=SOJIAXY1311AFE2CC6play_song=SODJAIK12A8C13547Bplay_song=SOFYVTM12A58A77D7Bplay_song=SONHZQJ1315CD4A7B5play_song=SOSVTYN1315CD49C19play_song=SOLZONJ13672BBD910play_song=SORFXFC12AF72A0FF0play_song=SODJMAZ1313438B2C0play_song=SOEMOGY12AF72A7F01play_song=SOHZDKP12A8AE4770Eplay_song=SORRIMH12AB017D624play_song=SOCGOUG12AB017FDCAapi_key=*
  [13-07-03 02:11:48.3547] Plugins::SmartMix::Plugin::_createMixCb (781) Got 
dynamic playlist session_id: 848e9ecd9b694eebb0de444ea67f98d7
  --
  [13-07-03 14:08:24.5083] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=CA..%3Asong%3A440c8e92d579c4c8ec48c2d3b106f00elimit=truebucket=id%3ACA..type=song-radioapi_key=*
  [13-07-03 14:08:24.9896] Plugins::SmartMix::Plugin::_createMixCb (781) Got 
dynamic playlist session_id: 664977b84941413c949528ec97fd93a4
  --
  [13-07-03 16:21:06.2512] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=CA..%3Asong%3A36b559cc0b1ee4064a2ccf38601678c8limit=truebucket=id%3ACA..type=song-radioapi_key=*
  [13-07-03 16:21:06.7456] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/feedback?session_id=bdab70e7df7b46f697e54590d164f1ceplay_song=SOCCIAU1311AFE6C0Bplay_song=SOEKABL12A8C133DA7play_song=SOCVJNZ12AF72A364Aplay_song=SOCVGKH1311AFDEA14play_song=SODNIFE1376FA0F06Bplay_song=SOAGYMT12A8C143821play_song=SOAXZTX1376D0CAB33play_song=SOTGLOZ13167713976play_song=SOFMHEJ12A8C13F82Aplay_song=SOAIUHX12A6310EE08play_song=SOMDHBD1311AFD874Aplay_song=SOEFDAK12A8C1421F8play_song=SOVUPNF131712D15E4play_song=SOLQUUF1313438B7F0play_song=SOIUFDF13B0CC5D0A2play_song=SOANMYV131343917E8play_song=SOIJGRW13CB2D08017play_song=SOSAQQB1372F17B102play_song=SOBBKWB1315CD47BECplay_song=SOCNGOC1315CD40AADplay_song=SOEGDZA12AB0183492play_song=SOJILTO13DC0240041play_song=SOCCGSE12A8C13C699play_song=SOUJRCW1369F5B9333play_song=SOAKEME12869A02157play_song=SOBKTCB131343A1224play_song=SOFRVUL131677145D6play_song=SOAAFQX
 
13134383CC8play_song=SOYJQJB13730608F94play_song=SOQESNT1312A8AD87Bplay_song=SOQFOXK13B0CC5D0C3play_song=SOBHIWJ1315CD3FA3Eplay_song=SOVFWHE12A6D4F59CCplay_song=SOJMNEK12B0B8094F6play_song=SOHLEPO12A81C224C1api_key=*
  [13-07-03 16:21:06.7470] 

Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Tony T

Roland0 wrote: 
 There seems to be something happening with the saved song history. From
 my server.log:
 

My log looks different than yours.  Any idea if there is a problem on my
side:

Code:


  
  [13-07-03 14:14:53.5929] Plugins::SmartMix::Services::getServices (30) List 
of available services: id:rhapsody-US
  [13-07-03 14:15:01.2279] Plugins::SmartMix::Plugin::createMix (724) Starting 
dynamic mix using: {
  name  = Classic Rock,
  style = [classic rock^2, rock, -rb],
  type  = artist-description,
  }
  [13-07-03 14:15:01.2286] Plugins::SmartMix::Services::getServices (30) List 
of available services: id:rhapsody-US
  [13-07-03 14:15:01.2290] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?style=classic%20rock%5E2style=rockstyle=-r%26bbucket=id%3Arhapsody-USbucket=tracksbucket=id%3ACAOVNIE13F88373B08type=artist-descriptionapi_key=*
  [13-07-03 14:15:01.2360] Plugins::SmartMix::Plugin::onPlaylistChange (1145) 
Received command playlist play
  [13-07-03 14:15:01.2363] Plugins::SmartMix::Plugin::onPlaylistChange (1146) 
While in mode: new!, from Squeezebox Radio 4
  [13-07-03 14:15:01.2366] Plugins::SmartMix::Plugin::onPlaylistChange (1248) 
Cyclic mode ending due to playlist: playlist play command
  [13-07-03 14:15:01.2421] Plugins::SmartMix::Plugin::onPlaylistChange (1145) 
Received command playlist load_done
  [13-07-03 14:15:01.2423] Plugins::SmartMix::Plugin::onPlaylistChange (1146) 
While in mode: new!, from Squeezebox Radio 4
  [13-07-03 14:15:01.6143] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-limit: 120
  [13-07-03 14:15:01.6146] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-remaining: 119
  [13-07-03 14:15:01.6148] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-used: 1
  [13-07-03 14:15:01.6152] Plugins::SmartMix::Plugin::_createMixCb (780) Got 
dynamic playlist session_id: 338b07d819d94d4f8145e5d6baa9683a
  [13-07-03 14:15:01.6157] Plugins::SmartMix::Plugin::addTracks (986) 0 songs 
remaining, songIndex = 0
  [13-07-03 14:15:01.6161] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/next?session_id=338b07d819d94d4f8145e5d6baa9683aresults=5api_key=*
  [13-07-03 14:15:01.6176] Plugins::SmartMix::API::_call (284) Async API call: 
POST http://developer.echonest.com/api/v4/catalog/update
  [13-07-03 14:15:01.6180] Plugins::SmartMix::API::_call (285) (
  
data=%5B%7B%22catalog_keyvalues%22%3A%7B%22timestamp%22%3A%221372875301%22%2C%22version%22%3A%221.3.5%22%7D%2C%22action%22%3A%22update%22%7D%5D,
  id=CAOVNIE13F88373B08,
  api_key=*,
  )
  [13-07-03 14:15:01.7486] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-limit: 120
  [13-07-03 14:15:01.7489] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-remaining: 117
  [13-07-03 14:15:01.7491] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-used: 3
  [13-07-03 14:15:01.7494] Plugins::SmartMix::API::__ANON__ (232) set 
lastused timestamp
  [13-07-03 14:15:01.7770] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-limit: 120
  [13-07-03 14:15:01.7779] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-remaining: 118
  [13-07-03 14:15:01.7781] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-used: 2
  [13-07-03 14:15:28.5812] Plugins::SmartMix::Plugin::onPlaylistChange (1145) 
Received command playlist newsong
  [13-07-03 14:15:28.5815] Plugins::SmartMix::Plugin::onPlaylistChange (1146) 
While in mode: 338b07d819d94d4f8145e5d6baa9683a, from Squeezebox Radio 4
  [13-07-03 14:15:28.5818] Plugins::SmartMix::Plugin::addTracks (986) 3 songs 
remaining, songIndex = 1
  [13-07-03 14:15:28.5821] Plugins::SmartMix::API::_call (284) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/next?session_id=338b07d819d94d4f8145e5d6baa9683aresults=5api_key=*
  [13-07-03 14:15:30.2889] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-limit: 120
  [13-07-03 14:15:30.2892] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-remaining: 116
  [13-07-03 14:15:30.2894] Plugins::SmartMix::API::_getResponseBody (343) 
x-ratelimit-used: 4
  [13-07-03 14:15:30.2910] Plugins::SmartMix::Plugin::_playTracks (1061) No 
usable ID found in track:{
  artist_id = ARIXFZD1187B997756,
  artist_name = The Scorpions,
  foreign_ids = [],
  id = SOVWPRB13B18B56992,
  title = I'm Going Mad,
  tracks = [],
  }
  [13-07-03 14:15:30.2918] Plugins::SmartMix::Plugin::_playTracks (1061) No 
usable ID found in track:{
  artist_id = ARNDL191187FB51583,
  artist_name = Jimi Hendrix,
  foreign_ids = [],
  id = SOOBNKH1376D0E8011,
  title = Little Wing,
  tracks = [],
  }
  




Tony
#63743;  SBTouch #9834; SBRadio #9836;

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: 

Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Roland0

Tony T wrote: 
 My log looks different than yours. 
- mine is edited to only show the relevant lines
- I'm playing local tracks, you are using Rhapsody


 
 Any idea if there is a problem on my side:
  
Code:

  
   [13-07-03 14:15:01.2290] Plugins::SmartMix::API::_call (284) Async API 
call: GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?style=classic%20rock%5E2style=rockstyle=-r%26bbucket=id%3Arhapsody-USbucket=tracksbucket=id%3ACAOVNIE13F88373B08type=artist-descriptionapi_key=*
   

  
 
looks similar to what I described - if you have a local played songs
history, there should be a call to /dynamic/feedback after
dynamic/create

Note, however, that there are two distinct ways SM tries to avoid
repetition
- by telling TEN about it (the /dynamic/feedback call)
- locally by checking if the track has been played in the past n days
(That's what you configure in the SM settings. The message in the log is
Skipping track as it has been recently played). I think this won't
work for streaming services.



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Tony T

Roland0 wrote: 
 - mine is edited to only show the relevant lines
 - I'm playing local tracks, you are using Rhapsody
 The message in the log is Skipping track as it has been recently
 played). 
 I think this won't work for streaming services.

Yeah, it's Rhapsody that repeating tracks.
I believe that it's supposed to work for streaming services.  See:
http://forums.slimdevices.com/showthread.php?97668-Announce-Smart-Mix-pluginp=750974viewfull=1#post750974



Tony
#63743;  SBTouch #9834; SBRadio #9836;

Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread dbinder101

Roland0 wrote: 
 see 'this post'
 (http://forums.slimdevices.com/showthread.php?97668-Announce-Smart-Mix-pluginp=732240viewfull=1#post732240)
 - that's the only way to do this I'm aware of

Unfortunately, I am running this on a Windows machine and it looks like
what you're recommending can only be done on a Linux machine?



dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Michael Herger
  [13-07-03 14:08:24.5083] Plugins::SmartMix::API::_call (284) Async API  
call: GET  
http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=CA..%3Asong%3A440c8e92d579c4c8ec48c2d3b106f00elimit=truebucket=id%3ACA..type=song-radioapi_key=*
  [13-07-03 14:08:24.9896] Plugins::SmartMix::Plugin::_createMixCb (781)  
Got dynamic playlist session_id: 664977b84941413c949528ec97fd93a4



Stupid me... I didn't set an expiry time on the play history cache. Which  
means it expires after the default value of 1h... I'll fix that.


--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Michael Herger

Note, however, that there are two distinct ways SM tries to avoid
repetition
- by telling TEN about it (the /dynamic/feedback call)
- locally by checking if the track has been played in the past n days
(That's what you configure in the SM settings. The message in the log is
Skipping track as it has been recently played). I think this won't
work for streaming services.


Correct. That skipping message would only be shown for local tracks. And  
if my pre-populating the mix history would work correctly, you should only  
see this for messages you had been listened to outside of a smartmix.


Rhapsody should work though. Will have to double check.

--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Michael Herger

That would be useful.  I'm thinking that the song id is not being saved
to my cache (which would be the cause of the repeats)


Roland0 just pointed out a problem to me where that cache would expire if  
it wasn't renewed for more than an hour (which typically would happen eg.  
over night). I'll fix that asap.



Could you also print the song id that is gotten from Rhapsody in the log
file?


They would be printed as part of the existing log output already. The  
cache is only acting on the TEN IDs, as these should cover tracks no  
matter what source from. Eg. one TEN ID could refer to your local track as  
well as a Rhapsody track _and_ a Deezer/MOG/Spotify track.


--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Michael Herger

Based on a quick look, I think that Taste Profile
(http://developer.echonest.com/docs/v4/catalog.html) allows the
banning of artists and/or tracks (as well as other items such as
favorites).  Not sure if this is in the Blender already.  Not that
this is needed.  Smart Mix is excellent as is.


Correct. But this would ban them for any mix you do based on your profile.  
I did understand your original request whether this would be possible on a  
per mix basis?


--

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


Re: [SlimDevices: Plugins] Announce: Smart Mix plugin

2013-07-03 Thread Michael Herger

I have a few hundred tracks that echonest is not recognizing. I know
some have crappy tags associated with them, but quite a few are tracks
from CDs that I've ripped via dbPowerAmp so I know their tags should be
correct. And, no, these are npt compilations or Best Of that might
throw it off, they're pretty simple one-artist or group types of tracks.
Is there an easy way to cross-check the unrecognized tracks with what
echonest is expecting them to be so I can make the appropriate changes
for echonest to recognize them?


You can do it in a browser using the song/search command:
http://developer.echonest.com/docs/v4/song.html#search

Just make sure you use the exact data you have in your tracks. Including  
all typos, feat. etc.


--

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