• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

RadioDJ v2.0.1.5 BETA Released!

Started by Marius, December 19, 2018, 04:25:04 PM

plauri

Quote from: Brodephat on December 25, 2018, 10:44:28 PM

Many like myself will be using the database from a previous version.

Should we use a fresh install, import the earlier database then do the up date?

or

Should we install over the current system and then do a database update?

UPDATE:

I saw that have an UpdateTracks procedure and also an UpdateTracks2 procedure so I made the suggested changes (artist=@tArtist and the title=@tTitle to artist=tArtist and title=tTitle) under the UpdateTracks procedure and it seems to no longer load duplicates. Now I see the additional fields in the queuelist database.

Marius has repeatedly stated that with v2.0.1.5 you should not use an old database, but a fresh install.

With the previous v2.0.0.4 I did the upgrade (like you have done), but even after the UpdateTracks2 procedure the duplicates always happen  :(
Funky Corner Radio
Radiodj v.2.0.4.5 (Windows 10)
http://www.funkycorner.radio
https://www.funkycorner.it
http://www.radiofunkycorner.com

Brodephat

#16
Quote from: plauri on December 26, 2018, 12:27:36 AM
Marius has repeatedly stated that with v2.0.1.5 you should not use an old database, but a fresh install.

With the previous v2.0.0.4 I did the upgrade (like you have done), but even after the UpdateTracks2 procedure the duplicates always happen  :(

I made the changes on the UpdateTracks procedure. However, it has @tArtist and not @curArtist. This seems to be working very well for me.

The UpdateTracks2 procedure has the correct code/look according to what Marius posted.


Also, how would one maintain all of the events, categories, sub categories and the likes when updating without using the most current database backup from the previous system?

I did do a fresh install, then imported the most current backup and got my problems.

My problem was solved once I did the same change mentioned for artist=@curArtist and title=@curTitle

I did the same to artist=@tArtist and title=@tTitle

I removed the @ character.

"Think Outside The Box And Make Something Truly Wonderful Happen"

Youtube Channel: https://bit.ly/3fGBsKJ

My RadioDJ Stations:
NiaRadioNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

Calypso

Quote from: Brodephat on December 25, 2018, 10:44:28 PM
It seems a more step by step approach is needed to help many understand the proper way to do an update.

True; personally I think the update process for RDJ could be better, because now you have to do the enabling/disabling of plugins (i.e. the moving of plugins), settings and database upgrade yourself. But for me it just takes time and I can cope with it. I can imagine for quite a number of users it is a pain.

Quote from: Brodephat on December 25, 2018, 10:44:28 PM
Many like myself will be using the database from a previous version.

I've seen the reaction that Marius stated to start with a fresh database with a new version. I can imagine that, and I do it for testing purposes. If you really want to use a version, that's not an option though: 20k tracks in WAV with attached album art and cue points in it... don't use filetags on it so you have to do it all again. A number of rotations creating again? No thanks either.

So it's not always an option to start from a new database.

Quote from: Brodephat on December 25, 2018, 10:44:28 PM
Should we use a fresh install, import the earlier database then do the up date?
or
Should we install over the current system and then do a database update?

I would test with fresh databases and a subset of your files and rotations. When it works, copy your database to a new one and upgrade that. I prefer to do that step by step to see if every part of the update works. When done, compare the database structure to the database you've used for test to double check that the upgrade went as expected.

Yes, quite a lot of work, but it prevents strange results.

@Marius: Maybe an option to put a field somewhere in the database that the RDJ client reads out with a database version number? So RDJ would do a "select rdj_db_version from table xx" and if the version is lower as the needed version it'd give a warning?

plauri

Quote from: Calypso on December 27, 2018, 09:32:12 AM

@Marius: Maybe an option to put a field somewhere in the database that the RDJ client reads out with a database version number? So RDJ would do a "select rdj_db_version from table xx" and if the version is lower as the needed version it'd give a warning?

It seems to me a very good advice to Marius.

As far as the rest of your post is concerned, just one point I want to focalize: there are users (like me) that have spent not days, not months, but years to set Intro, Hook In and Out and I personally would never start that job again. It's not difficult to remake 10 rotations or 50 events from scratch, but Intros definitely NO! That's why I need a secure step to upgrade (from my 1.8.2). I'm still testing 2.0.1.5: nothing bad to report.
Funky Corner Radio
Radiodj v.2.0.4.5 (Windows 10)
http://www.funkycorner.radio
https://www.funkycorner.it
http://www.radiofunkycorner.com

Calypso

Quote from: plauri on December 27, 2018, 12:00:41 PM
As far as the rest of your post is concerned, just one point I want to focalize: there are users (like me) that have spent not days, not months, but years to set Intro, Hook In and Out and I personally would never start that job again.

That is exactly my point: some people may say that you'd put the cuepoint info and attached album art into the file as tags, but with WAV files, that's a disaster, so you don't want to do that.

Brodephat

I think I may have found a bug.

Whenever I use the Newest From Folder, it works fine the first time when fired from an event, then the next time is does nothing. When I open the Track Editor, the Path line to the folder is empty. 

I did not find anything new in the RDJ logs nor is there any errors in the Windows log.
"Think Outside The Box And Make Something Truly Wonderful Happen"

Youtube Channel: https://bit.ly/3fGBsKJ

My RadioDJ Stations:
NiaRadioNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

Brodephat

Have seen this error often in the Windows logs


Playing Info Plugin [Web Export] Error: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at Plugin_PlayingInfo.ClassUpdate.‍‏‬‍​‫‎‫‍​‬‮‭‌‫‌​‪‭‎‌‬‫‬‌‭‏‪‎‪‮(SongData )
"Think Outside The Box And Make Something Truly Wonderful Happen"

Youtube Channel: https://bit.ly/3fGBsKJ

My RadioDJ Stations:
NiaRadioNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

Anton

Can someone help me with this,  I build a new system for v2.0.1.5   And I am trying to import the album cover on it, The older version the album cover work. I'm trying to get it to work on this  new version  can someone really help me with this..

RadioDJ is the Best!!

plauri

Quote from: Anton on December 28, 2018, 02:01:00 AM
Can someone help me with this,  I build a new system for v2.0.1.5   And I am trying to import the album cover on it, The older version the album cover work. I'm trying to get it to work on this  new version  can someone really help me with this..

RadioDJ is the Best!!

I use Mp3Tag to get album covers. Before importing tracks into radiodj I edit tracks with Mp3Tag and search for covers, then save. When you import those tracks radiodj will show covers in the upper left windows near title and artist, but this is just for fun. To show my covers into the player I use a player from Azoto Solution which does the job no matter if I have loaded a cover or not into radiodj...
Funky Corner Radio
Radiodj v.2.0.4.5 (Windows 10)
http://www.funkycorner.radio
https://www.funkycorner.it
http://www.radiofunkycorner.com

Anton

Quote from: plauri on December 28, 2018, 03:14:40 AM
I use Mp3Tag to get album covers. Before importing tracks into radiodj I edit tracks with Mp3Tag and search for covers, then save. When you import those tracks radiodj will show covers in the upper left windows near title and artist, but this is just for fun. To show my covers into the player I use a player from Azoto Solution which does the job no matter if I have loaded a cover or not into radiodj...

Thanks! But can I do it the old way?

Brodephat

i'm using v2.0.1.5 and it works the same for me.
"Think Outside The Box And Make Something Truly Wonderful Happen"

Youtube Channel: https://bit.ly/3fGBsKJ

My RadioDJ Stations:
NiaRadioNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

Jhonny

Quote from: Anton on December 28, 2018, 02:01:00 AM
Can someone help me with this,  I build a new system for v2.0.1.5   And I am trying to import the album cover on it, The older version the album cover work. I'm trying to get it to work on this  new version  can someone really help me with this..

RadioDJ is the Best!!
Have you set the Art Storage path where to store the album art.
R.T.F.M. means to me, Read The Fantastic Messages.
Einstein says: Make things simple, but don't make simple things simpler! (wise) this is just my life lesson you know.

I don't do drugs ( ͡° ͜ʖ ͡°)
The Radiodj tutorials site is now managed by Domstad radio .nl still  Just in English

Vanlen

2.0.1.5 Beta/Win 10/MariaDB - Fresh Install and build with Options Keep in playlist set at "0"

Running for over 10 days now and used this version over Christmas with programing events to switch to holiday music, special jingles, features and such all with events for setting up special rotations and then changed everything back to regular station jingles and music after Boxing Day.  Everything was smooth with no hiccups and the best part.........Nothing in the Error Logs  :cool:


Thanks Marius.
Forest Green - Music in Nature's Frequency
www.forestgreenradio.ca

Brodephat

Hey I got this error in the logs for one of my stations. It cause the station to shut down:

31 Dec 2018 08:00:22
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at ^d8jFH/x\&yx\&p:2)Vxq3Z :7%.?????????????????????????????????????????()
   at ^d8jFH/x\&yx\&p:2)Vxq3Z :7%.?????????????????????????????????????????(Object )
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)


I assume the rules may be too high?

"Think Outside The Box And Make Something Truly Wonderful Happen"

Youtube Channel: https://bit.ly/3fGBsKJ

My RadioDJ Stations:
NiaRadioNetwork.com
RealPeopleTalkRadio.com
TheTriadComeUp.com

Radio Imaging & Tools:
CarterScripts.com

Free RDJ Videos:
HowToUseRadioDJ.com

chrismadog

Hi Marius,

I've been running RadioDJ v2.0.1.5 on my server as a second task (with it's own database replicated from v1.8.2) using the second sound card since the 3rd January.

It was doing fine until this morning. It was unresponsive with no songs in the playlist. Apparently (I was told) it had an error saying it had no rotation set.
This is an error I have also seen sometimes on v2.0.0.6f.
On the 3rd January I deleted all rotations and made them again. I checked them as I did them as well.
The smallest number of tracks in any rotation is in excess of 800 tracks with a no-repeat of 360 minutes (3 hrs). The rotation that was scheduled was 80s&90s with well over 3000 tracks yet it was saying "No rotation set" - or something like that.

Looking at the Logs directory - The exception log says;
Log starts:

5 Jan 2019 14:47:07
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

8 Jan 2019 04:51:44
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

8 Jan 2019 04:51:44
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

Log ends:

I have no idea what the connection attempt was or to what. Is it the database ?

Kind regards with thanks - Happy New Year !

Chris
Presenter - 4SDB - Rose City FM 89.3 - Warwick, QLD Australia.
Station Engineer - http://rosecityfm.org.au
Community Radio - Bringing you the best of local radio.