cjcodeproj / musicscan

Python code to examine music files and extract metadata
MIT License
0 stars 0 forks source link

XML tag spacing match #35

Closed cjcodeproj closed 2 weeks ago

cjcodeproj commented 1 month ago

The closing tags for song/title, song/technical, and song do not properly line up.

The song/catalog element may have an issue as well.

cjcodeproj commented 2 weeks ago

Sample Data

Song entry with a catalog

 <elements>
  <song id='foi01'>
   <title>
    <main>For Once In My Life</main>
  </title>
  <catalog>
   <artists>
    <artist><unkn>Dionne Farris</unkn></artist>
   </artists>
   </catalog>
   <technical>
    <studioRecording/>
    <runtime>
      <overall>PT3M27.82S</overall>
    </runtime>
  </technical>
 </song>
  <song id='c01'>

Song entry without a catalog

 <elements>
  <song id='tos01'>
   <title>
    <main>The Other Side (Extended Club Mix)</main>
  </title>
<!-- EDIT FLAGS: missing_copyright_year detected_parenthesis  -->
   <technical>
    <studioRecording/>
    <runtime>
      <overall>PT7M3.69S</overall>
    </runtime>
  </technical>
 </song>
  <song id='tfw01'>
cjcodeproj commented 2 weeks ago

Summary

cjcodeproj commented 2 weeks ago

More

cjcodeproj commented 2 weeks ago

Commit:

https://github.com/cjcodeproj/musicscan/commit/c542e5108cda882a7559f08fac89d68c81b17646

cjcodeproj commented 2 weeks ago

Closing Notes