mherger wrote: 
> Could you please check smartmix.prefs to see whether there is a catalog
> id? Worst case: re-install?
> 
smartmix.prefs looks like this:

Code:
--------------------
    
  ---
  _ts_recipes: 1356669051
  _version: 0
  recipes:
  - max_energy: 0.4
  max_tempo: 80
  mood: calming
  name: Smooth
  type: artist-description
  - description: disco
  min_danceability: 0.7
  name: Let's Dance!
  sort: tempo-asc
  type: artist-description
  - min_energy: 0.7
  min_tempo: 120
  name: Play it Loud!
  style: metal
  type: artist-description
  - name: Classic Rock
  style:
  - classic rock^2
  - rock
  - -r&b
  type: artist-description
  
--------------------


I tried to uninstall it, remove the smartmix.prefs file and then
reinstalled it again and at startup I see this in the server.log

Code:
--------------------
    
  [12-12-28 09:07:35.4638] Plugins::SmartMix::API::_debug (286) Async API call: 
GET http://developer.echonest.com/api/v4/catalog/profile?name=XXXXX%3Asong&;
  api_key=
  [12-12-28 09:07:40.2829] Plugins::SmartMix::API::_debug (286) do {
  my $a = bless([
  sub { "???" },
  'fix',
  { params => {}, timeout => 15 },
  "GET",
  
"http://developer.echonest.com/api/v4/catalog/profile?name=XXXXXX%3Asong&api_key=";,
  "400 Bad Request",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP");
  $a->[1] = $a->[0];
  ($a, "400 Bad Request");
  }
  [12-12-28 09:07:40.2834] Plugins::SmartMix::API::_debug (286) Async API call: 
POST http://developer.echonest.com/api/v4/catalog/create
  [12-12-28 09:07:40.2979] Plugins::SmartMix::API::_debug (286) (
  "name=XXXXXX%3Asong",
  "type=song",
  "api_key=",
  )
  [12-12-28 09:07:40.5434] Plugins::SmartMix::API::_debug (286) do {
  my $a = bless([
  sub { "???" },
  'fix',
  { params => {}, timeout => 15 },
  "POST",
  "http://developer.echonest.com/api/v4/catalog/create";,
  "400 Bad Request",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP");
  $a->[1] = $a->[0];
  ($a, "400 Bad Request");
  }
  [12-12-28 09:07:40.5438] Plugins::SmartMix::Plugin::__ANON__ (609) {
  _smartmix_args => { name => "XXXXXX:song", type => "song" },
  response => {},
  }
  
--------------------

Where XXXXXX is a real uuid, didn't now if it was information that I
should keep private so I didn't want to post the exact value in the
forum.
The uuid is not in smartmix.prefs file

scanner.log still indicates that the scanner takes 0 seconds so I
suspect the problem is the initial requests which seems to return an
error if I interpret the above server.log entries properly.


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

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

Reply via email to