home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Patch: MusicImport/mp3: Small fixes and enhancements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="scoop" data-source="post: 26856" data-attributes="member: 10498"><p>Hi,</p><p></p><p>I know it's not even a 24 hours ago since the music import feature has been added to current CVS, but since I'm in need of this functionality I started testing with it right away <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>The file names and directory names created by the music import feature are derived from the album info / metadata from the inserted CD. Some times, the album information may contain characters which cannot be used as file and directory names. If this is the case, then nothing happens. Nothing happens, because the try/catch block which saves a track to MP3 doesn't do anything with a generated exception.</p><p></p><p>To work around this problem, I've added a function to MusicImport.cs which filters out those invalid characters from the variables used to created the file names and directory names. During debugging I also added a Log.Write() in the catch-part for saving a track.</p><p></p><p>The patch is submitted @ sourceforge <a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1366964&group_id=107397&atid=647927" target="_blank">here</a>.</p><p></p><p>Kind regards,</p><p>Michel</p></blockquote><p></p>
[QUOTE="scoop, post: 26856, member: 10498"] Hi, I know it's not even a 24 hours ago since the music import feature has been added to current CVS, but since I'm in need of this functionality I started testing with it right away :) The file names and directory names created by the music import feature are derived from the album info / metadata from the inserted CD. Some times, the album information may contain characters which cannot be used as file and directory names. If this is the case, then nothing happens. Nothing happens, because the try/catch block which saves a track to MP3 doesn't do anything with a generated exception. To work around this problem, I've added a function to MusicImport.cs which filters out those invalid characters from the variables used to created the file names and directory names. During debugging I also added a Log.Write() in the catch-part for saving a track. The patch is submitted @ sourceforge [url=http://sourceforge.net/tracker/index.php?func=detail&aid=1366964&group_id=107397&atid=647927]here[/url]. Kind regards, Michel [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Patch: MusicImport/mp3: Small fixes and enhancements
Contact us
RSS
Top
Bottom