MYCDrip integration in MP -Works with latest 2809 CVS Rele (1 Viewer)

Olivier-h

Portal Pro
September 18, 2004
80
0
My CD Rip : MP3, Ogg , CDDB, Coverart,
Originally a plugin for myHTPC
GUI is quiet the same as MP, easy to use with remote

screen1.jpg



Thread :

http://www.meedio.com/forum/viewtopic.php?t=9816&highlight=cd+rip

Download : (the latest release doesn't work, take this one instead)

http://cyberbobjr.free.fr/myCDRip_v0803.zip

Additionally you need the myhtpc.cfg for configuring fonts and buttons color:

Save this code as myhtpc.cfg in same directory as the plugin :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="21">
	<General>
		<Display MainTitle="My HTPC" TitleSafeArea="5" Pointer="hide" BackButton="True" LeftGoesBack="True" RightAdvances="True" LanguageFile="D:\Programme\myHTPC\myHTPCt.str" SlideshowTSA="no" X="0" Y="0" Width="0" Height="0" DisableScreenSaver="no" Wrap="no" HotTrack="yes" Taskbar="show">
			<DefaultTheme BackgroundColor="" BackgroundFile="">
				<TitleFont Name="Arial Black" Size="30" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</TitleFont>
				<SubTitleFont Name="Arial" Size="20" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</SubTitleFont>
				<FooterFont Name="Arial Black" Size="16" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</FooterFont>
				<MainMenuFont Name="Arial Black" Size="20" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</MainMenuFont>
				<SubMenuFont Name="Arial Black" Size="18" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</SubMenuFont>
				<CaptionFont Name="Arial Black" Size="16" Style="">
					<FontColor A="255" R="255" G="255" B="255"/>
				</CaptionFont>
				<FrameColor A="127" R="255" G="255" B="255"/>
				<SelectedFrameColor A="204" R="0" G="128" B="0"/>
			</DefaultTheme>
		</Display>
		</General>
</Configuration>
.

Unzip, install mycdrip in your plugin directory.

I added the button in mymusicxxxx.xml.

Code:
<control>
				<description>CD RIP</description>
				<type>button</type>
				<id>378</id>
				<posX>30</posX>
				<posY>335</posY>
				<label>CD RIP</label>
				<onleft>9</onleft>
				<onright>50</onright>
				<onup>9</onup>
				<ondown>2</ondown>
				<application>D:\Programme\Team MediaPortal\MediaPortal\plugins\myCDRip\mycdrip.exe</application> 
				<arguments>-cddbchoice -auto -format="mp3" -bitrate="192" -pathtoenc="d:\media\audio" -filename="\%ARTIST%\%ALBUM%\%TRACKNB% - %TRACKNAME%"</arguments>

in the mycdrip.ini you can assign key and background picture.

thats it!

Enjoy ;-)

regards
 

usbrit

Portal Member
April 22, 2004
44
0
Oliver-h,
I don't understand this part:
I added the button in mymusicxxxx.xml.

Code:


<control>
<description>CD RIP</description>
<type>button</type>
<id>378</id>
<posX>30</posX>
<posY>335</posY>
<label>CD RIP</label>
<onleft>9</onleft>
<onright>50</onright>
<onup>9</onup>
<ondown>2</ondown>
<application>D:\Programme\Team MediaPortal\MediaPortal\plugins\myCDRip\mycdrip.exe</application>
<arguments>-cddbchoice -auto -format="mp3" -bitrate="192" -pathtoenc="d:\media\audio" -filename="\%ARTIST%\%ALBUM%\%TRACKNB% - %TRACKNAME%"</arguments>
Can you explain what how you add the button and where it appears?
usbrit
 

Olivier-h

Portal Pro
September 18, 2004
80
0
kk mymusicxxx.xml mean : let say you want this button shown in album view, then edit mymusicalbum.xml
in mymusicalbums (mce) edit:
Code:
[...]
<control>
				<description>Search button</description>
				<type>button</type>
				<id>8</id>
				<posX>60</posX>
				<posY>233</posY>
				<label>137</label>
				<onleft>8</onleft>
				<onright>50</onright>
				<onup>7</onup>
				<ondown>10</ondown>
			</control>
			<control>
				<description>Eject Disc</description>
				<type>button</type>
				<id>10</id>
				<posX>60</posX>
				<posY>267</posY>
				<label>654</label>
				<onleft>10</onleft>
				<onright>50</onright>
				<onup>8</onup>
				<ondown>9</ondown>
				<action>100</action>
			</control>
			<control>
				<description>Recently played/All albums button</description>
				<type>button</type>
				<id>9</id>
				<posX>60</posX>
				<posY>301</posY>
				<label>358</label>
				<onleft>9</onleft>
				<onright>50</onright>
				<onup>10</onup>
				[color=red]<ondown>378</ondown>[/color]
			</control>
[color=green]<control> 
<description>CD RIP</description> 
<type>button</type> 
<id>378</id> 
<posX>30</posX> 
<posY>335</posY> 
<label>CD RIP</label> 
<onleft>9</onleft> 
<onright>50</onright> 
<onup>9</onup> 
<ondown>2</ondown> 
<application>D:\Programme\Team MediaPortal\MediaPortal\plugins\myCDRip\mycdrip.exe</application> 
<arguments>-cddbchoice -auto -format="mp3" -bitrate="192" -pathtoenc="d:\media\audio" -filename="\%ARTIST%\%ALBUM%\%TRACKNB% - %TRACKNAME%"</arguments> 
</control>
[/color]
</control>

this put a new button, under the others.
the redmarked <on down> tag must be changed as shown, so the new button get active wenn pressing down on played/All albums button.


Is your question answered ?

regards[/code]
 

