Custom Properties Panel v3.3.4 (17-08-08) [MM3]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby nynaevelan » Fri Jul 25, 2008 11:53 am

Here's my Properties.ini, I was trying to change the Custom1 field.

Code: Select all
[HeaderInfo]
ColumnHeader=Album,Album Art All,Album Artist,Album Comment,Artist,Artist Comment,Backup Identifier,Bookmark,BPM,Cached,Comment,Composer,Conductor,Copyright,Custom1,Custom2,Custom3,Custom4,Custom5,Date Added,Device,Disc #,Encoder,File Modified,Genre,Grouping,Involved People,isBookmarkable,Isn't InDB,ISRC,Last Played,Leveling,Leveling Album,Lyricist,Lyrics,Mood,Occasion,Original Artist,Original Lyricist,Original Title,Original Year,Path,Play Counter,Playlist Order,Publisher,Quality,Rating,Song Length,StS Status,Tempo,Title,Track #,VBR,Year
ColumnName=AlbumName,Album Art All,AlbumArtistName,Comment,ArtistName,Comment,Identifier,Bookmark,BPM,Cached,Comment,Author,Conductor,Copyright,Custom1,Custom2,Custom3,Custom4,Custom5,DateAdded,ID||_||DeviceCaption,DiscNumberStr,Encoder,FileModified,Genre,Grouping,InvolvedPeople,isBookmarkable,IsntInDB,ISRC,LastPlayed,Leveling,LevelingAlbum,Lyricist,Lyrics,Mood,Occasion,OriginalArtist,OriginalLyricist,OriginalTitle,OriginalYear,Path,PlayCounter,PlaylistOrder,Publisher,Quality,Rating,SongLengthString,MasterID,Tempo,Title,TrackOrderStr,VBR,Year
ColumnTable=,Covers,,Albums,,Artists,TrackBackup,,,,,,,,,,,,,,Devices,,,,,,,,,,,,,,,,,,,,,,,,,,,,SyncTheSync,,,,,
ColumnFormat=,DO-AA,,TA,,TA,DO,,,DO,TA,,,,TB-DD,TB-DD,TB-DD,TB-DD,TB-DD,DO,DO,,,DO,,,,DO,DO,,DO,DO,DO,,TA,TB-DD,TB-DD,,,,,,DO,,,TB-DD,TB-DD,DO,DO,TB-DD,,,DO,
ColumnSQL=,PreEqual=AlbumArt,,objSongData.Album.ID=ID,,PreEqual=Artist,objSongData.ID=ID,,,,,,,,,,,,,,ID IN (SELECT IDDevice FROM DeviceTracks WHERE objSongData.ID=IDTrack),,,,,,,,,,,,,,,,,,,,,,,,,,,,objSongData.ID=SongID,,,,,



[Edit - Artist]
ColumnHeader0=Artist
ColumnName0=ArtistName
ColumnTable0=
ColumnFormat0=
ColumnSQL0=
Column0=1
Row0=1
HeaderTop0=0
DropDown0=0
ColumnHeader1=Composer
ColumnName1=Author
ColumnTable1=
ColumnFormat1=
ColumnSQL1=
Column1=1
Row1=2
HeaderTop1=0
DropDown1=0
ColumnHeader2=Publisher
ColumnName2=Publisher
ColumnTable2=
ColumnFormat2=
ColumnSQL2=
Column2=1
Row2=3
HeaderTop2=0
DropDown2=0
ColumnHeader3=Artist Comment
ColumnName3=Comment
ColumnTable3=Artists
ColumnFormat3=TA
ColumnSQL3=PreEqual=Artist
Column3=1
Row3=4
HeaderTop3=1
DropDown3=0
[Edit - Lyrics]
ColumnHeader0=Lyrics
ColumnName0=Lyrics
ColumnTable0=
ColumnFormat0=TA
ColumnSQL0=
Column0=1
Row0=1
HeaderTop0=0
DropDown0=0
[Edit - Track]
ColumnHeader0=Artist
ColumnName0=ArtistName
ColumnTable0=
ColumnFormat0=
ColumnSQL0=
Column0=1
Row0=1
HeaderTop0=0
DropDown0=0
ColumnHeader1=Title
ColumnName1=Title
ColumnTable1=
ColumnFormat1=
ColumnSQL1=
Column1=1
Row1=2
HeaderTop1=0
DropDown1=0
ColumnHeader2=Album
ColumnName2=AlbumName
ColumnTable2=
ColumnFormat2=
ColumnSQL2=
Column2=1
Row2=3
HeaderTop2=0
DropDown2=0
ColumnHeader3=Album Artist
ColumnName3=AlbumArtistName
ColumnTable3=
ColumnFormat3=
ColumnSQL3=
Column3=1
Row3=4
HeaderTop3=0
DropDown3=0
ColumnHeader4=Grouping
ColumnName4=Grouping
ColumnTable4=
ColumnFormat4=
ColumnSQL4=
Column4=1
Row4=5
HeaderTop4=0
DropDown4=0
ColumnHeader5=Disc #
ColumnName5=DiscNumberStr
ColumnTable5=
ColumnFormat5=
ColumnSQL5=
Column5=1
Row5=6
HeaderTop5=0
DropDown5=0
ColumnHeader6=Year
ColumnName6=Year
ColumnTable6=
ColumnFormat6=
ColumnSQL6=
Column6=1
Row6=7
HeaderTop6=0
DropDown6=0
ColumnHeader7=Original Year
ColumnName7=OriginalYear
ColumnTable7=
ColumnFormat7=
ColumnSQL7=
Column7=2
Row7=7
HeaderTop7=0
DropDown7=0
ColumnHeader8=Genre
ColumnName8=Genre
ColumnTable8=
ColumnFormat8=
ColumnSQL8=
Column8=1
Row8=8
HeaderTop8=0
DropDown8=0
ColumnHeader9=Track #
ColumnName9=TrackOrderStr
ColumnTable9=
ColumnFormat9=
ColumnSQL9=
Column9=2
Row9=6
HeaderTop9=0
DropDown9=0
[Review Only]
ColumnHeader0=Album Art All
ColumnName0=Album Art All
ColumnTable0=Covers
ColumnFormat0=DO-AA
ColumnSQL0=PreEqual=AlbumArt
Column0=1
Row0=1
HeaderTop0=1
TAIntLines0=1
AAPixels0=100
DropDown0=0
ColumnHeader1=Device
ColumnName1=ID||_||DeviceCaption
ColumnTable1=Devices
ColumnFormat1=DO
ColumnSQL1=ID IN (SELECT IDDevice FROM DeviceTracks WHERE objSongData.ID=IDTrack)
Column1=2
Row1=1
HeaderTop1=1
TAIntLines1=1
AAPixels1=1
DropDown1=0
ColumnHeader2=Date Added
ColumnName2=DateAdded
ColumnTable2=
ColumnFormat2=DO
ColumnSQL2=
Column2=1
Row2=2
HeaderTop2=0
TAIntLines2=1
AAPixels2=1
DropDown2=0
ColumnHeader3=File Modified
ColumnName3=FileModified
ColumnTable3=
ColumnFormat3=DO
ColumnSQL3=
Column3=1
Row3=3
HeaderTop3=0
TAIntLines3=1
AAPixels3=1
DropDown3=0
ColumnHeader4=Song Length
ColumnName4=SongLengthString
ColumnTable4=
ColumnFormat4=DO
ColumnSQL4=
Column4=1
Row4=4
HeaderTop4=0
TAIntLines4=1
AAPixels4=1
DropDown4=0
ColumnHeader5=Play Counter
ColumnName5=PlayCounter
ColumnTable5=
ColumnFormat5=DO
ColumnSQL5=
Column5=1
Row5=5
HeaderTop5=0
TAIntLines5=1
AAPixels5=1
DropDown5=0
ColumnHeader6=Last Played
ColumnName6=LastPlayed
ColumnTable6=
ColumnFormat6=DO
ColumnSQL6=
Column6=2
Row6=5
HeaderTop6=0
TAIntLines6=1
AAPixels6=1
DropDown6=0
[test]
ColumnHeader0=Album
ColumnName0=AlbumName
ColumnTable0=
ColumnFormat0=
ColumnSQL0=
Column0=1
Row0=2
HeaderTop0=0
TAIntLines0=10
AAPixels0=75
DropDown0=0
ColumnHeader1=Custom1
ColumnName1=Custom1
ColumnTable1=
ColumnFormat1=TB-DD
ColumnSQL1=
Column1=1
Row1=4
HeaderTop1=0
TAIntLines1=10
AAPixels1=75
DropDown1=1
ColumnHeader2=Custom2
ColumnName2=Custom2
ColumnTable2=
ColumnFormat2=TB-DD
ColumnSQL2=
Column2=1
Row2=5
HeaderTop2=0
TAIntLines2=10
AAPixels2=75
DropDown2=1
[Edit - Classification]
ColumnHeader0=Tempo
ColumnName0=Tempo
ColumnTable0=
ColumnFormat0=TB-DD
ColumnSQL0=
Column0=1
Row0=1
HeaderTop0=0
TAIntLines0=1
AAPixels0=1
DropDown0=1
ColumnHeader1=Mood
ColumnName1=Mood
ColumnTable1=
ColumnFormat1=TB-DD
ColumnSQL1=
Column1=1
Row1=2
HeaderTop1=0
TAIntLines1=1
AAPixels1=1
DropDown1=1
ColumnHeader2=Occasion
ColumnName2=Occasion
ColumnTable2=
ColumnFormat2=TB-DD
ColumnSQL2=
Column2=1
Row2=3
HeaderTop2=0
TAIntLines2=1
AAPixels2=1
DropDown2=0
ColumnHeader3=Quality
ColumnName3=Quality
ColumnTable3=
ColumnFormat3=TB-DD
ColumnSQL3=
Column3=1
Row3=4
HeaderTop3=0
TAIntLines3=1
AAPixels3=1
DropDown3=1
ColumnHeader4=Custom1
ColumnName4=Custom1
ColumnTable4=
ColumnFormat4=TB-DD
ColumnSQL4=
Column4=1
Row4=5
HeaderTop4=0
TAIntLines4=1
AAPixels4=1
DropDown4=1
ColumnHeader5=Custom2
ColumnName5=Custom2
ColumnTable5=
ColumnFormat5=TB-DD
ColumnSQL5=
Column5=1
Row5=6
HeaderTop5=0
TAIntLines5=1
AAPixels5=1
DropDown5=0
ColumnHeader6=Custom3
ColumnName6=Custom3
ColumnTable6=
ColumnFormat6=TB-DD
ColumnSQL6=
Column6=1
Row6=7
HeaderTop6=0
TAIntLines6=1
AAPixels6=1
DropDown6=0
ColumnHeader7=Custom4
ColumnName7=Custom4
ColumnTable7=
ColumnFormat7=TB-DD
ColumnSQL7=
Column7=1
Row7=8
HeaderTop7=0
TAIntLines7=1
AAPixels7=1
DropDown7=1
ColumnHeader8=Custom5
ColumnName8=Custom5
ColumnTable8=
ColumnFormat8=TB-DD
ColumnSQL8=
Column8=1
Row8=9
HeaderTop8=0
TAIntLines8=1
AAPixels8=1
DropDown8=1
[Edit - Comments]
ColumnHeader0=Artist Comment
ColumnName0=Comment
ColumnTable0=Artists
ColumnFormat0=TA
ColumnSQL0=PreEqual=Artist
Column0=1
Row0=1
HeaderTop0=1
TAIntLines0=10
AAPixels0=1
DropDown0=0


