When you insert a cdaudio, it will download the information about the cd from freedb and the cover from amazon. Then it will build a temporary database xml for xlobby.
So when you insert an audio cdrom, you will be able to display automatically information and cover about this cd and you will be able to select your audiotracks as the same way of your items on your database music.xml
To do it :
* Install Ant Movie Catalogue
http://www.antp.be/software/moviecatalog/download
* Then download the plugin and files that you need here:
http://www.france.xlobby.com/plugins/XantCdaudio.zip
Installation:
- Install xant.dll, cdaudiotemplate.xml and Xant.ini in the repertory plugins of xlobby.
- Install oncdaudio.xml in the repertory databases of xlobby
- Install the repertory “Pochettes cdaudio” (= cdaudio covers), Freedb2Ant.exe, Freedb2Ant.exe.config, Ripper.dll and Freedb.dll in the repertory of “Ant Movie Catalog”
- Install “FreeDB + Amazon.fr (CD Audio).ifs” in the repertory “Scripts” of “Ant Movie Catalog”
- Install Cdaudio.amc in the repertory “Catalogs” of Ant Movie Catalog
* Configuration:
Open Xant.ini and change following lines with your paths and modify the letter for you cdrom driver:
[Cdaudio]
input=C:\Program Files\Ant Movie Catalog\Catalogs\cdaudio.amc,audio
output=C:\Program Files\XlobbyFr\databases\cdaudio.xml
images=C:\Program Files\Ant Movie Catalog\Pochettes cdaudio\
sort=$$ITEM_ORIGINALTITLE
template=c:\Program Files\XlobbyFr\plugins\cdaudiotemplate.xml
filters=
cdrom=F:\
* To use it on xlobby:
add, in the event manager an event “autoplay cdaudio” select the plugin Xant with the command OnInsertAudio and in "Variables" write for example :
- Code: Select all
oncdaudio Cdaudio F:\
where :
“oncdaudio” is the name of your temporary xml database where the plugin will write the information about your cd
“Cdaudio” is the name of the database .amc
and “F:\” is the letter of my cdrom driver.
Then in the tab “Misc” of the setup, assign the cdaudio insertion to this event.
There are 2 variables to display some information on xlobby for example to display some information on the overlay (cdaudio popup):
plugin>xAntMovie>artist
plugin>xAntMovie>album
to display the information of the cd use a category and display the database “oncdaudio.xml”
To try the function quickly:
Download and install AMC + The plugin:
Download the skin matv from here: http://france.xlobby.com/skins/new/maTVMCE800x600.rar
- edit xant.ini and change paths to your configuration.
- launch xlobby, go to the setup and change the letter of you driver:
- go to the tab “Misc” of the setup and assign the cdaudio insertion to the event “autoplay: audio cd popup”
Restart xlobby, insert an audio cd and enjoy
Big thanks to Badubo