You are not logged in.
That's what I wanna to hear
.
Casey's old musikMigrate wasn't pretty, too.
Offline
That's me - the mC bitch = P
Offline
Jooles wrote:
I can probably kludge some code together and make a new musikmigrate style program...
I warn you, it won't be pretty = )
For my part, it can be command line based with purple text, as long as it works. ![]()
After all it would be prettier than my method i guess.
Well, for me its too late anyway. ![]()
Offline
Done. Get it at http://jooles.boldlygoingnowhere.org/musikmigrate2.exe
I TAKE NO RESPONSIBILITY FOR DAMAGE DONE WITH THIS PROGRAM - IT WON'T CATCH BAD INPUT. IT'LL JUST CHANGE THE DB ANYWAY
To use it, put it in the same folder as your musikcube library (usually c:\documents and settings\[your username]\.musikproject\) then fire up a command prompt and cd to that directory. Then run the program with the following syntax.
musikmigrate2 [old_music_path] [new_music_path]
where [old_music_path] is the path to the folder that did include all your music (I'm assuming it's all in one base folder) including the drive letter and the trailing backslash.
[new_music_path] is similar to [old_music_path] but the folder you're moving your music to. Again include the drive letter and trailing backslash
So on my computer it would look something like this: -
c: cd documents and settings\*******\.musikproject musikmigrate2 e:\mp3\ e:\newmp3folder\
Hopefully that's clear enough = /... I don't wanna break anyones libraries. But it does work = )
Source code available on request
Last edited by Jooles (2007-06-14 13:57:20)
Offline
Didn't test it yet (and trollomats workaround neither - but I wrote an e-mail to the SQLiteSpy author), but coll to have the new musikMigrate.
Does it work a lot different than Casey's version (because his one incorporates bass.dll and musikCore_u.dll)?
And if I have more paths to change, is it possible without corrupting the DB? So mM2 is "just" searching for [old_music_path] and replaces it with [new_music_path]. Then I can restart mM2 and enter different paths?
Offline
I guess it does work differently then.. Mine doesn't use any dlls (just sqlite3.lib) - just a screen and a half of code. Nothing fancy.
Actually... I should probably stick another warning on here...
If you have your music in more than one base folder (ie. some in c:\documents and settings\you\my documents\my music\ and some in c:\mp3s\ for example) *DONT* use this yet... I'll let you know when you guys can use it. At the moment it takes one base path, counts the number of characters in that path and strips that many characters from the db path, then adds the new path to that. So if you run it for one base folder, it'll move that folder's music and screw up the rest. I need to add a couple more checks in.. Expect that version by tuesday/wednesday
I said it wouldn't be pretty = P
Last edited by Jooles (2007-06-15 06:44:01)
Offline
Hm, its not working here. Seems to operate for about 30 seconds or so, but the db remains unchanged.
Oh, and yes.. i'd be interested in the source code, if you don't mind. ![]()
Last edited by trollomat (2007-06-15 08:10:06)
Offline
Which bit of the db are you looking at? It changes the 'filename' values (the first varchar(255)) in the 'songs' table of musik_u.db. I've not yet let it finish on mine... I left it for five minutes and got bored. It is slow - especially on my 9.5k songs, but it worked for me.. I'll comment up and send you the code a bit later.
Offline
Changing paths should be very easy in SQLiteSpy, but you need to have SQL knowledge for that (I don't have it):
I had e-mail-contact with the author of SQLiteSpy and he told me that replacing is possible with normal SQL-statements.
He kindly mentionend the <REPLACE(Field, 'OriginalText', 'ReplacementText')>-function, but you have to put it into a complete SQL query (didn't get it working yet).
PS: If I could move topics, I would put the musikMigrate-related stuff here elsewhere... ![]()
Last edited by DocTriv (2007-06-16 05:23:14)
Offline
Yeah, of course i looked for "filename", but the file isn't changed at all. Last changed date and time are the same as before. My db file is only about 6 MB.
Offline
Wierd... Well I'll check it again, as well as give you a copy of the source.
(I only asked about checking because I spent about half an hour last night wondering why it wasn't working only to realise I'd told it to edit the wrong one of the three dbs, so unsurprisingly it couldn't find the table)
Last edited by Jooles (2007-06-15 08:31:42)
Offline
Did another test with another db... in this one there are spaces in all the filename fields. This seems to cause problems, but at least now something is changed at all. ![]()
It oerates again for about 20-30 seconds, then gives me this error: http://i16.tinypic.com/4kf9o2b.jpg
Afterwards the db looks like this: http://i16.tinypic.com/5ybpu9c.jpg
Same error occurs when i put ' around the path.
Offline
I can't see an obvious problem... But I have to go catch a train now so the sources are at http://jooles.boldlygoingnowhere.org/mu … 2source.7z
Offline
1. Well, I did a test and run CMD/musikMigrate from my library location, but after ENTER the prompt, I get this error (german: program couldn't get initialized correctly blablabla).
2. Update: Well, I did some further testings with the SQLiteSpy's author's help (thanks!) and maybe the following works?
Open your mC library file (probably musik_u.db) in SQLiteSpy and put this code into the SQL edit window (top right):
UPDATE songs SET filename = REPLACE(filename, '[drive:\old path]\', '[drive:\new path]\');
(Quite the same as Jooles told for musikMigrate2, esp. the closing backslash.)
Then execute the SQL code (F9) and after no time the replacement should be finished:
A "no results available" message should appear in the main window, but a double-click on "songs" should reveal the changed filenames/-paths.
Last edited by DocTriv (2007-06-16 06:43:37)
Offline
Ultra-minor update: I.22 (about location of mC's settings).
PS: Did someone test the above SQLiteSpy query for changing paths in mC's library?
Offline
Update: the bugs were copied to our new bug tracker Trac.
And I added issue on the mC website.
Offline
I wanted to say that I added a passage in this thread's first posting where I list issues with the website (point III.) :-).
I can't change the website itself; I hope someone who is able to do that will update it.
Offline
I could try to talk to him when he is on AIM.
Offline
Added II.26 ("Time Added" bug) to the list and also to trac.
Offline
Some IMO important/basic suggestions were added by me to Google Code.
Offline
Hi all- i'm new here, as in, having finally registered to be able to post; have been using musikCube for three whole days now:), and this is (almost) what i've been looking for in a music player. First off, great work everyone.. and thanks! for this really is a kickass little player, i'm actually feeling a little like when i'd first discovered winamp waaay back when [when it was still lightweight & on a mission
]... a couple of things aside (writing ratings to tag, enqueue from explorer, pluginability with my way too closed source Hercules Tunes Remote), this li'll player is ... well.. good to see i'm not the only one in this time and age who felt the need for something super like this! (even better that someone's already created it ofcourse)
Now, then onto my first question: DocTriv; on the replacement .dll vigylant made, the link in the post you've mentioned is dead, and i haven't been able to find it on any of these sites.. so i was hoping that maybe you could upload it somewhere [your own site f.i.]
gotta say though.. it Is all quite a big mess around here; have found it quite difficult to find info on most things, espescially since there doesn't really seem to be a 'base' site; if i'm not mistaken there's about 10 sites hosting parts of updates/fixes of mC or parts of wiki's or of bugtrackers... do absolutely admire DocTriv's efforts on creating a general grounds, this thread for instance has an absolutely stunning and helpfull first post, but i am just missing the one place where ALL is gathered. I was thinking i could help with that; though i have to admit that i haven't really checked how come it's like this, and how come it's not changed already- but it could just be a lot more 'coordinated' imho.
anyway- don't even know how others are doing, anyone still working towards mC1.1; or have all those efforts stopped [in favour of 2?]
DocTriv wrote:
III. Website:
1. Tidy up the plugin page!
2. Give official news on actual mC status on the News page and here in the forum (e.g. "Announcement"). SourceForge is no longer up to date (remove link on homepage), announce the new source code location!
3. Give forum moderators more admin rights(closing, deleting, moving and "sticking" topics).
4. You can't change your forum account's mail address from within the forum, only via the homepage login.
yeah- so i'd like to add point 5 to that list; ORGANISE!
btw, i'd love to work/help on this cube; but since i've little programming experience [batch, vb, vs[?] all ages ago] there seems to be a little curve to that- and most importantly as previously stated; i don't know what's up with the rest of you! i'd hate to just drive off on my own in this regard [like i do when on a rant]. =]
soo.. thanks again, i'm off for now; would be lovely if this TimesPlayed 'fix' were to resurface somewhere near me, hint hint
[EDIT:] oh! forgot- congrats on mc2m1!!! will be trying that sometime soon too, heheh
Last edited by dak_ara (2008-05-20 04:06:49)
Offline
Okay, I uploaded Vigylant's version onto my small mC page.
You are correct that for new users it is quite difficult to find the most recent stuff or to get to know what's outdated (that's why I made this thread and my small page).
Maybe soon the whole website will be redone, with tidying up, I hope. There is no official progress on mC1 anymore and also the latest attempts by jcarrascal did not lead to a new, unofficial bugfix release.
As you see: progress on mC2 is going on.
Offline
sweeeet, thanks!
but about jcarrascal's latest attempt [believe he posted last sometime in feb from the top of my head]- do you have a clue as to if he's still at it?
Offline