KARAOKE SCENE MAGAZINE ONLINE! - Software - make a list of all mids and kars Public Forums Karaoke Discussions Karaoke Scene's Karaoke Forums Home | Contact Us | Site Map  

Karaoke Forums

Karaoke Scene Karaoke Forums

Karaoke Scene

   
  * Login
  * Register

  * FAQ
  * Search

Custom Search

Social Networks


wordpress-hosting

Offsite Links


It is currently Fri Jan 24, 2025 3:42 pm

All times are UTC - 8 hours





Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Jul 06, 2009 2:05 am 
Offline
newbie
newbie

Joined: Mon Jul 06, 2009 1:59 am
Posts: 4
Been Liked: 0 time
Hello,
I have MANY karaoke files. I would like to make an ordered list of all the songs, at least ordered by author.

Then I would like to print this list, so that people can choose by author the song they want.

Is there a fast way to achieve this?
Thanks


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 4:46 am 
Offline
Novice Poster
Novice Poster

Joined: Sat Jun 20, 2009 1:47 pm
Posts: 28
Been Liked: 0 time
Other than typing in all the tracks into an microsoft excel sheet (or similar) then printing I have no idea. Either way, it is likely to be a long laborious job.


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 5:52 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Tue Apr 04, 2006 9:24 pm
Posts: 5576
Location: Cocoa Beach
Been Liked: 122 times
utnalove @ Mon Jul 06, 2009 5:05 am wrote:
Hello,
I have MANY karaoke files. I would like to make an ordered list of all the songs, at least ordered by author.

Then I would like to print this list, so that people can choose by author the song they want.

Is there a fast way to achieve this?
Thanks

I just write a script using the "find" command. But I am a programmer.

You can get Latshaw's Song List Generator and it will do things like that. Though I am not sure about kar and mid files. No one here really deals with those much.

