audio cd insertion using XAnt

title says it all

audio cd insertion using XAnt

Postby dgemily on Thu Feb 10, 2005 7:01 pm

This is a function of the plugin XAnt built by Badubo:

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.
Image

- launch xlobby, go to the setup and change the letter of you driver:
Image

- go to the tab “Misc” of the setup and assign the cdaudio insertion to the event “autoplay: audio cd popup”
Image

Restart xlobby, insert an audio cd and enjoy :wink:

Big thanks to Badubo
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby dgemily on Mon Feb 21, 2005 2:33 pm

did anyone try it :!: :?:

later :wink:
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby YaKa12 on Wed Feb 23, 2005 10:07 am

dgemily wrote:did anyone try it :!: :?:

later :wink:


Just close your eyes and dream.

Your just receved a unique audio cd from your prefered artist. You put it in your player, and, just like a miracle the cover appears on the screen, the tracks titles and so on.

Chose the play button on your remote, sit down in a comfortable armchair and rest...


Thanks a lot.

YaKa
YaKa12
 
Posts: 15
Joined: Tue Feb 15, 2005 5:38 pm

Postby dgemily on Wed Feb 23, 2005 10:50 am

thx yaka12 :wink:

one thing that you can't see on the skin matv, is comments recovered about your cd, use this parameter :
category>categoryname>comment
to display comments.

later,
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby JSL on Thu Sep 15, 2005 8:25 pm

dgemily,


I am trying to install the Audio Insertion feature of the Xant plugin. When inserting a CD the plugin retrieve the artist, CD title and track names without any problem, but no covers are retrieved.

Except for the covers all information is stored nicely in the oncdaudio.xml (does not point to any picture file in the "Pochettes cdaudio" directory).

Neither, are any covers downloaded to the "Pochettes cdaudio" directory (by Ant Movies Catalog?)

However, if I manually use the “FreeDB + Amazon.fr (cd audio)” script in Ant Movie Catalog I get all information of the selected CDs incl. the covers.

I have tried again and again to follow your installation instructions (including changing the Xant.ini file) and I have tried several skins (incl. the maTVMCE skin), but without luck.

Could you help me on what the problem might be?

Thanks in advance,

JSL
JSL
 
Posts: 31
Joined: Thu Dec 30, 2004 11:22 am

Postby dgemily on Thu Sep 15, 2005 10:28 pm

noticed that too ( no more covers :( )
mybe badubo will find a solution.....
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby badubo on Fri Sep 16, 2005 8:10 am

I am trying to install the Audio Insertion feature of the Xant plugin. When inserting a CD the plugin retrieve the artist, CD title and track names without any problem, but no covers are retrieved.


Seems that amazon changed the way the Web Service API work.
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby badubo on Fri Sep 16, 2005 12:47 pm

Ok,

I found the problem, now Amazon wants to have a valid subscription ID for accessing the web service.

http://users.skynet.be/badubo/test/XAnt.dll
I didn't had time to test it.

What you have to do :

go to
https://aws-portal.amazon.com/gp/aws/de ... 76-2471139
and register in order to have a valid ID
once you get it (by mail), open the XAnt.ini and inside the section used for the oninsert fnct (here CDAudio), add the key :
amazonID
and set it to your ID
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby dgemily on Fri Sep 16, 2005 12:59 pm

ok, I will try it tonight....
thanks ;)
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby dgemily on Fri Sep 16, 2005 4:10 pm

I did a try and it's working great now!!!!

thanks again, badubo ;)
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby JSL on Sat Sep 17, 2005 4:17 pm

It works for me as well!!!

If you ask me, the Audio oninsert function is indispensable in a perfect Home Theater setup!

Thanks for a great plugin, badubo

JSL
JSL
 
Posts: 31
Joined: Thu Dec 30, 2004 11:22 am

Postby GFORCE on Sun Sep 18, 2005 2:43 pm

Does this copy the Cover and Rip the CD to the Hard Disk?
GFORCE
 
Posts: 193
Joined: Mon Jul 19, 2004 12:17 pm

Postby dgemily on Sun Sep 18, 2005 3:02 pm

GFORCE wrote:Does this copy the Cover

yep

GFORCE wrote:Rip the CD to the Hard Disk?

not at all... use cdex plugin for that.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby GFORCE on Tue Sep 20, 2005 3:42 am

how would you set it up so if you hit copy cd, it will copy the cover?
GFORCE
 
Posts: 193
Joined: Mon Jul 19, 2004 12:17 pm

Postby dgemily on Tue Sep 20, 2005 11:24 am

The result:
Covers will be stocked in a repertory, (by default in C:\Program Files\Ant Movie Catalog\pochettes audiocd\” . information is stocked in 2 xml databases (one temporary database :oncadaudio.xml, with only information about the audio cd inside your player, and cdaudio.xml with all information about all yours audio cds that you did insert in your player….

So if you want also use this application combinatory to a cd copy function, maybe, you can use a xlobby variable like %oncdaudio>corvertar% in an event to copy the cover where you want.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Next