With the new version I get this error:

Image

Nyn
Last edited by nynaevelan on Wed Aug 06, 2008 2:43 pm, edited 2 times in total.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5558
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Fri Jul 25, 2008 12:23 pm

I can't see the image but I'm guessing the line number is around 1440 still?

The panel you are using is Edit - Classification?

And you are changing Custom 1 from ? to ?

It displays ok when you first select the track?

only an error when you click OK?

after the error if you change selecton and re select the same track the changes are correct?
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Fri Jul 25, 2008 12:39 pm

This is a bit of a stab in the dark but it's the best I can think of atm

Change this code in ...Scripts\Auto\PropertiesPanel.vbs in a section called "Sub OnClickOK" around lines 1036 to 1043 in 3.0.0 and around lines 1022 to 1028 in 2.2.5
Code: Select all
  If Update = True Then
    tmpSongList.Add objSongData
    tmpSongList.UpdateAll
  End If
  Call RebuildCustomLists
  Call Refresh
End Sub

to
Code: Select all
  If Update = True Then
    tmpSongList.Add objSongData
    tmpSongList.UpdateAll
  End If
  Doc.Close
  Call RebuildCustomLists
  Call Refresh
End Sub
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Fri Jul 25, 2008 12:53 pm

The error has been reported in other scripts here and here but reading further there dosen't seem to be an obvious fix, will keep reading.
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Fri Jul 25, 2008 1:29 pm

Small change to the beta version 3.0.1

If it fixes the error I will update 2.2.5 as well

[EDIT] It's 4:30am I better get some sleep :(
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby nynaevelan » Fri Jul 25, 2008 4:05 pm

Now I am getting an error on line 1272 when I open MM, it doesn't seem to like any of the panels with any of the Custom Fields in it. :(

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5558
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Fri Jul 25, 2008 6:36 pm

OK, I'm up

1272 is part of the built in "Custom Fields" panel, is that what you had selected?


I think I know whats going on even though I can't reproduce it here. Give me a little while to test my theory and release a fix

[EDIT] How do you have the custom fields panel set up in the options? which are checked for dropdown and which are checked for text box?
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby nynaevelan » Fri Jul 25, 2008 6:54 pm

MoDementia wrote:OK, I'm up

1272 is part of the built in "Custom Fields" panel, is that what you had selected?


