Page 4 of 11
Posted: Sun Nov 09, 2008 6:11 pm
by Hawkstrom
Hi, just bought my first Hyperradio but I also get the problem of it not playing my ogg files. I converted them in Audacity and checked with a text editor for the Ogg tag and it looks ok. Tried renaming the files, had numbers in there at first but no change.
I get the 'Connection Established' message but no music is playing..
Hyperradio v1.13
Oolite v1.72
Mac OSX 10.5.5
[EDIT]
Ahem, it seems I had Music set to 'off' in ingame options... *facepalm*
It plays fine, nice work
I'll just leave this post here if somebody happens to be as dumb as me
Posted: Sun Nov 09, 2008 7:32 pm
by Svengali
:-)
You are not alone. Yesterday I've tested some other stuff and was confused about the result until I found that I have had disabled one oxp! Shame on me!
Enjoy your music .-)
Posted: Mon Nov 10, 2008 1:35 pm
by DaddyHoggy
Welcome to the forums Hawkstrom.
Posted: Thu Nov 13, 2008 1:19 pm
by Svengali
v1.14(NE) is online - EQ and non-EQ version.
Changes:
- Cleaned up a bit more
- Changed the EQ-handling
- Changed the songselection
- Changed available_to_all
Posted: Mon Feb 16, 2009 11:01 pm
by dima
Nice! I recently encountered this mod0 and it's a clear must have (in my opinion). By the way, is there any way to make the music loop or play a song automatically after one song has ended? Currently I have to retrigger the music by pressing F7 and then going back with F1 each time
Other than that - a near perfect mod.
Posted: Tue Feb 17, 2009 1:17 pm
by Svengali
dima wrote:Nice! I recently encountered this mod0 and it's a clear must have (in my opinion). By the way, is there any way to make the music loop or play a song automatically after one song has ended? Currently I have to retrigger the music by pressing F7 and then going back with F1 each time ;) Other than that - a near perfect mod.
Hello dima, thanks for your feedback :-)
I'm using the playMusic() method, because it is on all systems (WIN,MAC,LINUX) streamed. Unfortunately this method doesn't return anything to the script, so there is no control if a song is playing or not. To circumvent this I already thought about using an array with song durations and a timer to check it, but this would blow up the (nicely small) script and is not failsafe. So I've choosen this way and I think it's ok that a player has to activate it (even if it's for every song). Maybe this will change some day, we'll see.
In the meantime - keep on rocking!
Posted: Wed Feb 18, 2009 12:12 am
by dima
Ok, thanks for the explanatation
I still enjoy the oxp, looping or not!
Radio Woes
Posted: Tue Mar 31, 2009 3:56 am
by bacontube
Hi, I downloaded hyperradio, tried setting it up. Downloaded the 3 music packs, tried adding thier entries to the main script itself, put all the music files in the music section of the hyperradio addon.
However, even when buying the radio, launching, pressing F7, I never get any music. I am pretty sure I messed up the script section.
Is there a way someone can post what the script should look like, with the 3 music packs installed?
Am I doing something else wrong?
Posted: Tue Mar 31, 2009 11:05 am
by Svengali
Hello bacontube,
after adding the songs from all 3 musicpacks the array (playlist) in hyperradio.js should look like this
Code: Select all
// ********** CHANGE ONLY THIS PART **********
// Add new or override the following entries to use it as playList
this.hyperradio_playListOriginal = new Array(
"Erik_Ostrom-By_Your_Side.ogg",
"Josh_Woodward-On_Brevity.ogg",
"Josh_Woodward-Untitled.ogg",
"Paul_Westerberg-Looking_up_In_Heaven.ogg",
"William_Brooks-Seven_Promises.ogg",
"Aching_Beauty-Steps.ogg",
"Antarhes-Different_Way.ogg",
"Aygan-Now_Its_Over.ogg",
"Holy_Pain-Last_Sigh.ogg",
"Red_Light_Rippers-Addicted.ogg",
"Droopy_Contini-Dewey_Square.ogg",
"La_Rabona-Vamos_a_Reconquistar.ogg",
"Lasswell-Drunk_In_A_Smokey_Bar_Drinking_An_Imperial_Porter_Mix.ogg",
"Luc_Bartoli-Hassans_Dream.ogg",
"Matt_Pepper_Trio-Jai_demande_au_soleil.ogg"
);
// ****************************************
Hope this will solve your problem.
PS: I've not included the example files in this new list, because they are very short samples and only there to give users a starting point :-)
Posted: Tue Mar 31, 2009 8:21 pm
by bacontube
Thank you so much. Yup, I see now what I did wrong. I gave each music pack it's own entry full of songs, instead of putting them all in one.
Thank you for the response, I enjoy the concept of your mod alot. Anything that adds immersion into the game, I think is excellent. And the radio station thing makes an excellent addon.
Posted: Tue Mar 31, 2009 8:28 pm
by Svengali
bacontube wrote:Thank you so much. Yup, I see now what I did wrong. I gave each music pack it's own entry full of songs, instead of putting them all in one.
Oh, does it mean you want different radio stations? Then install every musicpack like any other oxp. The scripts in the musicpacks are doing all that stuff for you automagically :-)
Posted: Tue Mar 31, 2009 8:37 pm
by bacontube
Svengali wrote:bacontube wrote:Thank you so much. Yup, I see now what I did wrong. I gave each music pack it's own entry full of songs, instead of putting them all in one.
Oh, does it mean you want different radio stations? Then install every musicpack like any other oxp. The scripts in the musicpacks are doing all that stuff for you automagically
Ah, so if I decide to go for seperate stations, I install the hyperradio oxp, then each music addon like any other oxp, and the hyperradio one picks it up by default?
Do I need to change anything in the script if I set it up this way?
Posted: Tue Mar 31, 2009 8:45 pm
by Svengali
bacontube wrote:Ah, so if I decide to go for seperate stations, I install the hyperradio oxp, then each music addon like any other oxp, and the hyperradio one picks it up by default?
Exactly :-)
bacontube wrote:Do I need to change anything in the script if I set it up this way?
No, you don't have to change anything - but you can if you like. The Hyperradio itself contains two example files that are used for the first station. By changing these entries (see above) the first station will be expanded. You can also add own files to any of these scripts (Hyperradio and musicpacks).
BTW: I'll add a automagic function that will do this for the next release.
Posted: Sun Jul 19, 2009 8:16 pm
by Svengali
v1.15 is online - EQ-version.
Changes:
- Added 'Autocollect'
- Bugfix that could cause a Oolite crash
- Works in v1.72.x and v1.73 (at least until SVN2253 :-))
Edit: The NE (not equipment) version is now discontinued. Kaks has changed the GUI so it's not necessary anymore. But the last version will stay online as long as it is working.
Posted: Mon Jul 27, 2009 4:46 pm
by Rustybolts