I have finally figured out the location of the recipes.xml file. Or
rather: I figured out that the mmm.ini also needs to be in the correct
place (apparently, MusicIP just runs with some hard coded default
settings if it doesn't find the mmm.ini.)
So here is what I did:
- Locate the file MusicMagicServer in the terminal
- run
Code:
--------------------
./MusicMagicServer -verbose start
--------------------
- In the response you will see where it is looking for the mmm.ini:
Code:
--------------------
Reading settings from /home/username/.MusicMagic/mmm.ini
--------------------
- Make sure your mmm.ini is exactly in that location and check/modify
the cache path to your default.m3lib provided in the mmm.ini. (I
believe that if it doesn't find any mmm.ini it assumes that same path
as the location for the default.m3lib, but if you specify a different
path in the mmm.ini, it will use that.
- Put your recipes.xml in the same directory as the default.m3lib
mm.ini (e.g. /home/username/.MusicMagic/) [Disclaimer: if this doesn't
work, try putting it where the mmm.ini is. In my case the two are
identical]
- Restart MusicMagicServer (it seems to read the recipe files only at
startup)
- Point your broswer to
Code:
--------------------
http://<yourServerIP>:10002/api/recipes?submit=Show+Recipes
--------------------
and you should see a list of your recipes as defined in the
recipes.xml.
Since the existing Web-UI doesn't have a button to show the recipes, I
added one. Feel free to use my index.html which you can find at
https://github.com/tophee/MusicIP-Web-UI/blob/main/index.html
*Server*: LMS 7.9.3 on an Ubuntu 18.04 virtual machine
*Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms
*Remote control apps*: SqueezePad (iOS), Squeezecontroller (Android)
*Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music,
Custom Browse, Multi Library, Material Skin
------------------------------------------------------------------------
chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641
View this thread: http://forums.slimdevices.com/showthread.php?t=108991
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins