Announcement

Collapse
No announcement yet.

small fp feature request - album art modification

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • small fp feature request - album art modification

    this may very well be a noob dos question, or perhaps a small feature request for the next take on frodoplayer:

    i have 600 albums or so each with the cover art named [album].jpg (by [album] i mean the image file is named the same name as the album of the mp3s that are in the same dir)

    for various reasons i may get over if no solution is found, i would like to keep those jpegs named as such

    my twofold question is this: is it possible for fp to look for the only jpeg in the folder (instead of just album.jpg), and perhaps if there is more than one, it could pick the one named *front*.jpeg or something to that effect? to avoid asking this silly question i did some research and encountered that "for" dos command, but it does not seem to let me copy all the jpegs in each folder to their original folder with a generic name such as folder.jpeg... does anyone know the correct syntax for this 'for' command to do just that?



    p.s. (to avoid an extra post on a small matter): i am having trouble finding a clear set of info regarding the destinator 3 action going on, i am trying to figure out what i would need to purchase (guess: that $130 destinator 3 for pda's?) (already have an earthmate, talkin software here), and what i would need to download (guess: the destinator 3 front end made by that ninja dude?) i keep finding posts on the releases and bug reports, but i cannot seem to find the "original" introductory post on this whole matter


    thank you all for your time

  • #2
    Originally posted by therussman2002
    my twofold question is this: is it possible for fp to look for the only jpeg in the folder (instead of just album.jpg), and perhaps if there is more than one, it could pick the one named *front*.jpeg or something to that effect? to avoid asking this silly question i did some research and encountered that "for" dos command, but it does not seem to let me copy all the jpegs in each folder to their original folder with a generic name such as folder.jpeg... does anyone know the correct syntax for this 'for' command to do just that?
    I don't really understand the question.
    If you're looking for a program to rename a file or something of that sort through DOS. Look into "batch files." If you want to just explain further what you want it to do, I can write it for you.
    I consider that our present sufferings are not worth comparing with the glory that will be revealed in us.

    www.neoterikos.com

    Comment


    • #3
      I think I know what he means- I wanted to preserve old names too, so this is what I did:

      1) use winrar- compress your whole mp3 directory, In "basic options" check "no compression", in "files"- put a *.jpg in "add files field" or *.mp3 in "ignore files" field. It will make an archive with directory tree and all jpg's, without mp3 files.
      You've got your pictures backed up.
      2) uncompress your archive into other directory, make the "for" command in that directory- I used:
      for /r %a in (*-*.jpg) do ren "%a" album.jpg
      I used (*-*.jpg) because I got artist-album.jpg files that I wanted to use (I got them in Helium2 along with redundant files, f.eg. back.jpg, artist.jpg artistnaked.jpg :-) that I didn't want to loose.
      3)use search on that directory, sort by filename and delete everything that's named diffrent than album.jpg
      4)copy content of that directory into your mp3 directory.

      You're done
      car computer status: ready_
      : epiam10000 256meg, audigy2nx :-F, ground loop :-)
      :
      : check out my car putter here
      : check out my FrodoPlayer skin here

      Comment


      • #4
        in 3)search for jpg or just search for * that will give you all files.
        car computer status: ready_
        : epiam10000 256meg, audigy2nx :-F, ground loop :-)
        :
        : check out my car putter here
        : check out my FrodoPlayer skin here

        Comment


        • #5
          I have renamed those jpg's to album.jpg's.
          Still do not understand how to activate BBAA.


          Michael
          "It does not understand, if it does not ride."

          M10000, 512 Mb, 2,5" 40G, Slim DVD, Opus 90W, Xenarc 7", Leadtek 9532 GPS,
          RoadRunner, MapMonkey, Pioneer HU, Pioneer 4 ch 400W, Kappa 6.5, Basslink X 200W

          Comment


          • #6
            Code:
            for /r %%I in (*-*.jpg) do copy "%%I" "%%~dpIalbum.jpg"
            Will get the ones named like ernie was talking about.


            Code:
            for /r %%I in (s*.bmp) do copy "%%I" "%%~dpIalbum.bmp"
            will get just the ones that start with "s".
            You should be able to extrapolate from here....

            Note: This code works with win2k. If it doesn't work on your OS, use single % instead of double %%'s.
            www.bradleyjacobs.com

            There is more stupidity than hydrogen in the universe, and it has a longer shelf life. -- Frank Zappa

            Comment


            • #7
              My suggestion isn't going to be easy but it will work and at the same time it serves another purpose. The best recomendation would to create a folder.jpg for each album. Since you already have most of the album covers you only need to convert them down to a smaller size (if desired). I normally use 200x200 for folder.jpg. Use the Image Resize PowerToy from Microsoft for quick and easy resizing. Then you would have a common name for all your albums.

              At the same time, Windows treats folder.jpg in a pretty cool way. In Explorer viewed in Thumbnail Mode, each album folder would be shown as the cover per folder.jpg.

              There is a program out there that will do it all automatically for you. I've posted a message on that forum where I first learned about it but since they have started from scratch the thread is no longer there. When I hear something back, I will post it here.

              Derek
              Progress [||-------]
              View my Worklog to see some of my progress.
              Downgraded Progress - Starting with another car... 09/13/06

              Comment


              • #8
                Originally posted by blurp
                Code:
                for /r %%I in (*-*.jpg) do copy "%%I" "%%~dpIalbum.jpg"
                Will get the ones named like ernie was talking about.


                Code:
                for /r %%I in (s*.bmp) do copy "%%I" "%%~dpIalbum.bmp"
                will get just the ones that start with "s".
                You should be able to extrapolate from here....

                Note: This code works with win2k. If it doesn't work on your OS, use single % instead of double %%'s.
                I want to rename the pictures as "folder.jpg" - so I type the command as follows:

                Code:
                for /r %%I in (*-*.jpg) do copy "%%I" "%%~dpIfolder.jpg"
                but it gives me an "access denied" error - why?! Help please!

                Comment


                • #9
                  Originally posted by Jackboot
                  I want to rename the pictures as "folder.jpg" - so I type the command as follows:

                  Code:
                  for /r %%I in (*-*.jpg) do copy "%%I" "%%~dpIfolder.jpg"
                  but it gives me an "access denied" error - why?! Help please!

                  Does anything have any of the files open? Like a player, etc? Are any of the files read only? Are any of the set to be your desktop wallpaper? What OS are you using? Are you logged on with administrator privileges?
                  www.bradleyjacobs.com

                  There is more stupidity than hydrogen in the universe, and it has a longer shelf life. -- Frank Zappa

                  Comment


                  • #10
                    try using the following command while in your music folder:
                    Code:
                    attrib -s -h -r /s
                    This sets all the files in the folder tree to not be hidden, not be a system file, and not read-only.

                    Derek
                    Progress [||-------]
                    View my Worklog to see some of my progress.
                    Downgraded Progress - Starting with another car... 09/13/06

                    Comment


                    • #11
                      Also, how did you run this command? did you run it from a command prompt, or from the Start-->Run and type it in there?

                      You need to open a command prompt, then change directory to the parent directory of all your album folders. Then run it from there.

                      So if you have a folder named "Music" on your C: drive that has multiple folders under it, you need to cd\music and then run the command.
                      www.bradleyjacobs.com

                      There is more stupidity than hydrogen in the universe, and it has a longer shelf life. -- Frank Zappa

                      Comment


                      • #12
                        blurp and d_sellers1:

                        I ran from start->run->command, in the correct directory, with admin privileges, none of the files open.

                        Here is what is wierd that I failed to mention before - if I type the code as posted in your initial post:

                        Code:
                        for /r %%I in (*-*.jpg) do copy "%%I" "%%~dpIalbum.jpg"
                        then the command WORKS! It names all the album covers as "album.jpg". If I change only the text "album" in the above code to "folder" - then I get the access denied message. Wierd???!!! Why is that?! I want the files named as "folder.jpg", not "album.jpg"

                        Comment


                        • #13
                          That's really strange, I just tried it with folder, and it worked for me. What OS are you using?

                          Edit: OH! do you already have some files named folder.jpg in some of the folders? If so, run the command that d_sellers1 posted, then run this to delete all of them:

                          Code:
                          for /r %%I in (folder.jpg) do del "%%I"
                          and see if it gives you any errors. This will tell you if one of the folder.jpg files is locked by something.
                          www.bradleyjacobs.com

                          There is more stupidity than hydrogen in the universe, and it has a longer shelf life. -- Frank Zappa

                          Comment


                          • #14
                            I didn't delete 2 jpg files before running the command as they were for an album that was unreleased and couldn't be retrieved by the album art downloading programs...

                            I guess these 2 jpg files were causing the problem! I did the attrib command and then tried again and now it works! I've got "folder.jpg" in every album folder now! Thanks for the help guys!!!

                            Comment


                            • #15
                              WooHoo! The command prompt king wins again!

                              Glad I could help.
                              www.bradleyjacobs.com

                              There is more stupidity than hydrogen in the universe, and it has a longer shelf life. -- Frank Zappa

                              Comment

                              Working...
                              X