Add .asx redirections to Library during scan
#1
I have a very large music library, and so in order to keep some semblance of control over its size, I use .asx files to link duplicated tracks in other albums.

For instance, "Methods of Dance" by Japan originally appeared on the album "Gentlement Take Polaroids", but was also featured on the 'best of' album "Exorcising Ghosts".

So, in the ../Japan/Gentlemen Take Polaroids/ folder I have the flac file:

5. Methods of Dance - Japan.flac

and in the ../Japan/Exorcising Ghosts/ folder I have a .asx file, thusly:

1. Methods of Dance - Japan.asx

Code:
<ASX version = "3.0">
  <PARAM NAME = "Encoding" VALUE = "utf-8" />
  <TITLE>MediaMonkey redirection file</TITLE>
  <ABSTRACT>Generated by Track Redirection script</ABSTRACT>
  <COPYRIGHT>(c)2009 Zvezdan Dimitrijevic</COPYRIGHT>
  <ENTRY>
    <REF HREF = "D:\albums\J\Japan\Gentlemen Take Polaroids\5. Methods of Dance - Japan.flac" />
    <TITLE>Methods of Dance</TITLE>
    <AUTHOR>Japan</AUTHOR>
    <PARAM NAME = "WM/AlbumTitle" VALUE = "Exorcising Ghosts" />
    <PARAM NAME = "WM/AlbumArtist" VALUE = "Japan" />
    <PARAM NAME = "WM/TrackNumber" VALUE = "1" />
    <PARAM NAME = "Length" VALUE = "414787" />
    <PARAM NAME = "WM/Genre" VALUE = "New Wave" />
    <PARAM NAME = "Added" VALUE = "2009-09-09 16:51:42" />
    <PARAM NAME = "Custom 5" VALUE = "0000 NR XXXXXXXXXX 0 AutoRateAccurate 06" />
    <PARAM NAME = "Channels" VALUE = "1" />
    <PARAM NAME = "Description" VALUE = "EAC FLAC -8-oan" />
    <PARAM NAME = "Encoder" VALUE = "reference libFLAC 1.2.1 20070917" />
    <PARAM NAME = "IsVBR" VALUE = "0" />
    <PARAM NAME = "WM/Publisher" VALUE = "Virgin Records" />
    <PARAM NAME = "WM/Year" VALUE = "1985" />
    <PARAM NAME = "Played #" VALUE = "1" />
    <PARAM NAME = "Last Played" VALUE = "2009-09-09 18:19:44" />
    <BANNER HREF = "folder.jpg">
      <PARAM NAME = "Item Storage" VALUE = "1" />
      <PARAM NAME = "Item Type" VALUE = "3" />
    </BANNER>
  </ENTRY>
</ASX>

(This file is created automatically for me by a MediaMonkey add-on, but it could as easily be hand-coded.)

I've added the following to my advancedsettings.xml:

Code:
<musicextensions>
  <add>.asx</add>
</musicextensions>

If I use Files Mode in XBMC and navigate to this file, XBMC will play it with no problems at all but a Library Scan doesn't add the file to the Library, leaving gaps in albums with .asx redirections, and ignoring completely albums made up entirely of .asx redirections.

So, finally - my request! Can XBMC scan .asx files and, using the parameters contained therein, add them to the Library so they will: a) appear in Library Mode as tracks, and b) be able to be queued, played, etc.?

(MediaMonkey handles this very well...)
Reply

Logout Mark Read Team Forum Stats Members Help
Add .asx redirections to Library during scan0