|
 |
|
02-08-2009, 03:27 PM
|
#571
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
The only downside to doing a complete conv, is that there will be a speed loss, bigger the requested playlist, the longer its gonna take...but will look into that possibility. It does need to work, but with minimal speed loss.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
02-09-2009, 03:50 PM
|
#572
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
Quote: Originally Posted by Me!
Working on having two scan modes, Quick & Full. Quick will only look for new media and imports whats found only,so should be much quicker. Full is basically the same an the current recan, adding new media and removing old media entries that no longer exist.
Current status:
There are now now a total of three rescan levels; Quick W/folders, Quick W/files, Full. The Quick W/folders was just added and is the fastest as it first only looks for new folders and only imports those folders contents. The second Quick W/files, does the same execpt that it looks for new files in any/all folders.
So far with initial testing.... Time are as follows, with 12.5k songs in musicpath:
Quick W/folders (one new folder w/ one new song) = ~19secs!
Quick W/files (one song added to existing folder) = ~5:30 mins!
And I have also made some speed improvements to the Full Rescan, but don't have a time for this yet.
|
|
|
02-10-2009, 01:09 PM
|
#573
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
Quote: Originally Posted by mnwcsult 
This is from file Builder_Debug.txt
2/8/2009 1:19:00 PM: RRMedia Builder> MediaInfo communitation OK!
2/8/2009 1:19:35 PM: RRMedia Builder> Data_Dump > 'REM - Losing My Religion (Acoustic).mp3','Losing My Religion (Acustico)','REM','xxx','','32','.m','Alternative. Punk\','',0,'','20042103094048','2009/02/08/13:19'
2/8/2009 1:19:35 PM: RRMedia Builder> unrecognized token: "xxx"
I subsituted the NULL character with 'xxx' so that I could cut and paste the text in this message.
On my day job I a Software Engineer and we see this a lot when passing data into SQL Server. In the helper folder there sits Sqlite3.exe and Sqlite3u.dll so my guess is something similar is happening here.
My first hint of what might be happening was a folder name "70's Rock" RMBuilder returned this message RRMedia Builder> unrecognized token: "'" I had to really look at it and noticed the aposthrophe between the quotes. So I changed the folder name to "70s Rock" and reran the builder.
RMBuilder got further next returned RRMedia Builder> unrecognized token: "'" on the next folder "80's Rock". There is a trend forming here. So changed the name to "80s Rock" and started over.
Which got me to the message I began the discussion with the NULL character.
SQL in general is sensitive to apostrophes, quotes and many other characters in text fields.
We filter much more heavily to prevent SQL injection attacks, here is some example code:
'Function IllegalChars to guard against SQL injection
Function IllegalChars(sInput)
'Declare variables
Dim sBadChars, iCounter
'Set IllegalChars to False
IllegalChars=False
'Note vbNullChar is the same as chr$(0)
'Create an array of illegal characters and words
sBadChars=array("select", "drop", ";", "--", "insert", "delete", "xp_", _
"#", "%", "&", "'", "(", ")", "/", "\", ":", ";", "<", ">", "=", _
"[", "]", "?", "`", "|", "declare", "convert", chr$(0))
'Loop through array sBadChars using our counter & UBound function
For iCounter = 0 to uBound(sBadChars)
'Use Function Instr to check presence of illegal character in our variable
If Instr(sInput,sBadChars(iCounter))>0 Then
IllegalChars=True
End If
Next
End function
You could use something similar to this to replace unwanted/illegal characters with "" a NULL string.
I hope this helps as I like to program but outside of work I really just do not have the time. So I greatly appreciate your efforts and the work of all of the others who contribute so much to the rest of us.
-Michael
You know...I did a dbl check and I have several folders with the apostrophes in them and no issues here. So, now back to square one.
|
|
|
02-10-2009, 02:38 PM
|
#574
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
Quote: Originally Posted by mnwcsult 
RMBuilder.exe
just crashes and I get this from Visual Studio debugger:
Unhandled exception at 0x01a92613 in RMBuilder.exe: 0xC0000005: Access violation reading location 0x01e51000.
First-chance exception at 0x01a92613 in RMBuilder.exe: 0xC0000005: Access violation reading location 0x01e51000.
When run as stand alone I get a panel
That starts with Status getting file count: J:\MegaCollection
Next Getting ready for Import, I click Import, at 1% it then pops up the error and my debugger screen.
The RMBuilder.db file is always 27k
Any ideas?
If you have the newest version, then you should get no window as the newest has no GUI, but older one did.
|
|
|
02-10-2009, 04:07 PM
|
#575
|
|
Newbie
Join Date: Mar 2007
Location: Maryland, USA
Posts: 39
|
Quote: Originally Posted by Blue ZX3 
If you have the newest version, then you should get no window as the newest has no GUI, but older one did.
Hey Blue, problem worked around. I was still getting the messages after updating to a newer version. The issus mainly with NULL values in certain fields.
So using the debug file to identify the files causing problems, I would go into the folder containing the file, and right click to get the properties panel. On this panel I would then fill in album name, or year and/or artist. Those seem to be the fields most likely missing something. For what it is worth many more files had missing properties data but not containing NULL characters.
This I did for about 16 files out of 18627 not too bad once I determined where the problem lay.
 So in the mean time keep up the good work and yes I have beening following the thread and again I appreciate your efforts.
