Import BPM from MixMeister text-file - MixMeisterImport 1.02
It's still on my todo-list! I just have exams another two weeks and then I'll have some time.
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
-
- Posts: 95
- Joined: Thu Nov 24, 2005 11:48 am
- Contact:
Re: Import BPM from MixMeister's text-file
All I had to do was run the Mixmeister proggy, let it calc the BPMs and write them to the MP3s, and file monitor took care of the rest the next time I ran MM. But it would be nice if someone cobbled together a double/halve BPM tag script...
Et voilà...
Hi guys (and girls)!
I'm sorry that it took so much time but to be honest I had to enjoy the sun a bit. So I didn't had so much time to work on scripts and the time I had I needed for my baby 'AutoRateAccurate'. When the weather gets colder and rainier (snowier?) I surely will be more active here again - this also was the case the years ago.
Most of the work has be done by trixmoto. So a big thanks to him!
Big_Berny
EDIT: If someone wants to play with the code just do it. I don't want to develope it further anyway as it already does what I need.
Read the instructions how to configure it!
I'm sorry that it took so much time but to be honest I had to enjoy the sun a bit. So I didn't had so much time to work on scripts and the time I had I needed for my baby 'AutoRateAccurate'. When the weather gets colder and rainier (snowier?) I surely will be more active here again - this also was the case the years ago.
Most of the work has be done by trixmoto. So a big thanks to him!
Big_Berny
EDIT: If someone wants to play with the code just do it. I don't want to develope it further anyway as it already does what I need.
Read the instructions how to configure it!
Code: Select all
Check next post
Last edited by Big_Berny on Thu Sep 04, 2008 4:00 pm, edited 2 times in total.
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.0
Thanks so much! Will give this a go tonight.
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.0
This is very good script but I'm having a really weird bug. It gives the following errors after every 65 songs
Maybe its because I'm using vista x64? MM version is latest.
Maybe its because I'm using vista x64? MM version is latest.
Windows 7 | MediaMonkey 3.2.0.1294
Dell Studio 1537 (Core 2 Duo T6400, 320GB HD, 4GB RAM, ATI Radeon HD 3450)
Dell Studio 1537 (Core 2 Duo T6400, 320GB HD, 4GB RAM, ATI Radeon HD 3450)
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.0
Maybe this works better?
Code: Select all
Check next post
Last edited by Big_Berny on Fri Sep 05, 2008 4:07 pm, edited 1 time in total.
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.0
Thank you, now its working great
Windows 7 | MediaMonkey 3.2.0.1294
Dell Studio 1537 (Core 2 Duo T6400, 320GB HD, 4GB RAM, ATI Radeon HD 3450)
Dell Studio 1537 (Core 2 Duo T6400, 320GB HD, 4GB RAM, ATI Radeon HD 3450)
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.02
Fixed another potential bug.
Code: Select all
Option Explicit
'1. Save this text as 'MixMeisterImport.vbs' in the Scripts-folder of MediaMonkey
'2. Add this Section to Scripts.ini
'[MixMeisterImport]
'FileName=MixMeisterImport.vbs
'ProcName=MixMeisterImport
'DisplayName=MixMeisterImport
'Language=VBScript
'ScriptType=0
'3. Edit the path to your MixMeister-BPM-file in the code below.
'4. Restart MediaMonkey
'5. You'll find "MixMeisterImport" under Tools/Scripts
Public Const path = "c:\bpm.txt" 'PUT THE PATH TO YOUR MIXMEISTER-BPM-FILE HERE
Sub MixMeisterImport
Dim str, arr, fil, sit
Dim fso : Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(path) then
Dim txt : Set txt = fso.OpenTextFile(path,1,False)
SDB.Database.BeginTransaction
Do While Not txt.AtEndOfStream
str = Trim(txt.ReadLine)
arr = Split(str,Chr(9))
fil = Mid(arr(0),2)
Set sit = SDB.Database.QuerySongs("AND (Songs.SongPath = '"&Replace(fil,"'","''")&"')")
If Not (sit.EOF) Then
Dim itm : Set itm = sit.Item
itm.BPM = arr(3)
itm.UpdateDB
End If
Loop
Set sit = Nothing
SDB.Database.Commit
else
SDB.MessageBox "The file `"&path&"` unfortunately doesn't exist."& vbCrLf &"Please modify the path to the MixMeister-BPM-file in the Scriptcode.", mtError, Array(mbOk)
end if
End sub
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.02
Thank you for all your work!!
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.02
Hi,
I saved the code to the vbs file.
And put it into the scripts folder.
I took some files and calculate them wit MiwMeister BPM.
I saved the file to d:\bpm.txt and i set this path into the vbs
After starting the import, nothing happens, even no error message...
I don't know what's wrong...
I saved the code to the vbs file.
And put it into the scripts folder.
I took some files and calculate them wit MiwMeister BPM.
I saved the file to d:\bpm.txt and i set this path into the vbs
After starting the import, nothing happens, even no error message...
I don't know what's wrong...
Re: Import BPM from MixMeister text-file - MixMeisterImport 1.02
Well, it's normal that you don't see anything. The BPM values should get imported in the background.
Do all songs of the txt-file still don't have BPM in MM? Did you move your MP3s before importing? TIf yes, this is the problem as the paths in the text-file are used by the script to find the MP3s. And can you send me the path of such songs which didn't get the BPM? Maybe there are some problemtic characters in it.
Do all songs of the txt-file still don't have BPM in MM? Did you move your MP3s before importing? TIf yes, this is the problem as the paths in the text-file are used by the script to find the MP3s. And can you send me the path of such songs which didn't get the BPM? Maybe there are some problemtic characters in it.
Scripts in use: Genre Finder / Last.fm DJ / Magic Nodes / AutoRateAccurate / Last.FM Node
Skins in use: ZuneSkin SP / Eclipse SP
AutoRateAccurate 3.0.0 (New) - Rates all your songs in less than 5 seconds!
About me: icoaching - internet | marketing | design