![]() ![]() If you can't open it in your browser then you either have the wrong URL or the directory (folder) is protected and can't be viewed directly. Note: To make sure you have the right URL try pasting it in your browser. You can use either full URL or it could be set to just 'album_art/', wich makes it relative to the. It should be set to a avalid URL where album art images can be located, but it does not have to be a full URL. Next vairable is used in source URL for image tags: $album_art_URL = '' Note: PHP doesn't care which slash is used as directory separator, but backslash () is an escape character and should be used with care or escaped by another bachslash (\). This variable is used to check if album art image exists and it has to be the a local path (from PHP standpoint).įor example, if radiodj.php is in web server root directory C:\webserver\public_html\ and album art images are located in C:\webserver\public_html\album_art\, $album_art_PATH should be set to either $album_art_PATH = 'album_art/' (relative to radiodj.php) or to absolute path $album_art_PATH = 'C:/webserver/public_html/album_art/' absolute. ![]() Next, find line that looks like this: $album_art_PATH = 'album_art/' Ĭhange this to the path of your 'album_art' folder on your web server where you store or upload album art images. Replace RADIODJ_NOW_PLAYING_INFO_PASSWORD with same password used in Now Playing Plugin Web export options.Ģ. It should look like this: $XPWD = 'RADIODJ_NOW_PLAYING_INFO_PASSWORD' Open config.php in your editor and find line 3. WARNING!: If you mess up the formatting, these files will not work properly! Let's start with the config.phpīoth, radiodj.php and display.php source this file for configuration so all global variables are easy to change in one place.ġ. I personally use Adobe Dreamweaver, but Frontpage or any other decent HTML editor will work as well. To edit these files you should use Notepad2, Notepad or some other editor that will preserve the format and not mess up character set encoding. Now that we have it unpacked, you should have five (5) files: The more you overthink the plumbing, the easier it is to stop up the drain The easier you make this on yourself, the easier it will be in general. Unpack the zip file where ever you choose but keep it all together for right now, just so it's easier to find everything. ![]() Make sure the folder is named album_art, just the way you see it here! ![]() Once you have done this, upload your 'album_art' folder to your webserver now, or you can wait and upload all of this at once when we're finished, the choice is yours. Let's get started, shall we?įirst, copy the contents of the 'Album-Art' folder from your RadioDJ directory, (usually located at C:\RadioDJ\Album-Art), to a new folder named 'album_art'. I am available on the RadioDJ forums under the name Capt_Fuzzy should you get stuck, but I stress again, if you follow these instructions to the letter, this will work with little editing on your part. Most of this readme can be found in /docs/README.html How to use this package with RadioDJ Web Exporterįirst off, this package works! If you follow these instructions to the letter and place everything properly, this will work "right out of the box". See Credits section for list of contributors. Improved and uploaded to GitHub by Valdis. Initial code compiled from multiple sources by Capt_Fuzzy. This package is a collective effort to create an easier to set up now playing page for RadioDJ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |