Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
12-24-2007, 10:56 AM
|
#1
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
Move files...
Heres what I'd like to do if its possible.
I separate my music that I like in folders by genre. I have alot of music, but some of it I dont care to have to scroll through trying to find a song to listen to. I usually copy alot of it over to the PC and separate the ones I like into folders then delete the remaining. Doing this, I sometimes put it in the wrong folders, not realizing until Im listeining to that folder's music.
I would like to create a button that opens a popup menu, from that each button on a menu will copy the current selected song to a pre-determined folder. That way I can use it to sort my music that may be mis-sorted, as well as copy new music to specific genre's folders and eliminate the unwanted music.
I though about just creating an autoit script for each button, but I dont know how to tell the script to move the curent selected song.
Doable? Suggestions?
__________________
2007 Mazdaspeed 6
|
|
|
12-24-2007, 11:11 AM
|
#2
|
|
Raw Wave
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 1,973
|
Suggestions....
Don't seperate music by genre(makes no sence to me and others..  )
Yes i could be done... what skin are you using BTW?
|
|
|
12-24-2007, 11:36 AM
|
#3
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
Brushed metal, modified BMWE26's version how I wanted it.
__________________
2007 Mazdaspeed 6
|
|
|
12-24-2007, 11:39 AM
|
#4
|
|
Maximum Bitrate
Join Date: Aug 2006
Location: Sun Diego
Vehicle: 2001 A4 1.8TQMS
Posts: 838
|
Here's my autoIT script to move the current selected song to a RR defined folder variable $destinationmedia$
If you have any of Sonicxtacy02's plugins installed, the script will reuse the "SUCCESS" & "FAIL" skins for popup confirmation.
Hope that helps you out.
Last edited by Sal R. : 12-24-2007 at 11:41 AM.
|
|
|
12-24-2007, 01:00 PM
|
#5
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
thanks! may I ask which plugins your referring to? The ratings plugin?
Also, where do I specify the variable?
ExecTBL.ini in the RR directory, or the skin directory?
__________________
2007 Mazdaspeed 6
Last edited by Custommx3 : 12-24-2007 at 01:08 PM.
|
|
|
12-24-2007, 01:15 PM
|
#6
|
|
Maximum Bitrate
Join Date: Aug 2006
Location: Sun Diego
Vehicle: 2001 A4 1.8TQMS
Posts: 838
|
Quote: Originally Posted by Custommx3 
thanks! may I ask which plugins your referring to? The ratings plugin?
Also, where do I specify the variable?
ExecTBL.ini in the RR directory, or the skin directory?
For sure, the New Hits plugin has the "SUCCESS" & "FAIL" skins. I'm not sure about the ratings plugins.
In any case, you can define the destination folder path in rr.ini, skin.ini or SETVAR;destinationmedia;<PATH> in RR.
i.e.
destinationmedia=E:\my_mp3\
|
|
|
12-24-2007, 01:24 PM
|
#7
|
|
Maximum Bitrate
Join Date: Jul 2005
Location: upland california us
Vehicle: 1981 chevy el camino
Posts: 751
|
mp3Copy plugin has those.
|
|
|
12-24-2007, 03:31 PM
|
#8
|
|
MySQL Error
Join Date: Sep 2004
Location: Woodbridge, VA
Vehicle: 2003/Acura/RSX
Posts: 4,621
|
ratings doesnt.. mp3copy and new hits do
__________________
03 Acura RSX Coupe
a K.I.S.S Flash, VB, and Autoit Programmer
HARDWARE PROGRESS: 90%[/////////-]
SKIN PROGRESS: 90%[/////////-]
Current Project: RRFusion, MovieTimes, RRMail and More!!! :)
|
|
|
12-24-2007, 04:19 PM
|
#9
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
well,
I used the script above, changed the command of "filecopy" to "filemove" (I dont want to copy, I want to move obviously. Compiled it and put it in my skins directory.
In my Audio_player skin I added
B24,208,498,71,92,"MENU;copy.SKIN",
In my skin folders EXECTBL.ini
"altmusic","RUN;c:\program files\road runner\SKINS\MySKIN\altmusic.exe"
in my copy.skin I have currently 2 buttons
B,257,283,219,81,"altmusic",
B,92,373,331,103,"CANCEL",
Doesnt work .. help 
__________________
2007 Mazdaspeed 6
Last edited by Custommx3 : 12-24-2007 at 04:36 PM.
|
|
|
12-24-2007, 06:36 PM
|
#10
|
|
MySQL Error
Join Date: Sep 2004
Location: Woodbridge, VA
Vehicle: 2003/Acura/RSX
Posts: 4,621
|
you want the command to read something like this barry
Code:
"altmusic","SETVAR;destinationmedia;C:\||RUN;c:\program files\road runner\SKINS\MySKIN\altmusic.exe"
you need first set the path as a variable.. then you run the script. So say if you wanted 5 different buttons for five different paths you'd just create 5 buttons with the exact code above.. but changing "C:\" with whatever path you wish the file to be moved to
__________________
03 Acura RSX Coupe
a K.I.S.S Flash, VB, and Autoit Programmer
HARDWARE PROGRESS: 90%[/////////-]
SKIN PROGRESS: 90%[/////////-]
Current Project: RRFusion, MovieTimes, RRMail and More!!! :)
|
|
|
12-25-2007, 02:49 PM
|
#11
|
|
Raw Wave
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 1,973
|
Here is another thought, by changing this slightly...you would only have one exe and be able to use it over and over again w/o having different exe for each different path to move to..
change this line:
$destinationmedia = $rr.GetInfo("=$destinationmedia$")
TO:
$destinationmedia = $rr.GetInfo("=$"&$CMDLINERAW&"$")
Then define each var in the rr ini as such
altmusic=<path to alt music>
rockmusic=<path to rock music>
ect...
And then change your exectbl line for each btn cmd to something like this:
"altmusic","RUN;c:\program files\road runner\SKINS\MySKIN\MoveMusic.exe|<exact nam e of variable for this btn>"
examples..
"altmusic","RUN;c:\program files\road runner\SKINS\MySKIN\MoveMusic.exe|altmusic" or
"rockmusic","RUN;c:\program files\road runner\SKINS\MySKIN\MoveMusic.exe|rockmusic"
Last edited by Blue ZX3 : 12-25-2007 at 09:06 PM.
|
|
|
12-25-2007, 09:17 PM
|
#12
|
|
Raw Wave
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 1,973
|
Just after I posted the above post I had to leave and about half way to where I was going....it dawned on my why your script didn't work...you can't move a file in use, thats why it didn't appear to work. You would need to first stop the music and then move the file, but then you won't be able to continue to play it as its no longer in the same loc as the path defined in the current playlist.
One way would be to first copy it to the new loc, then check like every min and see if the song changed(using trackpath), and if it did then go and delete the origanal file.
|
|
|
12-26-2007, 08:48 AM
|
#13
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
I did press stop, still didnt work  Im gonna try your above and see if it works.. thanks guys for all your help on this!
__________________
2007 Mazdaspeed 6
|
|
|
12-26-2007, 10:04 AM
|
#14
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
I have made the changes as suggested, and added the dual commands to my buttons to stop the music before moving.
ex:
"STOP||ALMUSIC"
And it works!! but it keeps saying it failed. Im almost thinking of removing the code for the pop-ups.
Any idea why it would fail when it works?
__________________
2007 Mazdaspeed 6
|
|
|
12-26-2007, 10:15 AM
|
#15
|
|
FLAC
Join Date: Jun 2003
Location: Memphis - TN
Vehicle: 2007 Mazdaspeed6
Posts: 1,145
|
I just removed the confirmation code, and added an extra command to close out the menu.
EX:
"STOP||ALTMUSIC||CANCEL"
Works, and no extra box to close. Thanks everyone for the help!
__________________
2007 Mazdaspeed 6
Last edited by Custommx3 : 12-26-2007 at 10:25 AM.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:14 PM.
|
|