DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: techidave on July 11, 2010, 06:05 PM

Title: print listing of music titles
Post by: techidave on July 11, 2010, 06:05 PM
I thought this had been mentioned before on DC but couldn't find anything by searching today. 

i have copied quite a few cds to my hard drive.  they are all located in folders under My Music (XP) usually under another folder with the cds name.

I am looking for something that would scan the My Music folder for the song titles and then list them along with the path of the title.

Does anyone know of a software that already exists for this or maybe a coding snack to fit the bill?
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 07:05 PM
1) By "song titles", you mean the contents of the audio file's title tag (ID3v1/2 or APEv2), right?
2) By "path of the title", you mean the path of the audio file itself, right?
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 07:14 PM
by song titles I mean whatever the file name is and the path would be the folder path.

like this:

a song could be called "homeontherange.wma" (or mp3 it doesn't matter.  it is in a folder like c:\user\documents and settings\my documents\my music\american ballads\homeontherange.wma

I am looking for something that scans the my music folder for all song titles or filenames and then reports in a alphabetical listing by song title or file name and then in another column it would report the folder it is stored in like american ballads.

I hope this clarifies your question.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 07:22 PM
the complete path wouldn't really be necessary but if that is the only way then thats that.   :P

The reason for this request is this.  the church laptop as 15 or 20 folders that I have copied cds to.  Since we sometimes sing songs from these cs, I need a way to find them quickly.  So hence the request for something to scan a certain directory reporting the names of the songs, title or whatever.  sometimes they will have Track 01, Track 02, etc.  And sometimes they will be in sub folders like My Music\american ballad\american ballad\homeontherange.wma
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 07:26 PM
You just want audio files listed, right?  So, anything with the following extensions:

AIFF, AIF, AIFC, MP1, MP2, MP3, OGA, OGG, WAV, MO3, XM, MOD, S3M, IT, MTM, FLAC, WMA, WMP, WMV, MID, MIDI, RMI, KAR, WV, WVC, AAC, MP4, M4A, M4B, M4P, APE, AC3, SPX, TTA, OFR, MPC, ALAC, SHN, TAK

That should cover most all audio formats I know.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 07:28 PM
works for me.
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 07:30 PM
Do you want to do anything with the list other than view it?  Double-click a row to launch Explorer at the path...or to launch the file in the default player, etc.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 07:34 PM
I was thinking either a view or print.  but now that you mention it to double click a listing and have it play the selection would be a nice feature.
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 07:46 PM
Please give this a try:

http://skwire.dcmembers.com/apps/snacks/FileParentView.zip

Double-click a row to run the file.

[ You are not allowed to view attachments ]
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 07:55 PM
Wow Skwire.  That was quick.  The program scans fast too. 

When I click on the filename column, it sorts by 01 xxx, 02 xxx, etc., instead of the name itself?

The double click works too! 

Do we have the option to shorten the path file name?
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 08:00 PM
When I click on the filename column, it sorts by 01 xxx, 02 xxx, etc., instead of the name itself?

Is the 01/02/03 part part of the filename?

Do we have the option to shorten the path file name?

Shorten it to what?  I can make it where you don't see that column if you'd like.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 08:01 PM
or can the track number be located to its own column to the left of the filename column?

it looks great!
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 08:02 PM
shorten it to show only the folders under or after the My Music folder and not the c:\docs and settings\user\my documents.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 08:03 PM
I am guess that the 01,02 is part of the file name.  could the sort be set to exclude the numbers?
Title: Re: print listing of music titles
Post by: skwire on July 11, 2010, 08:26 PM
or can the track number be located to its own column to the left of the filename column?

Unless your files are named in some sort of standard way, parsing out the track number could get ugly.  I'm guessing your files are not fully tagged, eh?  Reading and displaying tags, instead of relying on the filename, would make things MUCH easier for something like this.

shorten it to show only the folders under or after the My Music folder and not the c:\docs and settings\user\my documents.

Try the latest from the same URL.  You may have to clear your cache.  I also increased the scanning speed at the cost of some CPU usage.  I feel it's worth it and you may not even notice it.

I am guess that the 01,02 is part of the file name.  could the sort be set to exclude the numbers?

Not easily, no.
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 09:15 PM
no i haven't bothered to learn about tags yet so I don't use them,  i will try the latest version in a bit.

thanks skwire
Title: Re: print listing of music titles
Post by: techidave on July 11, 2010, 09:42 PM
I like the shortened path better since everything i copy is in the my music folder.

i guess i need to learn about tags.
Title: Re: print listing of music titles
Post by: skwire on July 12, 2010, 03:25 AM
So, is that second version okay?  If so, do we call this one done?   :D
Title: Re: print listing of music titles
Post by: techidave on July 12, 2010, 05:36 AM
as far as I can tell it is done, I won't have a chance to play with it much for a couple of days.  So unless a bug is found, it is done.

in the mean time I shall try to readup on tags also.
Title: Re: print listing of music titles
Post by: Curt on July 12, 2010, 10:29 AM
no i haven't bothered to learn about tags yet so I don't use them,

I didn't know it even was possible to record CDs WITHOUT tagging! If you use the default player to handle the recording of the CD, it will automatically tag the files (at least if you save in .wma or .mp3). Explorer will display the tags in "details"-view:

[ You are not allowed to view attachments ]


edited If Explorer only is showing the filenames, you will have to first right-click the "name-bar" and make your choices:

[ You are not allowed to view attachments ]

Most of these informations are purely based on the tags that Windows Media Player automatically has coded the files with.
Title: Re: print listing of music titles
Post by: techidave on July 12, 2010, 05:27 PM
English please Curt. :P  your screenshots are all greek to me :D

most of them were ripped with WMP.  I didn't record them just ripped them to my hard drive is all.
Title: Re: print listing of music titles
Post by: techidave on July 28, 2010, 05:49 AM
skwire,
two things I would like to see added to your program.

1.  the ability to save the result
2.  to export it to excel.

I don't know if these are possible or not.    :) :)
Title: Re: print listing of music titles
Post by: skwire on July 28, 2010, 06:07 AM
1.  the ability to save the result
2.  to export it to excel.

1) Did you want to be able to save lists manually or did you want the app to just automatically save/load the last list contents?
2) I can export to CSV format which you can then open in Excel.  Is that acceptable?
Title: Re: print listing of music titles
Post by: techidave on July 28, 2010, 06:40 AM
a manual save would be fine.

csv format is ok too!

thanks!
Title: Re: print listing of music titles
Post by: skwire on July 28, 2010, 06:56 AM
Here you go: http://skwire.dcmembers.com/apps/snacks/FileParentView.zip

Changes:
Title: Re: print listing of music titles
Post by: techidave on July 28, 2010, 06:58 AM
thanks!  credits coming  your way
Title: Re: print listing of music titles
Post by: Curt on August 29, 2011, 12:39 PM
a year later... I finally found an occasion to use FileParentView. Turned out that it was the older version; it was stable but will not Save. So I replaced it with the new version from July 2010. It will save but will not minimize; the minimize button will light up, but not do anything. I have to right-click the icon on the task-bar and use AnVir Task Manager > Minimize.

Is  this only happening to me, or does someone else have the same problem?

Vista 32-bits

Edited:
I forgot to say that merely clicking the icon in the task bar will do the trick,
-but the minimize button does not work here.
Title: Re: print listing of music titles
Post by: skwire on August 29, 2011, 12:56 PM
Works here for me.   :huh:
Title: Re: print listing of music titles
Post by: Curt on August 29, 2011, 04:24 PM
It was scanning 40.000 files.
Now, when the resulting file has been saved, it has no problem minimizing via the button.
Title: Re: print listing of music titles
Post by: skwire on August 29, 2011, 04:31 PM
That would be due to the fact that I didn't put any sort of sleep within the file-scanning loop.  In other words, I sacrificed GUI responsiveness for maximum speed.  That's not something I normally do but I felt it wouldn't be an issue for how techidave was using it.
Title: Re: print listing of music titles
Post by: Curt on August 29, 2011, 06:49 PM
well, now that I have learned how to use it, and have scanned 76,690 files, it won't be an issue for me either...
Title: Re: print listing of music titles
Post by: skwire on August 30, 2011, 07:59 AM
scanned 76,690 files

That's a good test.  =]
Title: Re: print listing of music titles
Post by: Curt on September 11, 2011, 09:07 AM
I am looking for something that would scan the My Music folder for the song titles and then list them along with the path of the title.

-one should also know about Directory List & Print, http://www.infonautics.ch/directorylistprint/ ; both a free and a $20/€15 Pro version. For any file type, and with more options.