2 CD Text Track Listing


#1

I can figure out how to create a Track listing. But I cant figure out how to sort it when an Album has 2CD's. I am using 2 Pac - All Eyez On Me Book 1 & 2 in my example...

Here is what I have:

$filename(txt)$loop(%album%) %track%. %title%
$loopend()

It produces:

  1. Ambitionz Az A Ridah
  2. All Bout U
  3. Skandalouz
  4. Got My Mind Made Up
  5. How Do U Want It
  6. 2 Of Amerikaz Most Wanted
  7. No More Pain
  8. Heartz Of Men
  9. Life Goes On
  10. Only God Can Judge Me
  11. Tradin War Stories
  12. California Love (Remix)
  13. I Ain't Mad At Cha
  14. What'z Ya Phone #
  15. Can't C Me
  16. Shorty Wanna Be A Thug
  17. Holla At Me
  18. Wonda Why They Call U Bytch
  19. When We Ride
  20. Thug Passion
  21. Picture Me Rollin'
  22. Check Out Time
  23. Ratha Be Ya Nigga
  24. All Eyez On Me
  25. Run Tha Streetz
  26. Ain't Hard 2 Find
  27. Heaven Ain't Hard 2 Find

I would like it to produce: (using the Album Name, a space, then the track list) (All the files are in one folder.)

All Eyez On Me Book 1

  1. Ambitionz Az A Ridah
  2. All Bout U
  3. Skandalouz
  4. Got My Mind Made Up
  5. How Do U Want It
  6. 2 Of Amerikaz Most Wanted
  7. No More Pain
  8. Heartz Of Men
  9. Life Goes On
  10. Only God Can Judge Me
  11. Tradin War Stories
  12. California Love (Remix)
  13. I Ain't Mad At Cha
  14. What'z Ya Phone #

All Eyez On Me Book 2

  1. Can't C Me
  2. Shorty Wanna Be A Thug
  3. Holla At Me
  4. Wonda Why They Call U Bytch
  5. When We Ride
  6. Thug Passion
  7. Picture Me Rollin'
  8. Check Out Time
  9. Ratha Be Ya Nigga
  10. All Eyez On Me
  11. Run Tha Streetz
  12. Ain't Hard 2 Find
  13. Heaven Ain't Hard 2 Find

Thanks in advance :slight_smile:


#2

Ok here is what I did:

$filename(txt)$loop(%album%,1)$puts(album,$add($get(album),1))$loopend()$ifgreater($get(album),1,$loop(%album%,1)%album%
$loop(%track%) %track%. %title%
$loopend()
$loopend(),$loop(%album%,1)%album%$loopend())

It only works with a 2 disc cd that have all the files in one directory. What I did was actually cheat. I went into the great export that Milka created here: Milka's Export (2.92 KB) and stripped out the html script. After about an hour n a half of trial n error I got it in the shape above.

It can be found in this thread:
html_milka_simple_album_overview

I am not sure if it is technically correct. But it works. If I try it on just a single cd listing it only produces the Album Title without the track listings. But with a folder that has 2 disc cd in it, it works as per above post.

For a single cd I use this one:

$filename(txt)$loop(%album%,1)$puts(album,$add($get(album),1))$loopend()$ifgreater($get(album),1,$loop(%album%,1)%album%|$loopend(),$loop(%album%,1)%album%$loopend())
$loop(%track%) %track%. %title%
$loopend()

If someone knows the script better than I do, feel free to point out any errors or post a better one :slight_smile: