Skip to Content
It is currently March 3rd, 2021, 4:30 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: MySQL to Firebird
PostPosted: June 18th, 2020, 11:35 am 
Offline
Super User
Super User

Joined: August 18th, 2005, 10:25 am
Posts: 1321
I just reconfigured my 4.9.8 from MySQL to Firebird.
2 Questions:
1. I see Request Policy and HTML Output in my Configuration. Are these disabled by Firebird?
2. I loaded my tracks back into SAM. With Firebird, can I load in Station IDs, and if so, how?


Top
 Profile  
Reply with quote  
 Post subject: Re: MySQL to Firebird
PostPosted: June 18th, 2020, 2:23 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8156
Location: Cologne (Germany)
Everything in Firebird works just the same as in MySQL. The only difference is when it comes to how you access it from external software (i.e. PHP-templates).
Requests are possible using the Audiorealm service (HTML Page open popup, popup loads on audiorealm.com domain, audiorealm forwards request to you)
Dedications and messages with the request are not possible that way.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
 Post subject: Re: MySQL to Firebird
PostPosted: June 18th, 2020, 3:13 pm 
Offline
Super User
Super User

Joined: August 18th, 2005, 10:25 am
Posts: 1321
I can load the last 10 tracks from Audiorealm into an i-frame on my home page, but I don't know how to configure requests or station IDs.


Top
 Profile  
Reply with quote  
 Post subject: Re: MySQL to Firebird
PostPosted: June 18th, 2020, 3:34 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8156
Location: Cologne (Germany)
Open the Help menu in SAM, then select HTML Output Reference. That guide (albeit written with SAM 3 in mind), covers everything you need to know about how to have SAM upload generated static HTML files to your website.

dj001 wrote:
I can load the last 10 tracks from Audiorealm into an i-frame on my home page

OK, if you want to do that, that's fine as well. I got no clue why anyone would want to do that when SAM has a full-fledged static HTML-website included, but to each their own.

dj001 wrote:
but I don't know how to configure requests or station IDs.

Station IDs can be "configured" in the Playlist module of SAM. Just add them to the right category in the "Content" Section.
You can also "configure" when to play them in either the Event Scheduler or your Clockwheel rotation logic.

Or were you talking about showing/hiding them on the web output?
SAM's default HTML templates that ship with the product only show songs (type S tracks) in the playlist, but all tracks in history, queue and now playing.
To change that behaviour, you need to adjust the HTML templates (_playing.html) and add
Code:
<!--history.SONGTYPE="<songtype>"-->

in front of
Code:
<!--LOOP(history)-->


Same for queue.SONGTYPE and LOOP(queue) respectively.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
 Post subject: Re: MySQL to Firebird
PostPosted: June 18th, 2020, 4:14 pm 
Offline
Super User
Super User

Joined: August 18th, 2005, 10:25 am
Posts: 1321
HTML output is set to Port 21. I put in the ftp instrux, but see nothing at my webhost.

Also, how do I configure requests?


Top
 Profile  
Reply with quote  
 Post subject: Re: MySQL to Firebird
PostPosted: June 18th, 2020, 4:38 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8156
Location: Cologne (Germany)
dj001 wrote:
Also, how do I configure requests?

In _config.html

dj001 wrote:
HTML output is set to Port 21. I put in the ftp instrux, but see nothing at my webhost.

Tools -> HTML Output -> Generate Playlist and Tools -> HTML Output -> Upload all Pictures

If you still don't see anything, check the FTP log on Desktop B

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group