|
|
|
02-10-2009, 04:18 PM
|
#576
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
In simple thinking..... a "NULL" equaled "" but not quite the case...
I Have added the NULL char to the things to remove.
On to the next thing on the list to do...
|
|
|
02-10-2009, 06:43 PM
|
#577
|
|
Variable Bitrate
Join Date: Feb 2007
Location: Motor City
Posts: 253
|
Quote: Originally Posted by Blue ZX3 
Nope, you've hit the limit...sorta. John already found this bug and its on the top of the list of things todo/fix.
You must have more than 32767 files in your musicpath and Y your getting that overlfow error.
I do see in your SC that is what your prob is. I might just have to do a quick fix for this before it bits my behind some more...
Does the Db builder still have a file limit? Or will the Quick W/folders add the remainder folders after limit is hit?
__________________
If you cant DODGE em, RAM em.
|
|
|
02-10-2009, 08:12 PM
|
#578
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
That limit was only because of the type of var that i declared for a counter and changed it to the next bigger declare type, so now the limit would be at 4.2 billion songs, so....that will definitely be no longer a problem!  That is unless you have more than that....but I'm highly doubtful. All good for the next update.
That is merely a rescan mode/method, to allow for much quicker rescans as possible, depending on what exactly you added.
Last edited by Blue ZX3; 02-10-2009 at 08:15 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
02-26-2009, 06:58 PM
|
#579
|
|
Newbie
Join Date: Sep 2003
Location: Thousand Oak, Ca
Posts: 31
|
Is it possible to ignore “the” when sorting a playlist by Artist. For example The Beatles under the B’s instead to the T’s.
|
|
|
03-02-2009, 08:06 PM
|
#580
|
|
Low Bitrate
Join Date: Feb 2006
Location: Phoenix, AZ
Posts: 57
|
Quote: Originally Posted by EricE 
I spoke too soon. It wasn't moving so I exited to see the dialog again...saying it couldn't find the RMBuilder.exe (but it IS there).
Debug file says:
11/7/2015 7:38:18 PM: RRMedia Builder> MediaInfo communitation OK!
11/7/2015 7:39:03 PM: RRMedia Builder> File not found
Edit: more info.
It finds the music path and counts the files, then it says scanning...and then 200 files (...Checking file list) into my 2022 it fails with that error message. Window title is "Main" and the message is "File not found RMBuilder" The only button is OK.
BTW, before that last message I tried uninstalling then installing, then rebooting.
I thought it might be related to the date being wrong. The date was being set incorrectly by the GPS. I fixed that but that didnt fix the RMBuild error.
This is an old post, but I just recently updated DFX 4.0 and decided to try this plugin. I get the same error that EricE got in the debug file. He later posted that this error was solved by removing the ' (apostrophes) from the file info/tags? I looked at several files and I dont think I have ' in my file tags. Has any one else experienced the "Main window: File not found RMBuilder" error after this post?
Thx
__________________
Oh why do I spend so much time and money on a technology that works only half the time? Is always a work in progress? Is never complete? I wonder.
|
|
|
03-02-2009, 08:41 PM
|
#581
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
I think that it's when there are two quotes in a single tag. I have several songs and/or folder with an apostrophe and I don't have an issue.
There are some other chars that it doesn't like that I've added to this next build. And if there are errors after this next release, i'll have to dig some more to see what is causing the issue.
|
|
|
03-11-2009, 01:35 PM
|
#582
|
|
Low Bitrate
Join Date: Feb 2008
Location: Maryland
Posts: 91
|
I'm having a few slight issues. when i try to add a song to a disk i get an auto it error "variable being used without being declared". I'm using RM version 1.2.2.
These are my commands.....
B10,639,173,58,58,"RM_sel2Disk",
B12,639,331,58,58,"RM_PLList2Disk",
This is whats in the ExecTbl...
"ONSONGSTART","RM_ONSONGSTART"
"RM_DiskLoading","MENU;RM_DiskLoading.skin"
"RM_DiskLoaded","ESC",RM_DiskLoading.skin
"RM_PLList2Disk","MENU;RM_Playlist2Disk.skin"
"RM_sel2DiskCMD","Menu;RM_sel2Disk.skin"
"RM_FirstRun","Menu;RM_FirstRun.skin"
"Db_complete","Menu;RM_Builder_Stats.skin"
"Db_ReScan_Complete","Wait;2||Menu;RM_Rescan_Stats .skin"
"RM_SSNA2D","Menu;RM_SSNA2D.skin"
And this is whats relevant in my Select2Disk skin...
B01,010,090,108,145,"ESC||RM_SELECT2DISK1",
B02,128,090,108,145,"ESC||RM_SELECT2DISK2",
B03,246,090,108,145,"ESC||RM_SELECT2DISK3",
B04,364,090,108,145,"ESC||RM_SELECT2DISK4",
B05,482,090,108,145,"ESC||RM_SELECT2DISK5",
B06,010,255,108,145,"ESC||RM_SELECT2DISK6",
B07,128,255,108,145,"ESC||RM_SELECT2DISK7",
B08,246,255,108,145,"ESC||RM_SELECT2DISK8",
B09,364,255,108,145,"ESC||RM_SELECT2DISK9",
__________________
NEVER BLEND IN!!!
|
|
|
03-24-2009, 10:19 PM
|
#583
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,407
|
Feature Request: User-defined a path location for the support files?
This is for HORM support...
__________________
Pico-ITX / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2
|
|
|
03-29-2009, 10:01 PM
|
#584
|
|
Constant Bitrate
Join Date: Mar 2007
Posts: 148
|
For some reason the ratings backup file isn't working for me. Songs are added to the file upon rating but they are not imported during a rescan (there are crosses for rating playlist found and playlist imported). Am I missing something?
|
|
|
03-30-2009, 03:13 AM
|
#585
|
|
The Curator
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
|
Those two step only pertain to anyone that was using sonic's old rating system, so if durring a scan it didn't fine any of the files it uses then there is no import of them. There is no indication that it reimported the ratings from the rate.in_ file, if file is there it automatically sets the ratings to those files in the db.
Using the 1.2.2 ver I'd assume and what does one of the lines from that file look like.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| 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:59 AM.
| |