Scripts

You found a bug or have any issues? Please post them here!
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Scripts

Post by andre »

Hey Bernd, in the new version of ProppFrexx my scrips don't work.
The just don't load.
When i go to the previous version everything is ok.


Greetings, Andre.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Scripts

Post by radio42 »

That sounds a bit strange, as nothing was changed in that area.
From which version are you comming/upgrading?

If nothing helps, simply reload the scripts, i.e. go to the 'Script Library Management' dialog and remove your existing ones and then re-add them again.
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Re: Scripts

Post by andre »

Hello, i'm updating from the last version.
I use the scrips with ratings.
I think this is the problem with the new version.
ProppFrexx doesn't see the ratings anymore, so no tracks will be loaded.
When i make a new script without using the rating there is no problem.


greetings, Andre.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Scripts

Post by radio42 »

Have you tried to 'test' your Filter (which uses the Rating condition).
E.g. open the Script Editor and click on the '?' button in the Filter column.
Within the 'Find Expression Builder' click on the 'Test' button to see, if any tracks are actually matching your defined Filter.
Are any tracks displayed/listed there?
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Re: Scripts

Post by andre »

Hello, Bernd


Yes i did that but no tracks where found in the first place.
I did a clean install and rebuild my scripts.
Now it's working again.
I don't know what went wrong but it's ok now.
Thank you for your quick response.

Greetings, Andre.
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Re: Scripts

Post by andre »

Bernd, sorry i have a problem with my scripts again.
ProppFrexx needs a long time to generate my script.
When i generate a new script without the ratings tag there's no problem.
And sometime's this happens,


********** Error/Exception Information **********
Error Message: Object reference not set to an instance of an object.
Error Type: System.NullReferenceException
Error Source: ProppFrexx ONAIR.Void a(Byte)
********** System Stack Trace **********
at ProppFrexx.a3.a(Byte A_0)
at ProppFrexx.ct.q.b()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

********** End **********
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Scripts

Post by radio42 »

Which version are you using?
Need this info to locate the exact error...
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Re: Scripts

Post by andre »

I Use version 3.0.10.36.
andre
Posts: 42
Joined: 11 Apr 2012 18:28
Re: Scripts

Post by andre »

Bernd, before version 3.0.10.31 i had never a problem with a script with ratings.
The scripts loaded fast.
This error comes in when i generate a script and do someting else with proppfrexx like look for a file.
I think its not a bug but a settings problem.
When i generate a script and do nothing else until it's loaded there is no problem.

i use folder based media library's.
Keep synced option is on.

[Rating] > '50' And [Last Played in Days] > 2.0

Loaded Media Libraries: 10

Library: /jingles Gouwe Ouwe
D:\jingles Gouwe Ouwe
AutoSave: False, Is Additional: True
Tracks: 31, Auto Watch: False, Sorted: False
Total Duration: 4:07
Average Duration: 0:08
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:11
Loading Duration: 00:00:00.0020001
History: 29 (0), Hits: 0 (0)

Library: /50s & 60s
D:\50s & 60s
AutoSave: False, Is Additional: True
Tracks: 2798, Auto Watch: False, Sorted: False
Total Duration: 5.16:34:40
Average Duration: 2:56
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:11
Loading Duration: 00:00:00.0910052
History: 0 (0), Hits: 13 (0)

Library: /70s
D:\70s
AutoSave: False, Is Additional: True
Tracks: 5077, Auto Watch: False, Sorted: False
Total Duration: 12.22:22:21
Average Duration: 3:40
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:11
Loading Duration: 00:00:00.1850105
History: 0 (0), Hits: 14 (0)

Library: /80s
D:\80s
AutoSave: False, Is Additional: True
Tracks: 3923, Auto Watch: False, Sorted: False
Total Duration: 10.23:19:58
Average Duration: 4:02
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:12
Loading Duration: 00:00:00.1290074
History: 0 (0), Hits: 13 (0)

Library: /90s
D:\90s
AutoSave: False, Is Additional: True
Tracks: 3305, Auto Watch: False, Sorted: False
Total Duration: 9.11:03:36
Average Duration: 4:07
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:12
Loading Duration: 00:00:00.1040060
History: 0 (0), Hits: 7 (0)

Library: /2000s
D:\2000s
AutoSave: False, Is Additional: True
Tracks: 2760, Auto Watch: False, Sorted: False
Total Duration: 7.5:13:11
Average Duration: 3:46
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:12
Loading Duration: 00:00:00.1290074
History: 2758 (0), Hits: 6 (0)

Library: /2010s
D:\2010s
AutoSave: False, Is Additional: True
Tracks: 1227, Auto Watch: False, Sorted: False
Total Duration: 3.5:07:11
Average Duration: 3:46
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:12
Loading Duration: 00:00:00.0440025
History: 1225 (45), Hits: 6 (0)

Library: /Top 40 & Tipparade
D:\Top 40 & Tipparade
AutoSave: False, Is Additional: True
Tracks: 127, Auto Watch: False, Sorted: False
Total Duration: 7:55:46
Average Duration: 3:45
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:30:58
Loading Duration: 00:00:00.0650037
History: 125 (0), Hits: 0 (0)

Library: /Lokaal
D:\Lokaal
AutoSave: False, Is Additional: True
Tracks: 2130, Auto Watch: False, Sorted: False
Total Duration: 5.7:18:46
Average Duration: 3:35
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:30:58
Loading Duration: 00:00:00.6020344
History: 0 (0), Hits: 0 (0)

Library: /Nederlands talig
D:\Nederlands talig
AutoSave: False, Is Additional: True
Tracks: 4257, Auto Watch: False, Sorted: False
Total Duration: 10.11:17:11
Average Duration: 3:33
Last Access: 4-5-2012 20:57:19, Last Refresh: 4-5-2012 18:31:00
Loading Duration: 00:00:01.7561005
History: 0 (0), Hits: 0 (0)

Loaded Script Libraries: 1

Library: Non Stop
C:\Users\Gebruiker\AppData\Roaming\radio42\ProppFrexx ONAIR\3.0\scripts\Non Stop.pfs
Is Additional: True
Last Access: 4-5-2012 18:31:11, Last Refresh: 4-5-2012 18:31:01
History: 0 (0), Hits: 0
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Scripts

Post by radio42 »

Can you please show me your script-line settings (the 'Rating' Filters) you are using.
And what Media Lib are you using with it?
Is it a Folder based Media Lib?
If yes, did you set the "Keep _synced_.pfp Playlist with Folder" option (see general settings, section 'Playlist/Others', and click on the 'More...' button in the Playlist Defaults group)?

Post Reply