darkman2002 wrote:AWESOME
Just what I'm looking for.
Thanks
Houston, we have a problem.
This script is NOT working on MM4, at least to me.
Help, please.
Any ideas ???
regards

darkman2002 wrote:AWESOME
Just what I'm looking for.
Thanks
darkman2002 wrote:Wish Bex can give a try and make a new version that works fine with MM4 .
kiwichick wrote:Hi Bex, I'm currently using MM4.0.0.1439 and the playlists are no longer displayed in the chosen column (or in the Properties field). I have tried:
1. Options / Activate/Update
2. Playlist node / Rebuild PlaylistsNames in Main Window
3. Change chosen column and Activate/Update
4. Uninstall then re-install and Activate/Update
But none of those has helped. Any suggestions would be great. Cheers.
kiwichick wrote:I have posted in the Restore PlayHistory/Playlists/Metadata topic and it seems that the problem is definitely with Playlist in Main Window. The link is here:
viewtopic.php?f=2&t=42085&start=135#p322363
I hope Bex comes back soon and can take a look at this.
Yes, there is something strange with your database indeed. The problem is with Bex's script, and it is manifesting with many static playlists, not only those restored with my script. I suppose that it is not his fault, but the program itself or some another script which is creating playlists using SQL. Here is the explanation if you are interested about it. There is the IsAutoPlaylist field in the Playlists table which has a value of = 1 when a playlist is an auto-playlist, and by default it has a value = NULL if it is not an auto-playlist, but your database and some databases which I got from another users have some static playlists with empty value for IsAutoPlaylist field, i.e. it is not 0, nor NULL. I don't know whose fault is that, but it is not mine, my script doesn't create playlists with such values (except when restoring playlists from databases that already have such values).
Anyway, if you want to enable Bex's script to work even with such databases and since he is busy and hasn't time for the script's update, you could open it in Notepad and replace all occurrences of IsAutoPlaylist=0 to IsAutoPlaylist<>1.cat PathAndPlaylists.txt | while read z; do filename=$(echo "$z" | cut -f1); playlists=$(echo "$z" | cut -f2); eyeD3 --no-tagging-time-frame --no-zero-padding --set-text-frame=TCOM:"$playlists" "$filename" ; doneDim IntoCustFieldArray(6)
IntoCustFieldArray(0)="Select a Column..."
IntoCustFieldArray(1)=Ini.StringValue("CustomFields", "Fld1Name")
IntoCustFieldArray(2)=Ini.StringValue("CustomFields", "Fld2Name")
IntoCustFieldArray(3)=Ini.StringValue("CustomFields", "Fld3Name")
IntoCustFieldArray(4)=Ini.StringValue("CustomFields", "Fld4Name")
IntoCustFieldArray(5)=Ini.StringValue("CustomFields", "Fld5Name")
IntoCustFieldArray(6)="Grouping"Dim IntoCustFieldArray(7) '<--------------
IntoCustFieldArray(0)="Select a Column..."
IntoCustFieldArray(1)=Ini.StringValue("CustomFields", "Fld1Name")
IntoCustFieldArray(2)=Ini.StringValue("CustomFields", "Fld2Name")
IntoCustFieldArray(3)=Ini.StringValue("CustomFields", "Fld3Name")
IntoCustFieldArray(4)=Ini.StringValue("CustomFields", "Fld4Name")
IntoCustFieldArray(5)=Ini.StringValue("CustomFields", "Fld5Name")
IntoCustFieldArray(6)="Grouping"
IntoCustFieldArray(7)="Author" '<-------------Users browsing this forum: popsmike and 10 guests