Open ChorusCory opened 1 week ago
edit STATIONNAME as needed
add the following below the bumps in the index.html:
<script type="application/javascript" src="radio/stations/STATIONNAME/~list.js"></script>
make folder STATIONNAME in radio/stations/
(this holds the data for the station)
add ~list.js file in STATIONNAME folder (this file is used as the list of songs in the station
make folder "images" in radio/stations/STATIONNAME
/ (holds description.png (1418x300) wallpaper.jpg (1920x1080) icon.png (700x700) images, note that they must be named that)
~list.js should have:
//Choose a name for the station
stationName = "STATIONNAME";
//Add it to the array of stations
stationsArray[stationsArray.length] = stationName;
//Define an array for tracks
this[stationName+"_tracks"] = new Array();
//TRACKS
this[stationName+'_tracks'][this[stationName+'_tracks'].length] = "MUSICFILENAME";
Copy the last line for every track in the station playlist. Edit MUSICFILENAME as needed The MUSICFILENAME should not have the extension as it expects mp3 files.
thanks, though one other question. should i clone this repo, or mirror the website directly?
If your goal is to have a static site with custom music, the cloning the repo and adding your own music is the easiest option.
alright, thanks again! i am having one issue with cloning, though. no matter which branch i clone, im unable to input anything on the title. if it helps at all, i'm on the 64-bit version of firefox 132.0
What do you mean by title? The
i mean the title screen, with the "tune in" text at the bottom
You can change the images of the title screen in the titlescreen/images folder. Because its October it loads the Halloween event images. There are also special events for Christmas, Summer and the birthday of JSRF.
sorry, but i dont think you're understanding. the problem isnt that i cant change the pictures on the title screen, but that im unable to get to the "main menu" where you actually listen to the music from it.
Does the console provide any errors? It is likely that the scripts are not loaded due to the hosting environment.
Good evening. Think you can pull this: https://github.com/RudiesGarage/jetsetradiofuture.live/pull/16#issue-1806865463
Been on the back burner for a while.
Does the console provide any errors? It is likely that the scripts are not loaded due to the hosting environment.
yes
Good evening. Think you can pull this: #16 (comment)
Been on the back burner for a while.
im given the same problem when using that branch
The issue is that it cannot find relevant xml data. Im confused as to why there are references to non http protocols. How are you starting the site? Are you running it from a flashdrive? I have not tested opening the index.html directly in Windows. It should work behind any http server though.
im starting the site by just opening the index.html file. do you think hosting it on a github page would work?
when opening it using a github page, i get the following errors.
The simplest fix is to
4 == editortickerxmlhttp.readyState && editortickerxmlhttp.responseXML!=null
var newMessage="Failed to fetch xml document";
I am unfamiliar with github pages.
how do you suggest i host the website then?
The host provider should not matter as long as you do not break any terms of service.
alright. i've got it working fine for the most part when opening the html directly, but when opening via where im hosting, i continue to get the "e is undefined" and "chat_switchStatus" is not defined. sorry i continue to bother you w this btw
Sorry to bother y'all, but how would I make a "clone" of JSRFL? I'm wanting to just have the exact same structure but with different stations. Thanks, Cory