Weller wrote: > Thank you very much for your help! Highly appreciated! Everything went > fine, but I still get randomly chosen tracks only. I get an error > message on the Squeezebox display, that musicip API is not running. I > included a part of the log at the bottom of this post. > > > > I am using only Buster as OS and LMS on my Raspberry. Together with two > squeezeboxes and chromecasts. > > > > The aspect that Sugarcube is "genre-agnostic" is the one that interests > me most. > > Log: > #### Track Changed or Timer Fired #### > [20-02-24 21:01:49.7009] Plugins::SugarCube::Breakout::TrackTracker > (328) > Insert into Database Playing Track: > file:///home/pi/Music/Musik/Mod,%20Garage,%20Neo%206Ts/Young%20Fresh%20Fellows,%20The/1987_The%20Men%20Who%20Loved%20Music/Young%20Fresh%20Fellows,%20The%20-%20I%20Don%27t%20Let%20The%20Little%20Things%20Get%20Me%20Down.mp3 > [20-02-24 21:01:49.7342] Plugins::SugarCube::Plugin::buildMIPReq (583) > localmediapath Change Using;//xxx.xxx.xxx.61/home/pi/Music/Musik > [20-02-24 21:01:49.7349] Plugins::SugarCube::Plugin::buildMIPReq (584) > nasconvertpath Replace With;Z:\Musik\MP3\Musik > [20-02-24 21:01:49.7355] Plugins::SugarCube::Plugin::buildMIPReq (586) > Dynamic Change Using;\/\/xxx\.xxx\.xxx\.61\/home\/pi\/Music\/Musik > [20-02-24 21:01:49.7361] Plugins::SugarCube::Plugin::buildMIPReq (587) > Dynamic Replace With;Z:\Musik\MP3\Musik > [20-02-24 21:01:49.7368] Plugins::SugarCube::Plugin::buildMIPReq (588) > Original tracktitle;/home/pi/Music/Musik/Mod, Garage, Neo 6Ts/Young > Fresh Fellows, The/1987_The Men Who Loved Music/Young Fresh Fellows, The > - I Don't Let The Little Things Get Me Down.mp3 > [20-02-24 21:01:49.7374] Plugins::SugarCube::Plugin::buildMIPReq (590) > Converted tracktitle;/home/pi/Music/Musik/Mod, Garage, Neo 6Ts/Young > Fresh Fellows, The/1987_The Men Who Loved Music/Young Fresh Fellows, The > - I Don't Let The Little Things Get Me Down.mp3 > [20-02-24 21:01:49.7380] Plugins::SugarCube::Plugin::buildMIPReq (593) > localmediapath_2 Change Using; > [20-02-24 21:01:49.7387] Plugins::SugarCube::Plugin::buildMIPReq (594) > nasconvertpath_2 Replace With; > [20-02-24 21:01:49.7393] Plugins::SugarCube::Plugin::buildMIPReq (596) > Dynamic Change Using; > [20-02-24 21:01:49.7400] Plugins::SugarCube::Plugin::buildMIPReq (597) > Dynamic Replace With; > [20-02-24 21:01:49.7406] Plugins::SugarCube::Plugin::buildMIPReq (598) > Original tracktitle;/home/pi/Music/Musik/Mod, Garage, Neo 6Ts/Young > Fresh Fellows, The/1987_The Men Who Loved Music/Young Fresh Fellows, The > - I Don't Let The Little Things Get Me Down.mp3 > [20-02-24 21:01:49.7413] Plugins::SugarCube::Plugin::buildMIPReq (600) > Converted tracktitle;/home/pi/Music/Musik/Mod, Garage, Neo 6Ts/Young > Fresh Fellows, The/1987_The Men Who Loved Music/Young Fresh Fellows, The > - I Don't Let The Little Things Get Me Down.mp3 > [20-02-24 21:01:49.7419] Plugins::SugarCube::Plugin::buildMIPReq (607) > WINTEL LMS with LINUX MIP - PreTracktitle;/home/pi/Music/Musik/Mod, > Garage, Neo 6Ts/Young Fresh Fellows, The/1987_The Men Who Loved > Music/Young Fresh Fellows, The - I Don't Let The Little Things Get Me > Down.mp3 > [20-02-24 21:01:49.7427] Plugins::SugarCube::Plugin::ArrayLoop (669) > #### Built URL Request for MusicIP: > http://xxx.xxx.xxx.52:10002/api/mix?&sizetype=tracks&size=10&album%3d/home/pi/Music/Musik/Mod, > Garage, Neo 6Ts/Young Fresh Fellows, The/1987_The Men Who Loved > Music/Young Fresh Fellows, The - I Don't Let The Little Things Get Me > Down.mp3&style=0&variety=0 > #### > [20-02-24 21:01:49.7793] Plugins::SugarCube::Plugin::gotErrorContinue > (631) > #### MUSICIP FAILED #### > [20-02-24 21:01:49.7801] Plugins::SugarCube::Plugin::gotErrorContinue > (632) > MUSICIP RETURNED NOTHING > Check API Service is Running > [20-02-24 21:01:49.7808] Plugins::SugarCube::Plugin::gotErrorContinue > (633) > #### MUSICIP FAILED #### > [20-02-24 21:01:49.7834] Plugins::SugarCube::Plugin::gotErrorContinue > (635) > Keeping music playing requesting (from LMS) a Random Track matching the > Current Playing Tracks Genre > [20-02-24 21:01:49.7858] Plugins::SugarCube::Plugin::randompuller (486) > > LMS Reported Track Playing; > file:///home/pi/Music/Musik/Mod,%20Garage,%20Neo%206Ts/Young%20Fresh%20Fellows,%20The/1987_The%20Men%20Who%20Loved%20Music/Young%20Fresh%20Fellows,%20The%20-%20I%20Don%27t%20Let%20The%20Little%20Things%20Get%20Me%20Down.mp3 > [20-02-24 21:01:49.7879] Plugins::SugarCube::Plugin::randompuller (490) > > Currently Playing; > file:///home/pi/Music/Musik/Mod,%20Garage,%20Neo%206Ts/Young%20Fresh%20Fellows,%20The/1987_The%20Men%20Who%20Loved%20Music/Young%20Fresh%20Fellows,%20The%20-%20I%20Don%27t%20Let%20The%20Little%20Things%20Get%20Me%20Down.mp3 > [20-02-24 21:01:49.7886] Plugins::SugarCube::Plugin::randompuller (491) > > Currently Playing Genre; Garage > [20-02-24 21:01:49.7893] Plugins::SugarCube::Breakout::getRandom (20) > Get Random Track but block Artist 0 plus 0 plus 0 > [20-02-24 21:01:49.8058] Plugins::SugarCube::Plugin::randompuller (494) > > Insert into Database: Somewhere by Prisoners, The > [20-02-24 21:01:49.8416] Plugins::SugarCube::Plugin::gotErrorContinue > (660) > Random Track Selected matching Current Playing Genre;Garage > [20-02-24 21:01:49.8421] Plugins::SugarCube::Plugin::gotErrorContinue > (661) > Adding Track;I Don't Let The Little Things Get Me Down
I don't have access to my LMS right now, but if I'm not mistaken you have your paths inversed. Code: -------------------- Built URL Request for MusicIP: http://xxx.xxx.xxx.52:10002/api/mix?&sizetype=tracks&size=10&album%3d/home/pi/Music/Musik/Mod, Garage, Neo 6Ts/Young Fresh Fellows, The/1987_The Men Who Loved Music/Young Fresh Fellows, The - I Don't Let The Little Things Get Me Down.mp3&style=0&variety=0 -------------------- Looking at this line, which is the URL for the MusicIP server, it will never get you a file from your Windows machine to send back to your Linux machine for subsequent translation. Just remove the URL-tags from it, put back your IP-address and paste it in a browser on your Windows machine, and you'll see it errors out as well, simply because the cache doesn't contain this path reference ... Main System: Touch; Marantz SR-5004 + TMA Premium 905 + TMA Premium 901 + Teufel Ultima 20 Mk 2 + BK Monolith+ FF + Lenovo T460 + Kodi + Pioneer PDP-LX5090H Workshop: iPad 32GB Wifi + Squeezepad (local playback activated) Wherever needed: Acer Iconia Tab A700 + Squeezeplayer Kitchen: iPhone 5s + iPeng (local playback activated) + NAD 312 + Teufel Ultima 20 Mk 2 Headphone (cozy corner): Lenovo T550 + Squeezelite-X + Cyrus Soundkey + Topping A30 + Focal Elear Car: TBC ... ------------------------------------------------------------------------ bakker_be's Profile: http://forums.slimdevices.com/member.php?userid=30369 View this thread: http://forums.slimdevices.com/showthread.php?t=111549 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins