Script fails to load

You have a question or need an advice about how to do something? Ask it here!
fred11
Posts: 11
Joined: 22 Jan 2023 22:59
Script fails to load

Post by fred11 »

Hi!
We use a script to run "standard rotation" continuously and automated. This script is run by scheduler (soft) at different times. When doing programs, we use RVT so the presenter is getting playlists and doing their shows and it works fine. In the script there are 34 lines with different rotation rules per line. It starts with a TOTH "loading file" and then set to loopline at line 2. The script works just fine. Almost all of the time. Now for the last 3 weeks, it has failed to load the upcoming scheduled script wich means that the music stops. One time it stopped after about 40 lines in the middle of a playlist.
But the most common problem is that it fails to load a new playslist from script. It is NOT the same time every week and it IS the same script.
I just cannot figure out what can be wrong.
The last thing I thought of was that Windows remote management could cause it, but after not using it for a few days, it still failed to load a new playslist.
Any thoughts of what can be my problem?

regards,
Fred
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Script fails to load

Post by radio42 »

To figure out, why it doesn‘t load tracks (which is most probably due to some script restrictions, rules or history issues) you can use the test function - even if this might also sometimes return results and on other days/times not?
I.e. select the script in the script library and click on the ‚Test…‘ button.
As the result might get too large to post it here, you might send it to me.
But maybe you can also spot an issue yourself…
fred11
Posts: 11
Joined: 22 Jan 2023 22:59
Re: Script fails to load

Post by fred11 »

Well, there is nothing wrong with the script since it loads correctly and also when testing. I have over 10.000 songs, and the restrictions would not make it not to load. And the first file, TOTH is unstricted and should be played on top of the new playlist. That does not happen either. The new playlist is open, but it is empty.... Is there any other settings ie number of playlists or same script after eachother? or something like that?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Script fails to load

Post by radio42 »

Yes sure, enable the 'Debug Logging' option in the general settings, section 'More Stuff' and if the Playlist opens empty again (record the exact time) and after send me the generated "Debug....log" file - you'll find it in the ProppFrexx AppUserData folder or see the Tools ribbon tab - Show Log Files....
And do not forget to disable the 'Debug Logging' option after.

Maybe ProppFrexx is unable to access the files to be loaded?
fred11
Posts: 11
Joined: 22 Jan 2023 22:59
Re: Script fails to load

Post by fred11 »

Hi again. Well, PF has access to all the files, since they are on a local drive. No problem there...
Again it stopped yesterday at 18:30. This is the errors I can find in the log. It starts actually in the night. I don't see any songs that weren't played thoug. Everything works until 18:30'ish. But this time it was in the middle of a script. The same script that have run for 4 days...


2023-02-12 00:00:23: DJPlayerReport: Player=A, Event=TrackStop: Ardours - Epitaph For A Spark
2023-02-12 00:00:23: DJPlayerReport: Player=A, Event=TrackCueOut: Ardours - Epitaph For A Spark
2023-02-12 00:00:23: AssignNextTrackToPlayer (CheckPlayersAndAssign-A) failed: AutomaticLoading=False
2023-02-12 00:00:24: AssignNextTrackToPlayer (TrackCueOut) failed: AutomaticLoading=False

2023-02-12 00:00:28: System.Xml.XmlException
Syntax for an XML declaration is invalid. Line 1, position 7.
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration(Boolean isTextDecl)
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.IsStartElement(String name)
at ProppFrexx.MediaEntry.ReadMetaData(XmlReader reader, TAG_INFO tag)
at ProppFrexx.MediaEntry.ReadMetaDataFromString(String xmlData, TAG_INFO tag)
at ProppFrexx.MediaEntry.ReadTagInfo(Boolean force, Int32 stream)
at ProppFrexx.MediaEntry..ctor(String filename, String trackname, TimeSpan duration)
at ProppFrexx.MediaLibraryFile.qmj1(RescanHelper )
at ProppFrexx.MediaLibraryFile.Rescan(RescanHelper rescanHelper)
at ProppFrexx.ProppFrexx_ONAIR.eQuj()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


2023-02-12 00:00:28: ReadMetaData Error: E:\Musik\Sändningsmapp\Rotation Som Körs\A\Kardinal Sin - Siege Of Jerusalem.mp3 (Syntax for an XML declaration is invalid. Line 1, position 7.)
2023-02-12 00:00:29: GetNextTracks processed, 2 script result entries returned.
2023-02-12 00:00:29: AssignNextTrackToPlayer (CheckPlayersAndAssign-A) started: Player=A (Empty)
2023-02-12 00:00:29: DJ-Start A: loading track (Shannon - Do You Know, AssignTrack-AssignNextTrackToPlayer)
2023-02-12 00:00:29: DJPlayerReport: Player=A, Event=TrackLoad: Shannon - Do You Know
2023-02-12 00:00:29: DJ-StartDone A: loading track (-2146079866, Shannon - Do You Know, 00:04:24.1730000)
2023-02-12 00:00:29: DJPlayerReport: Player=A, Event=TrackPause: Shannon - Do You Know
2023-02-12 00:00:29: AssignNextTrackToPlayer (TrackCueOut) failed: Player=A is already assigned1 (Cued, False)
2023-02-12 00:00:34: Rescan-Finished for Lib A - Heavy Rotation (False, False): Media Library Rescan completed!
Rescan completed for 'A - Heavy Rotation' in 0h:00m:05s.
Entries checked: 94 (0 dead)
TAGs (re)read: 0 triggered
2023-02-12 00:01:34: System.OverflowException
Array dimensions exceeded supported range.
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at c0.Ff.mX8(Int32 , Int16 )
at c0.Ff.HXO()
at Un4seen.Bass.AddOn.Tags.BassTags.ReadID3v2(IntPtr p, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(Int32 stream, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(String file, Boolean prescan, TAG_INFO tags)
at ProppFrexx.MediaEntry.ReadTagInfo(Boolean force, Int32 stream)
at ProppFrexx.MediaEntry..ctor(String filename, String trackname, TimeSpan duration)
at ProppFrexx.MediaLibraryFile.qmj1(RescanHelper )
at ProppFrexx.MediaLibraryFile.Rescan(RescanHelper rescanHelper)
at ProppFrexx.ProppFrexx_ONAIR.eQuj()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


2023-02-12 00:03:47: System.OverflowException
Array dimensions exceeded supported range.
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at c0.Ff.mX8(Int32 , Int16 )
at c0.Ff.HXO()
at Un4seen.Bass.AddOn.Tags.BassTags.ReadID3v2(IntPtr p, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(Int32 stream, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(String file, Boolean prescan, TAG_INFO tags)
at ProppFrexx.MediaEntry.ReadTagInfo(Boolean force, Int32 stream)
at ProppFrexx.MediaEntry..ctor(String filename, String trackname, TimeSpan duration)
at ProppFrexx.MediaLibraryFile.qmj1(RescanHelper )
at ProppFrexx.MediaLibraryFile.Rescan(RescanHelper rescanHelper)
at ProppFrexx.ProppFrexx_ONAIR.eQuj()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


2023-02-12 00:03:55: System.IndexOutOfRangeException
Index was outside the bounds of the array.
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at Un4seen.Bass.AddOn.Tags.TAG_INFO.EvalTagEntry(String tagEntry)
at Un4seen.Bass.AddOn.Tags.BassTags.ReadID3v2(IntPtr p, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(Int32 stream, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(String file, Boolean prescan, TAG_INFO tags)
at ProppFrexx.MediaEntry.ReadTagInfo(Boolean force, Int32 stream)
at ProppFrexx.MediaEntry..ctor(String filename, String trackname, TimeSpan duration)
at ProppFrexx.MediaLibraryFile.qmj1(RescanHelper )
at ProppFrexx.MediaLibraryFile.Rescan(RescanHelper rescanHelper)
at ProppFrexx.ProppFrexx_ONAIR.eQuj()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


2023-02-12 00:03:58: System.OverflowException
Array dimensions exceeded supported range.
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at c0.Ff.mX8(Int32 , Int16 )
at c0.Ff.HXO()
at Un4seen.Bass.AddOn.Tags.BassTags.ReadID3v2(IntPtr p, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(Int32 stream, TAG_INFO tags)
at Un4seen.Bass.AddOn.Tags.BassTags.BASS_TAG_GetFromFile(String file, Boolean prescan, TAG_INFO tags)
at ProppFrexx.MediaEntry.ReadTagInfo(Boolean force, Int32 stream)
at ProppFrexx.MediaEntry..ctor(String filename, String trackname, TimeSpan duration)
at ProppFrexx.MediaLibraryFile.qmj1(RescanHelper )
at ProppFrexx.MediaLibraryFile.Rescan(RescanHelper rescanHelper)
at ProppFrexx.ProppFrexx_ONAIR.eQuj()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()



2023-02-12 01:47:29: PLS-DoPlayNextTrack: A (NextTrack).
2023-02-12 01:47:29: DJPlayerReport: Player=C, Event=TrackPlay: Wig Wam - Where Does It Hurt
2023-02-12 01:47:29: PLS-DoPlayNextTrack NextStarted: C (NextTrack).
2023-02-12 01:47:29: DispatchCommand: EXEC_WRITE_PLAYLIST_LOG 20230212_Grundrotation @ 2023-02-12 00:00:00
2023-02-12 01:47:29: DispatchCommand Reply: OK
2023-02-12 01:47:30: DispatchCommand: EXEC_SEND_HTTP_GET http://air.radiotime.com/Playing.ashx?p ... itle=Where Does It Hurt&artist=Wig Wam&album=Never Say Die
2023-02-12 01:47:30: DispatchCommand Reply: OK
2023-02-12 01:47:30: UpdateEntryStatistics 'Wig Wam - Where Does It Hurt' PlayStart=2023-02-12T01:47:29
2023-02-12 01:47:31: DJPlayerReport: Player=A, Event=TrackStop: Kardinal Sin - Siege Of Jerusalem
2023-02-12 01:47:31: DJPlayerReport: Player=A, Event=TrackCueOut: Kardinal Sin - Siege Of Jerusalem
2023-02-12 01:47:31: Processing Script-Line 31 (Retries=2000): 1 LeastRecentlyPlayed : C - Archive (Filter=, Options=ForceLibraryHistoryCheck)
2023-02-12 01:47:31: Get Random Track C - Archive: TrackPointer=0, TrackCount=11267, Filter=LeastRecentlyPlayed, TargetDuration=
2023-02-12 01:47:31: MediaLibrary C - Archive CheckGlobalHistory: entry directly contained in global history (Serpentine - Bound By the Strings of Discord (Circle of Knives))
2023-02-12 01:47:31: Script-History: entry 'Artist' is contained in history (Entry=Heart - Heartless, Artist=Heart, MaxHistory=75)
2023-02-12 01:47:31: Get Random Track C - Archive: TrackPointer=2, TrackCount=11267, Filter=LeastRecentlyPlayed, TargetDuration=
2023-02-12 01:47:31: Global Scripting-Restriction: entry 'Artist' is contained in history (Entry=That Rock Guy - Bring on the Night, Artist=that rock guy, DontRepeatArtistCount=99)
2023-02-12 01:47:31: Scripting-GlobalScriptRule: track matches rule and was suppressed (Track=That Rock Guy - Bring on the Night, At=2023-02-12 02:08:14)
2023-02-12 01:47:31: Get Random Track C - Archive: TrackPointer=3, TrackCount=11267, Filter=LeastRecentlyPlayed, TargetDuration=
2023-02-12 01:47:31: GetNextTracks processed, 2 script result entries returned.
2023-02-12 01:47:31: AssignNextTrackToPlayer (CheckPlayersAndAssign-A) started: Player=A (Empty)
2023-02-12 01:47:31: DJ-Start A: loading track (Hollentor - Divergency, AssignTrack-AssignNextTrackToPlayer)
2023-02-12 01:47:31: DJPlayerReport: Player=A, Event=TrackLoad: Hollentor - Divergency
2023-02-12 01:47:31: DJ-StartDone A: loading track (-2146043027, Hollentor - Divergency, 00:04:17.1920000)
2023-02-12 01:47:31: DJPlayerReport: Player=A, Event=TrackPause: Hollentor - Divergency
2023-02-12 01:47:32: AssignNextTrackToPlayer (TrackCueOut) failed: Player=A is already assigned1 (Cued, False)
2023-02-12 01:51:39: PLS-DoPlayNextTrack: C (NextTrack).

2023-02-12 01:51:49: AssignNextTrackToPlayer (TrackCueOut) failed: Player=B is already assigned1 (Cued, False)
2023-02-12 01:56:00: PLS-DoPlayNextTrack: A (NextTrack).
2023-02-12 01:56:00: DJPlayerReport: Player=C, Event=TrackPlay: Awaken I Am - Seek Solace
2023-02-12 01:56:00: PLS-DoPlayNextTrack NextStarted: C (NextTrack).
2023-02-12 01:56:00: DispatchCommand: EXEC_WRITE_PLAYLIST_LOG 20230212_Grundrotation @ 2023-02-12 00:00:00
2023-02-12 01:56:00: DispatchCommand Reply: OK
2023-02-12 01:56:00: DispatchCommand: EXEC_SEND_HTTP_GET http://air.radiotime.com/Playing.ashx?p ... title=Seek Solace&artist=Awaken I Am&album=Shields And Crowns
2023-02-12 01:56:00: DispatchCommand Reply: OK
2023-02-12 01:56:01: UpdateEntryStatistics 'Awaken I Am - Seek Solace' PlayStart=2023-02-12T01:56:00
2023-02-12 01:56:01: DJPlayerReport: Player=A, Event=TrackStop: Hollentor - Divergency
2023-02-12 01:56:01: DJPlayerReport: Player=A, Event=TrackCueOut: Hollentor - Divergency
2023-02-12 01:56:01: Processing Script-Line 33 (Retries=2000): 1 Random : B - High rotation (Filter=, Options=ForceLibraryHistoryCheck)
2023-02-12 01:56:01: GetNextTracks processed, 1 script result entries returned (File=E:\Musik\Sändningsmapp\Rotation Som Körs\B\Ace Frehley - Space Invader (Space Invader).mp3).
2023-02-12 01:56:01: AssignNextTrackToPlayer (CheckPlayersAndAssign-A) started: Player=A (Empty)
2023-02-12 01:56:01: DJ-Start A: loading track (Endfield - Good Timing, AssignTrack-AssignNextTrackToPlayer)
2023-02-12 01:56:01: DJPlayerReport: Player=A, Event=TrackLoad: Endfield - Good Timing
2023-02-12 01:56:01: DJ-StartDone A: loading track (-2146043001, Endfield - Good Timing, 00:04:10.3370000)
2023-02-12 01:56:01: DJPlayerReport: Player=A, Event=TrackPause: Endfield - Good Timing
2023-02-12 01:56:02: AssignNextTrackToPlayer (TrackCueOut) failed: Player=A is already assigned1 (Cued, False)


2023-02-12 18:27:21: DJPlayerReport: Player=C, Event=TrackCueOut: Magic Dance - Looking For Love
2023-02-12 18:27:21: AssignNextTrackToPlayer (TrackCueOut) started: Player=C (Empty)
2023-02-12 18:27:21: AssignNextTrackToPlayer (Self-B) started: Player=B (Empty)
2023-02-12 18:27:21: AssignNextTrackToPlayer (TrackCueOut) failed: No next playlist entry or Player=C already assigned4 (Empty, False, )
2023-02-12 18:27:21: AssignNextTrackToPlayer (Self-B) failed: No next playlist entry or Player=B already assigned4 (Empty, False, )
2023-02-12 18:27:26: PLS-DoPlayNextTrack: A (NextTrack).
2023-02-12 18:27:26: PLS-DoPlayNextTrack-NoNext2: A (NextTrack).
2023-02-12 18:27:27: DJPlayerReport: Player=A, Event=TrackStop: Long Shadows Dawn - Raging Silence
2023-02-12 18:27:27: DJPlayerReport: Player=A, Event=TrackCueOut: Long Shadows Dawn - Raging Silence
2023-02-12 18:27:27: AssignNextTrackToPlayer (TrackCueOut) started: Player=A (Empty)
2023-02-12 18:27:27: AssignNextTrackToPlayer (TrackCueOut) failed: No next playlist entry or Player=A already assigned4 (Empty, False, )
2023-02-12 18:27:27: PLS-DoPlayNextTrack: A (AssignNextTrackToPlayer).
2023-02-12 18:27:27: PLS-DoPlayNextTrack-NoNext2: A (AssignNextTrackToPlayer).
2023-02-12 18:27:28: AssignNextTrackToPlayer (Self-C) started: Player=C (Empty)
2023-02-12 18:27:28: AssignNextTrackToPlayer (Self-B) started: Player=B (Empty)
2023-02-12 18:27:28: AssignNextTrackToPlayer (Self-B) failed: No next playlist entry or Player=B already assigned4 (Empty, False, )
2023-02-12 18:27:28: AssignNextTrackToPlayer (Self-C) failed: No next playlist entry or Player=C already assigned4 (Empty, False, )

2023-02-12 18:43:27: System.Net.Sockets.SocketException
Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 127.0.0.1:80
at Vb.LQ.rQ1J(Object , FirstChanceExceptionEventArgs )
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
at System.Net.Connection.CompleteStartConnection(Boolean async, HttpWebRequest httpWebRequest)
at System.Net.Connection.CompleteStartRequest(Boolean onSubmitThread, HttpWebRequest request, TriState needReConnect)
at System.Net.Connection.SubmitRequest(HttpWebRequest request, Boolean forcedsubmit)
at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName)
at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at ProppFrexx.ProppFrexx_ONAIR.oQ46()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Script fails to load

Post by radio42 »

Can you post me the entire log with all entries also those before 18:27, as it looks, like that the playlist 'ran empty' and no more tracks are scheduled - but tracks are scheduled ahead, depending on your settings, e.g. 5 tracks before. So the real issue could have happened at 17:45 or alike.
As such, it would be great, if you could post me the whole log.

It also seems, that some files have incorrect TAG data set... but that shouldn't be the reason.
fred11
Posts: 11
Joined: 22 Jan 2023 22:59
Re: Script fails to load

Post by fred11 »

The text is too large to post here. How can I send it to you?
/Fred
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Script fails to load

Post by radio42 »

Just zip the entire file and mail it to me.
fred11
Posts: 11
Joined: 22 Jan 2023 22:59
Re: Script fails to load

Post by fred11 »

I now saw the problem with loading files as it happened. I tried to add manually. It said "the song is in global song history, do you want to load anyway" and I pressed yes. The song loaded. Tried to add more songs both via "add random song from library, add song from script" and also search for a song and draged it to playlist, but all those tries failed. I had to reboot PF. Then PF watcher restarted PF and it started to run as it should.
Is there something with global song history??
/Fred
Last edited by fred11 on 16 Feb 2023 12:09, edited 1 time in total.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Script fails to load

Post by radio42 »

From the logs, it seems, that the processing of script-lines actually stops at around 18:05:00 - here the script ('Grundrotation') stops at script-line 8 and never returns any track from the library "C - Archive"

Can yo please send me your Grundrotation script (.pfs) and tell me what type of media libraries you are using, e.g. if you use the media library server or if the tracks are stored on a NAS or local disks etc.?!

As at 18:13:28 I do get an connection/socket error - which I couldn't really explain:
18:13:28: System.Net.Sockets.SocketException
Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 127.0.0.1:80
(even, if those errors already happens before)

What exact version are you using? - as I can then dig a little deeper is checked, what this actually is...

However, as no new tracks could be added to the playlist - it simply runs empty.
If this situation happens irregularly and randomly - it could indeed be an issue with some network drives or internal connection issue?

As after this happens, no new tracks could be scheduled at all...the script hangs and never returns anything further.

Post Reply