topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 11:43 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Program to copy files referenced in a WMP playlist to another location  (Read 12697 times)

JeffK

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 363
    • View Profile
    • Donate to Member
I have not been able to find a program to copy the music files in my daughters Windows Media Player 10 playlist (.wpl file) to another directory while maintaining the original folder structure.  AV Media Copy from www.avsoft.nl does something similar but replaces the original directory structure with a new one based in AlbumArtist\Artist which is not what I want.

I want this so that I can get rid of all the duplicate files she has without deleting the ones in her playlist.  eg she might have three identical copies of the same file and I want to avoid laboriously checking which one is in the playlist so that I can delete the other two.

Anyone interested in programming this for me.

Thanks for listening,

Jeff
« Last Edit: February 18, 2006, 02:41 AM by brotherS »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,260
    • View Profile
    • Donate to Member
The biggest problem I see here is using WMP ;D

JeffK

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 363
    • View Profile
    • Donate to Member
There are worse things, like how miserable my life will be if I stuff up her playlist.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,260
    • View Profile
    • Donate to Member
Hehe... I don't know how old she is, but I imagine the worst  ;)

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
JeffK:
I think there might be a way to do this, but it would be necessary that there was soma way of exporting the playlist as a text file, i think.

JeffK

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 363
    • View Profile
    • Donate to Member
I think I might have found a way to do this using Media Monkey.  So don't spend any time on it.  I will post again if I need more help.

Jeff

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
 :) How about saving the playlist, opening it in Notepad and doing a search and replace of the paths, and then moving the files?

Skrommel

JeffK

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 363
    • View Profile
    • Donate to Member
The playlist files are all mixed up with other files which are not on the playlist but which she wants to keep.  And all the files are spread through many directories with many duplicates, triplicates and quadruplets.  So while I could edit the playlist file to move it to another location, I would still have to laboriously go through the many directories to indentify and move the files that are in the playlist.

Jeff

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
 :tellme: Sorry, I reread you post, and it's removing duplicats you want. Are the file names accurate enough to be used to distinguish the files, or should the size/date/CRC be checked, too?

Skrommel

Gerome

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 154
    • View Profile
    • Get my Freestyle Basic Script Language + compiler!
    • Donate to Member
Hi,

:tellme: Sorry, I reread you post, and it's removing duplicats you want. Are the file names accurate enough to be used to distinguish the files, or should the size/date/CRC be checked, too?

Skrommel

The deal should be not very hard to resolve since Microsoft provides COM methods to its favourite player!
The following link will expose one of the branch to manipulate a WMP playlist :
http://msdn.microsof...layernewplaylist.asp
There are other ones, but if you're familiar with VB/VBA or any other language that is able to CreateObject ( so does Fbsl ;) ), then you'll be able to succed in your initial will  8)
Yours,
(¯`·._.·[Gerome GUILLEMIN]·._.·´¯)
http://www.fbsl.net [FBSL Author]
http://gedd123.free.fr/FBSLv3.zip [FBSL Help file]
(¯`·._.·[If you need help... just ask]·._.·´¯)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
... find a program to copy the music files in my daughters Windows Media Player 10 playlist (.wpl file) to another directory while maintaining the original folder structure.  AV Media Copy from www.avsoft.nl does something similar ...

-excellent program!  :up:

It hasn't been updated for more than five years, (yes, this is a very old thread), but I had no problem at all, installing and using it on Vista. The GUI is logic, the procedure easy, and the copying is fast. Of course it can handle several playlist file types, including M3U playlists, not just WPL. The organization of the new folders were not important to me, so I just unchecked that option, and all 372 files from my playlist were soon gathered in a new folder.

a better link: http://www.avsoft.nl...ows-media-player.htm
The msi installation file is merely 428 Kb

This little program made my day. Thanks for telling, JeffK   :up:
One micro detail: The folder order is of course not AlbumArtist\Artist, but AlbumArtist\Album