_________________
[color=#ffff55]Mickey J.[/color]
Alas for those who never sing, but die with all their music in them.
-- Oliver Wendell Holmes, Sr.


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 6:33 am 
Offline
newbie
newbie

Joined: Mon Jul 06, 2009 1:59 am
Posts: 4
Been Liked: 0 time
And what do you use instead of .mid and .kar?

Do you share the script or you keep it private?


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 6:37 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Tue Apr 04, 2006 9:24 pm
Posts: 5576
Location: Cocoa Beach
Been Liked: 122 times
utnalove @ Mon Jul 06, 2009 9:33 am wrote:
And what do you use instead of .mid and .kar?

Do you share the script or you keep it private?

I would share it, but it uses Perl and find and not 1 of 100 people has the ability to run it. I could obviously modify it to handle .kar and .mid -- it looks for .zip right now.

_________________
[color=#ffff55]Mickey J.[/color]
Alas for those who never sing, but die with all their music in them.
-- Oliver Wendell Holmes, Sr.


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 6:43 am 
Offline
newbie
newbie

Joined: Mon Jul 06, 2009 1:59 am
Posts: 4
Been Liked: 0 time
My specialization is Networking, but I think I can make it run.

What does this script do? Makes the list from the filename or from the informations about author and title inside the files?


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 6:57 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Tue Apr 04, 2006 9:24 pm
Posts: 5576
Location: Cocoa Beach
Been Liked: 122 times
utnalove @ Mon Jul 06, 2009 9:43 am wrote:
My specialization is Networking, but I think I can make it run.

You can if you install Cygwin or maybe perl. Not otherwise.

First of all, it relies on the files being named consistently. The standard in mp3+g files, at least the most common one, is

DD1234-01 - Artist, The - Title, The.zip

It's as simple as:

cd /karaoke
find . -name '*.zip' | perl -pe 's:.*/::; s/\.zip$//; s/ - /\t/;'

An all-perl version would be:

Code:
#!/usr/bin/perl

    use File::Find;

    my $wanted = sub {
        return unless -f $_;
        s/\.(zip|kar|mid)$//i or return;
        s/ - /\t/g;
        print "$_\n";
    };

    my $dir = shift || '.';

    File::Find::find($wanted, $dir);


You can install Strawberry Perl pretty easily (it's free, search Google).

_________________
[color=#ffff55]Mickey J.[/color]
Alas for those who never sing, but die with all their music in them.
-- Oliver Wendell Holmes, Sr.


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 06, 2009 7:01 am 
Offline
Super Plus Poster
Super Plus Poster
User avatar

Joined: Mon May 28, 2007 10:11 am
Posts: 1832
Location: TX
Been Liked: 59 times
If all your files are in one folder and the artist (author) is the first name n the file you could use a simple directory print program. There are lots of free ones on the web.

If that didn't fit the your needs I agree with Latshaw's songbook generator but then again you have to have them named properly.

_________________
I like everyone when I first meet them. If you don't like me that's not my problem it's YOURS!
A stranger is a friend you haven't met yet


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 13, 2009 5:18 am 
Offline
newbie
newbie

Joined: Mon Jul 06, 2009 1:59 am
Posts: 4
Been Liked: 0 time
mckyj57 @ Mon Jul 06, 2009 3:57 pm wrote:
utnalove @ Mon Jul 06, 2009 9:43 am wrote:

cd /karaoke
find . -name '*.zip' | perl -pe 's:.*/::; s/\.zip$//; s/ - /\t/;'


You can install Strawberry Perl pretty easily (it's free, search Google).


Hello,
I have just installed strawberry perl...

This is the command and error that I am getting:

Code:
C:\Documents and Settings\me\My Documents\downloads\test>find . -name '*.zip' | C:\strawberry\perl\bin\perl.exe -pe 's:.*/::; s/\.zip$//; s/ - /\t/;'
Can't find string terminator "'" anywhere before EOF at -e line 1.
File not found - '*.zip'


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 13, 2009 5:32 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Tue Apr 04, 2006 9:24 pm
Posts: 5576
Location: Cocoa Beach
Been Liked: 122 times
utnalove @ Mon Jul 13, 2009 8:18 am wrote:
mckyj57 @ Mon Jul 06, 2009 3:57 pm wrote:
utnalove @ Mon Jul 06, 2009 9:43 am wrote:

cd /karaoke
find . -name '*.zip' | perl -pe 's:.*/::; s/\.zip$//; s/ - /\t/;'


You can install Strawberry Perl pretty easily (it's free, search Google).


Hello,
I have just installed strawberry perl...

This is the command and error that I am getting:

Code:
C:\Documents and Settings\me\My Documents\downloads\test>find . -name '*.zip' | C:\strawberry\perl\bin\perl.exe -pe 's:.*/::; s/\.zip$//; s/ - /\t/;'
Can't find string terminator "'" anywhere before EOF at -e line 1.
File not found - '*.zip'

You don't have the "find" command unless you have Cygwin or the equivalent. You are going to have to use my self-contained script.

_________________
[color=#ffff55]Mickey J.[/color]
Alas for those who never sing, but die with all their music in them.
-- Oliver Wendell Holmes, Sr.


Top
 Profile Singer's Showcase Profile 
 
PostPosted: Mon Jul 13, 2009 8:38 am 
Offline
Super Poster
Super Poster

Joined: Tue Jan 24, 2006 7:34 pm
Posts: 1227
Location: Completely Lost
Been Liked: 15 times
If you still haven't got this sorted out I would be happy to help. You can get a list of files by using the command line interface in windows.
Start->Run type ""command or "cmd"
if your files are in many different directories type
cd\ <enter>
dir *.mid /s /b>mid.txt <enter>
this will give you a listing of all midi files on your computer in a file called mid.txt
if you have them all in one directory, navigate to that directory and then type:
dir *.mid /b>mid.txt
do the same thing with the kar files but instead of *.mid make it *.kar and of course the output file should be named kar.txt.

Attach these two files to an e-mail and shoot it my way along of an example of what you would like the result to look like. Use "Karaoke" as the subject so I don't delete it as junk. My e-mail address is outintheweeds-AT-hotmail.com and I'll send them back in your format. Or I'll give it a shot anyway.

_________________
Okay, who took my pants?


Top
 Profile Singer's Showcase Profile 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 390 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Powered by phpBB® Forum Software © phpBB Group

Privacy Policy | Anti-Spam Policy | Acceptable Use Policy Copyright © Karaoke Scene Magazine
design & hosting by Cross Web Tech