playlist2csv
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Converts JRiver playlists (*.mpl) to CSV format
playlist2csv
============

This script parses an `xml` (`.mpl`) file created JRiver MediaCenter to produce a `CSV` file listing the `Artist` and `Name` of each track only. This is useful if your want to import the salient details of a compilation into a labelling (report creation) program.

Usage
-----

    playlist2csv  

Dependencies
------------

    - Hpricot
    - FasterCSV
  
Example
-------

Given an .mpl playlist looking like:

      
      
        
          Z:\music\Electronica\Assorted\The Radioactive Tribute to Kraftwerk\08_Hikashu_Radio Activity.mp3
          Hikashu
          The Radioactive Tribute to Kraftwerk
          Radio Activity
          mp3
          Electronica
          37257
          192
          http://192.168.1.40:10/GetArt?Key=34847
          Audio
          1282979476
          10360832
          431
          21
          8
          1140420453
          1140594160
          1140427848
          -12.3097200393676758
          1
          4
          117
          (Multiple Artists)
          274671
          -10.5176105499267578
          1
          1
          44100
          2
          16
          CBR (MPEG-1 Layer 3)
          Yes
          3
          1247411370
          <XMLPH version="1.0"><Item Name="LastFailedDate">40189.91726</Item>
          </XMLPH>
          m01p://192.168.1.40:10/
        
        
          Z:\music\Reggae\Suns of Arqa\Solar Activity 1979-2001\00_Suns of Arqa_The Sky Shall Vanish.mp3
          Suns of Arqa
          Solar Activity 1979-2001
          The Sky Shall Vanish
          mp3
          Reggae
          36892
          groov[E]mission
          192
          Audio
          1278177330
          8290304
          345
          16
          1130141420
          1130202796
          1130144876
          -12.4262895584106446
          1
          2
          98
          154105
          -11.855722427368164
          44100
          2
          16
          CBR (MPEG-1 Layer 3)
          Yes
          Yes
          3
          1282979134
          <XMLPH version="1.0"><Item Name="LastFailedDate">40191.84757</Item>
          </XMLPH>
          m01p://192.168.1.40:10/
        
      
      
the `playlist2csv` script will output:

    Artist,Name
    Hikashu,Radio Activity
    Suns of Arqa,The Sky Shall Vanish
    

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。