RudiesGarage / jetsetradiofuture.live

Archive repo for jetsetradio.live
https://jetsetradiofuture.live/
MIT License
9 stars 6 forks source link

cloning process #20

Open ChorusCory opened 1 week ago

ChorusCory commented 1 week ago

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

Mcdonoughd commented 1 week ago

Adding a Station:

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.

ChorusCory commented 1 week ago

thanks, though one other question. should i clone this repo, or mirror the website directly?

Mcdonoughd commented 1 week ago

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.

ChorusCory commented 1 week ago

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

Mcdonoughd commented 1 week ago

What do you mean by title? The tag?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 1 week ago</strong> </div> <div class="markdown-body"> <p>i mean the title screen, with the "tune in" text at the bottom</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mcdonoughd"><img src="https://avatars.githubusercontent.com/u/22644698?v=4" />Mcdonoughd</a> commented <strong> 1 week ago</strong> </div> <div class="markdown-body"> <p>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.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 1 week ago</strong> </div> <div class="markdown-body"> <p>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.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mcdonoughd"><img src="https://avatars.githubusercontent.com/u/22644698?v=4" />Mcdonoughd</a> commented <strong> 1 week ago</strong> </div> <div class="markdown-body"> <p>Does the console provide any errors? It is likely that the scripts are not loaded due to the hosting environment. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/BenSFGamer"><img src="https://avatars.githubusercontent.com/u/65191403?v=4" />BenSFGamer</a> commented <strong> 6 days ago</strong> </div> <div class="markdown-body"> <p>Good evening. Think you can pull this: <a href="https://github.com/RudiesGarage/jetsetradiofuture.live/pull/16#issue-1806865463">https://github.com/RudiesGarage/jetsetradiofuture.live/pull/16#issue-1806865463</a></p> <p>Been on the back burner for a while.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 6 days ago</strong> </div> <div class="markdown-body"> <blockquote> <p>Does the console provide any errors? It is likely that the scripts are not loaded due to the hosting environment.</p> </blockquote> <p>yes <img src="https://github.com/user-attachments/assets/d452909e-4dc6-4a5c-a16f-b8422b3a2da6" alt="image" /></p> <blockquote> <p>Good evening. Think you can pull this: <a href="https://github.com/RudiesGarage/jetsetradiofuture.live/pull/16#issue-1806865463">#16 (comment)</a></p> <p>Been on the back burner for a while.</p> </blockquote> <p>im given the same problem when using that branch</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mcdonoughd"><img src="https://avatars.githubusercontent.com/u/22644698?v=4" />Mcdonoughd</a> commented <strong> 5 days ago</strong> </div> <div class="markdown-body"> <p>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.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 5 days ago</strong> </div> <div class="markdown-body"> <p>im starting the site by just opening the index.html file. do you think hosting it on a github page would work?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 4 days ago</strong> </div> <div class="markdown-body"> <p>when opening it using a github page, i get the following errors. <img src="https://github.com/user-attachments/assets/f48e862d-c5f5-4026-b031-219346591e88" alt="image" /></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mcdonoughd"><img src="https://avatars.githubusercontent.com/u/22644698?v=4" />Mcdonoughd</a> commented <strong> 4 days ago</strong> </div> <div class="markdown-body"> <p>The simplest fix is to </p> <ul> <li>add null check for the response in the editor/javascript.js <code>4 == editortickerxmlhttp.readyState && editortickerxmlhttp.responseXML!=null</code></li> <li>define newMessage on the top of ticker/javascript.js <code>var newMessage="Failed to fetch xml document";</code></li> </ul> <p>I am unfamiliar with github pages.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 4 days ago</strong> </div> <div class="markdown-body"> <p>how do you suggest i host the website then?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Mcdonoughd"><img src="https://avatars.githubusercontent.com/u/22644698?v=4" />Mcdonoughd</a> commented <strong> 4 days ago</strong> </div> <div class="markdown-body"> <p>The host provider should not matter as long as you do not break any terms of service. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/ChorusCory"><img src="https://avatars.githubusercontent.com/u/91793020?v=4" />ChorusCory</a> commented <strong> 4 days ago</strong> </div> <div class="markdown-body"> <p>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</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>