Apparently, the plugin does not get a new token after the old one
expires after an hour:

Authentication takes place at 14:59. At 15:57 the request still contains
user_id and credential_id. The next request (at 16:01) has none for
user_id and credential_id. I don't see another
"http://www.qobuz.com/api.json/0.2/user/login"; request, only the initial
one at 14:59. The log runs till 18:18.

Michael, would you like me to upload the full log?

Mark


Code:
--------------------
    [19-03-17 14:59:27.2868] Plugins::Qobuz::API::_get (698) 
http://www.qobuz.com/api.json/0.2/user/login?app_id=&device_manufacturer_id=87b3ef2e-83a2-480c-9667-3da19fea0405&password=<<id_removed>>&username=<<id_removed>>
  
  ...
  
  [19-03-17 15:57:04.6024] Plugins::Qobuz::Reporting::_post (146) 
http://www.qobuz.com/api.json/0.2/track/reportStreamingStart?app_id=942852567: 
events=[{"online":true,"user_id":"<<id_removed>>","date":1552834624,"sample":false,"track_id":"49452540","local":false,"purchase":false,"format_id":6,"duration":0,"credential_id":"<<id_removed>>","device_id":"<<id_removed>>","intent":"streaming"}]&user_auth_token=oPzZYtlQBCXq9ILfoumjJE3xevjqFoB1v2RsOrcKfnza3XjdtmmLk_E6Yey0GKp6y9fJkfPP06PggUapUrDqpA
  
  ...
  
  [19-03-17 16:01:06.4079] Plugins::Qobuz::Reporting::_post (146) 
http://www.qobuz.com/api.json/0.2/track/reportStreamingStart?app_id=942852567: 
events=[{"duration":0,"format_id":6,"purchase":false,"local":false,"device_id":null,"intent":"streaming","credential_id":null,"online":true,"track_id":"49452541","sample":false,"date":1552834866,"user_id":null}]&user_auth_token=oPzZYtlQBCXq9ILfoumjJE3xevjqFoB1v2RsOrcKfnza3XjdtmmLk_E6Yey0GKp6y9fJkfPP06PggUapUrDqpA
  
  
--------------------



--Mark
------------------------------------------------------------------------
groenm's Profile: http://forums.slimdevices.com/member.php?userid=65564
View this thread: http://forums.slimdevices.com/showthread.php?t=97146

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

Reply via email to