Molokoids

Portal Pro
April 22, 2004
156
1
Just tested, works nicely. I really like the possibility of parametering encoder, bitrate and genre with remote friendly action.

This should be a plugin of MediaPortal ! :)

Anyone knows the author, he gives the sources of his program (in pascal I think) so maybe he's interested in Open Source and Media Portal. We should contatc him to see if an integration in MP is possible and if he wants to do it.

In any case with a proper background, font, this is allready a nice addition to Mediaportal.
 

Olivier-h

Portal Pro
September 18, 2004
80
0
The author seems to be no more active , his last post on myhtpc forum is from July,. I sent him 2 e-mails, but he didn't even read them.

I also spoke with frodo, who means he wants to programm an own plugin, but in the meantime, I think mycdrip will just be fine ;)
 

Molokoids

Portal Pro
April 22, 2004
156
1
Olivier-h said:
The author seems to be no more active , his last post on myhtpc forum is from July,. I sent him 2 e-mails, but he didn't even read them.

Too bad.

Olivier-h said:
I also spoke with frodo, who means he wants to programm an own plugin, but in the meantime, I think mycdrip will just be fine ;)

Too good :) Really a great news.

Little bug with mycdrip. I don't know if you have this one, when the application is launched I'm able to change the bitrate and the type of encoding (ogg, mp3) but when I change the genre the files are ripped in the first genre chosen at startup (with or without cddbchoice).

And also, that's weird when mportal is running mycdrip doesn't show any tracks...
 
A

Anonymous

Guest
Hi all,
Well, i'm the developper of myCDRip (sorry for my bad english, i'm a french user :))
I'm really sorry for the unanswered mail, forgive me.

I can give you the complete source of myCDRip, it's free and GPL licenced.
I've coded this plugin in delphi language, but sadly i'm very busy in my work and i can't maintain anymore the job.

the link for the source code is :
http://cyberbobjr.free.fr/myCDRip_sources.zip

But beware, i'm not a professionnal, the code is bad, ugly and undocumented.
But i can help you as max as i can....

Bye.
cyb
 

Olivier-h

Portal Pro
September 18, 2004
80
0
Hey! You're Alive ;)

Bonjour!

I had the problem with the tracks but with the cvs release no more.

@cyberbobjr : I'm very glad to see you're still alive and want me to thank you for your tool. (Je suis content de voir que tu es tjrs present et te remercie pour ce precieux petit utilitaire)
Je me disais juste que, probablement, tu serais la personne la mieux placee pour integrer rapidement ton utilitaire, mais bon, comme tu n'a pas le temps :/. Merci quand meme d'avoir repondu!
Molokoids: no idea ^^
Hopefuly we will find some1 that do the job :)
 

dragon123

Portal Member
October 17, 2005
5
0
How can I release the CD drive???

I tried to install mycdrip with mediaportal [0.2.0] and then I tried with the latest CVS. It doesn't work, it would seem that mediaportal is keeping the CD drive and not releasing it. So mycdrip cannot access it.

Mycdrip doesn't work well on my windows XP: it rips the 1st song, then skips all the other one and write 0kb files... odd

Anyone with the same problem???

Thanks.
 

Users who are viewing this thread

Similar threads

  • Locked
!!! THIS PAGE IS INTENDED FOR SKINNERS !!! FIRST OF ALL A BIG THANKS TO OUR USER AND DESIGN TEAM MEMBER POG, WHO HELPED WITH HIS INCREDIBLE PATIENCE AND UNBEATABLE KNOWLEDGE OF THE MOST INTELLIGENT USE OF THE MEDIAPORTAL SKIN EXPRESSIONS TO MAKE THIS VERSATILE SKIN EDITOR COME TRUE!!! Where to start? For designing a BasicHome...
!!! THIS PAGE IS INTENDED FOR SKINNERS !!! FIRST OF ALL A BIG THANKS TO OUR USER AND DESIGN TEAM MEMBER POG, WHO HELPED WITH HIS...
!!! THIS PAGE IS INTENDED FOR SKINNERS !!! FIRST OF ALL A BIG THANKS TO OUR USER AND DESIGN TEAM MEMBER POG, WHO HELPED WITH HIS...
Replies
0
Views
2K
  • Sticky
I've managed to successfully add some extra buttons onto my 2nd page for Steam and Emulation Station but I really can't figure out how to add the background image for when they are highlighted. Can anyone give me some pointers?
I've managed to successfully add some extra buttons onto my 2nd page for Steam and Emulation Station but I really can't figure out...
Hello MediaPortal friends! I'm proud to present a new skin, named TITANIUS. TITANIUS is a skin based on Titan, one of the new...
Replies
721
Views
107K
The position inside the xml was not the problem, I only did that to have all buttons in the same group. The problem were the numbers. e.g. for the clickfinder button <onleft>213</onleft> <onright>221</onright> <onup>220</onup> <ondown>220</ondown> these numbers say: When you press "left" go to the element with the ID 213 -> play...
The position inside the xml was not the problem, I only did that to have all buttons in the same group. The problem were the...
Hello community, i will have a button in the tvosd to click it and go to the clickfinder site for more infos. Befor mp 1.4 it...
Replies
7
Views
1K
Added to jira: https://issues.team-mediaportal.com/browse/MP1-4087
Added to jira: https://issues.team-mediaportal.com/browse/MP1-4087
MediaPortal Version: 1.4.0 Description And 1.4 also If you setup a field that may receive focus and has an <onfocus> handler...
Replies
3
Views
865
mhhh, so it works!
mhhh, so it works!
Ok this has been doing my head in. Im not sure what I am missing here but some help would be great. So I created a xml named...
Replies
5
Views
1K
Top Bottom