MYCDrip integration in MP -Works with latest 2809 CVS Rele

Discussion in 'Tips and Tricks' started by Olivier-h, September 29, 2004.

  1. Olivier-h

    Olivier-h Portal Pro

    Joined:
    September 18, 2004
    Messages:
    80
    Likes Received:
    0
    Ratings:
    +0 / 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

    [​IMG]




    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 (Text):
    1.  
    2. <?xml version="1.0" encoding="UTF-8"?>
    3. <Configuration Version="21">
    4.     <General>
    5.         <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">
    6.             <DefaultTheme BackgroundColor="" BackgroundFile="">
    7.                 <TitleFont Name="Arial Black" Size="30" Style="">
    8.                     <FontColor A="255" R="255" G="255" B="255"/>
    9.                 </TitleFont>
    10.                 <SubTitleFont Name="Arial" Size="20" Style="">
    11.                     <FontColor A="255" R="255" G="255" B="255"/>
    12.                 </SubTitleFont>
    13.                 <FooterFont Name="Arial Black" Size="16" Style="">
    14.                     <FontColor A="255" R="255" G="255" B="255"/>
    15.                 </FooterFont>
    16.                 <MainMenuFont Name="Arial Black" Size="20" Style="">
    17.                     <FontColor A="255" R="255" G="255" B="255"/>
    18.                 </MainMenuFont>
    19.                 <SubMenuFont Name="Arial Black" Size="18" Style="">
    20.                     <FontColor A="255" R="255" G="255" B="255"/>
    21.                 </SubMenuFont>
    22.                 <CaptionFont Name="Arial Black" Size="16" Style="">
    23.                     <FontColor A="255" R="255" G="255" B="255"/>
    24.                 </CaptionFont>
    25.                 <FrameColor A="127" R="255" G="255" B="255"/>
    26.                 <SelectedFrameColor A="204" R="0" G="128" B="0"/>
    27.             </DefaultTheme>
    28.         </Display>
    29.         </General>
    30. </Configuration>
    31.  
    .

    Unzip, install mycdrip in your plugin directory.

    I added the button in mymusicxxxx.xml.

    Code (Text):
    1.  
    2.  
    3. <control>
    4.                 <description>CD RIP</description>
    5.                 <type>button</type>
    6.                 <id>378</id>
    7.                 <posX>30</posX>
    8.                 <posY>335</posY>
    9.                 <label>CD RIP</label>
    10.                 <onleft>9</onleft>
    11.                 <onright>50</onright>
    12.                 <onup>9</onup>
    13.                 <ondown>2</ondown>
    14.                 <application>D:\Programme\Team MediaPortal\MediaPortal\plugins\myCDRip\mycdrip.exe</application>
    15.                 <arguments>-cddbchoice -auto -format="mp3" -bitrate="192" -pathtoenc="d:\media\audio" -filename="\%ARTIST%\%ALBUM%\%TRACKNB% - %TRACKNAME%"</arguments>
    16.  
    in the mycdrip.ini you can assign key and background picture.

    thats it!

    Enjoy ;-)

    regards
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. usbrit

    usbrit Portal Member

    Joined:
    April 22, 2004
    Messages:
    44
    Likes Received:
    0
    Ratings:
    +0 / 0
    Oliver-h,
    I don't understand this part:
    Can you explain what how you add the button and where it appears?
    usbrit
     
  4. Olivier-h

    Olivier-h Portal Pro

    Joined:
    September 18, 2004
    Messages:
    80
    Likes Received:
    0
    Ratings:
    +0 / 0
    kk mymusicxxx.xml mean : let say you want this button shown in album view, then edit mymusicalbum.xml
    in mymusicalbums (mce) edit:
    Code (Text):
    1.  
    2. [...]
    3. <control>
    4.                 <description>Search button</description>
    5.                 <type>button</type>
    6.                 <id>8</id>
    7.                 <posX>60</posX>
    8.                 <posY>233</posY>
    9.                 <label>137</label>
    10.                 <onleft>8</onleft>
    11.                 <onright>50</onright>
    12.                 <onup>7</onup>
    13.                 <ondown>10</ondown>
    14.             </control>
    15.             <control>
    16.                 <description>Eject Disc</description>
    17.                 <type>button</type>
    18.                 <id>10</id>
    19.                 <posX>60</posX>
    20.                 <posY>267</posY>
    21.                 <label>654</label>
    22.                 <onleft>10</onleft>
    23.                 <onright>50</onright>
    24.                 <onup>8</onup>
    25.                 <ondown>9</ondown>
    26.                 <action>100</action>
    27.             </control>
    28.             <control>
    29.                 <description>Recently played/All albums button</description>
    30.                 <type>button</type>
    31.                 <id>9</id>
    32.                 <posX>60</posX>
    33.                 <posY>301</posY>
    34.                 <label>358</label>
    35.                 <onleft>9</onleft>
    36.                 <onright>50</onright>
    37.                 <onup>10</onup>
    38.                 [color=red]<ondown>378</ondown>[/color]
    39.             </control>
    40. [color=green]<control>
    41. <description>CD RIP</description>
    42. <type>button</type>
    43. <id>378</id>
    44. <posX>30</posX>
    45. <posY>335</posY>
    46. <label>CD RIP</label>
    47. <onleft>9</onleft>
    48. <onright>50</onright>
    49. <onup>9</onup>
    50. <ondown>2</ondown>
    51. <application>D:\Programme\Team MediaPortal\MediaPortal\plugins\myCDRip\mycdrip.exe</application>
    52. <arguments>-cddbchoice -auto -format="mp3" -bitrate="192" -pathtoenc="d:\media\audio" -filename="\%ARTIST%\%ALBUM%\%TRACKNB% - %TRACKNAME%"</arguments>
    53. </control>
    54. [/color]
    55. </control>
    56.  
    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]
     
  5. Molokoids

    Molokoids Portal Pro

    Joined:
    April 22, 2004
    Messages:
    156
    Likes Received:
    1
    Ratings:
    +1 / 0
    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.
     
  6. Olivier-h

    Olivier-h Portal Pro

    Joined:
    September 18, 2004
    Messages:
    80
    Likes Received:
    0
    Ratings:
    +0 / 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 ;)
     
  7. Molokoids

    Molokoids Portal Pro

    Joined:
    April 22, 2004
    Messages:
    156
    Likes Received:
    1
    Ratings:
    +1 / 0
    Too bad.

    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...
     
  8. Anonymous

    Anonymous Guest

    Ratings:
    +0 / 0
    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
     
  9. Olivier-h

    Olivier-h Portal Pro

    Joined:
    September 18, 2004
    Messages:
    80
    Likes Received:
    0
    Ratings:
    +0 / 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 :)
     
  10. dragon123

    dragon123 Portal Member

    Joined:
    October 17, 2005
    Messages:
    5
    Likes Received:
    0
    Ratings:
    +0 / 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.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!