Nothing is selected when I get the error when I start MM, but I also get it when I select any panel that has any custom fields in it.


MoDementia wrote:I think I know whats going on even though I can't reproduce it here. Give me a little while to test my theory and release a fix

[EDIT] How do you have the custom fields panel set up in the options? which are checked for dropdown and which are checked for text box?


Here are my options:

Image

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5558
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Sat Jul 26, 2008 1:40 am

With Nyn's help I think I have tracked the error down to a character(s) in the library data that is not compatible with html.

I have tried to make a debug version but without knowing exactly what I'm looking for it would be a hit and miss exercise.

The easiest way to find it, I think, is for anyone that is experiencing the error to link me their database (MM.DB) to so i can download and test with it.
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Sat Jul 26, 2008 6:30 am

Version 3.0.2

When you install this version it will ask if you would like to check for suspect characters in all the dropdown fields.

If you are not experiencing any errors then just answer NO as it takes a while to check them all.

Suspect tracks are in the log file ...Scripts\PropertiesPanel\CL.txt

To run it again after install add this to the ...Scripts\Scripts.ini file, restart MM and run CheckDropDowns from the normal scripts menu
Code: Select all
[CheckDropDowns]
Filename=Auto\PropertiesPanel.vbs
Procname=CheckDropDowns
Order=100
DisplayName=CheckDropDowns
Description=CheckDropDowns
Language=VBScript
ScriptType=0
Shortcut=
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby nynaevelan » Sat Jul 26, 2008 8:28 am

3.0.2 fixed my errors, the strange thing is there were no strange characters found in any of my fields and I did not do anything to any of the files between 3.0.1 and 3.0.2. :-?

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
 
Posts: 5558
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby onenonymous » Sat Jul 26, 2008 3:25 pm

I've been playing around with 3.0.2 and I must say I like it! It's been very helpful for me as I update my RCFW script to add Album Comments and Artist Comments. I noticed in testing though that some extended characters cause your script to error. I haven't done full trouble-shooting - but try to put some extended characters into the comments fields and it throws an error. For example - the following text from wikipedia errors when you try to put it into Artist Comments with one of your panels:
David Bowie (pronounced /ˈboʊiː/) (born David Robert Jones on 8 January 1947) is an English musician, actor, producer, arranger, and audio engineer. Active in five decades of rock music and frequently reinventing his music and image, Bowie is regarded as an influential innovator, particularly for his work through the 1970s.[1]
http://en.wikipedia.org/wiki/David_Bowie
I did some testing, and it's this character: ʊ in the pronunciation key /ˈboʊiː/. I'm not sure which other extended characters will cause the problem - but thought I'd point it out so you can handle them in a future version of the script.
onenonymous
 
Posts: 374
Joined: Sat Feb 02, 2008 1:09 pm
Location: Texas

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby MoDementia » Sat Jul 26, 2008 5:16 pm

Thanks Onenonymous, I had no doubt that some characters would create problems for the script at some point especially in the comment type fields :(

I put that text into MM and you can't see 3 of the characters ˈ ʊ and ː (turn into squares) but copy and paste from MM to the forum restores them
So I suppose it's worth keeping them intact for some users.

The few examples for handling these characters are a PITA, not so much code wise but processing time (1 character at a time) :(

Perhaps a compromise would be to only check the comment type fields initially (maybe lyrics) or better still an optional flag for each field so as users come accross the error they can flag the problem field.
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: Custom Properties Panel v2.2.5 (25-07-08) [MM3]

Postby onenonymous » Sat Jul 26, 2008 5:35 pm

PITA is right :-? I'd suggest you add some "on error resume next" lines in there though so you at least don't stop the script. I had numerous times in testing where this occured - to fix, I had to close your panel, change the text, then re-open the panel.

Perhaps one of the other wizards in the forums have ideas on how to deal with extended characters.
onenonymous
 
Posts: 374
Joined: Sat Feb 02, 2008 1:09 pm
Location: Texas

Re: Custom Properties Panel v3.1.0 (27-07-08) [MM3]

Postby MoDementia » Sat Jul 26, 2008 11:27 pm

New Version
I strongly advise checking for extended characters on the first install

' 27-07-08 Version 3.1
' Optional Extended Character Handling for Fields
' Optional scan for Extended Character Handling on Install (Custom Fields and Comment Types Only)
' Removed Green Highlight for "all values the same" for Multi-Select Custom Fields Panel
' Optional Multi Selection per Panel (Custom Fields Only this release)

[EDIT] Somehow I lost the check to add the "---More---" or not in the dropdowns. Download again if it effects you, i.e. you have no values after the "---More---"
MoDementia
 
Posts: 1320
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 20 guests