Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unattended audio player with wpi

Featured Replies

almost, just one more on friday

till now everything went very well thanks :D

  • 2 weeks later...

almost finished, just one bug with wpi itself :S I just can't seem to be able to include my .js file in wpi.htm (no, not wpi.hta). Well, I can include it, but can't call my functions in it, really weird. If I get that fixed, I'll post it.

oh well, I give up, can't use an external js file :blink:

well so here are the instructions on how to have music during wpi, and that it continues playing after wpi has closed.

Before you start, remove the old code and files I provided a month or so ago (if you used it, wich I doubt many did :P).

1 - Download Music.rar

2 - Extract the contents of Music.rar into your WPI directory, if asked to overwrite, say yes. You now should have a Music map in your common directory.

3 - place all your music files in the files subdir of Music.rar, and don't forget to update settings.ini with your new files (You can remove the sample wma provided). There are some things you mustn't change in settings.ini:

StartInSystemTray=0

StartMinimized=0

You can skip this last step if you use the attached wpi.htm

4 - Now open WPI-directory\themes\default\wpi.htm (or some other theme) in any text editor. Copy - Paste the contents of music.txt (see attachement) between the HEAD-tags. Next scroll down to the place where you want the music controls to appear, and copy - paste the following code:

 <script language="Javascript">
 write_controls(100, 10, true);
 </script>

Where the first number is the width of the slider in pixels, 10 is the startvolume ( volume in settings.ini, but between 1 and 10, try to approximate it, 0 becomes 10, -600 becomes 5, ...), and the last value is true or false, means if the player automatically starts playing (this is for people who want to modify the script for other players).

I've also included wpi.htm wich is meant to be used for the default theme, but watch out, the volume in settings.ini must be 0 if you use it.

Music.rar

wpi.htm

music.txt

  • 1 month later...

ofcourse, go ahead and use it, but I'm really bad at graphics :P so you'll have to ask that to someone else

uuuuuhm, I'll look into that when I have some more time :D (both things)

Actually, I don't have time lately because:

- university (projects, still have to there, some little works we have to make, learning too)

- sport

- life (yup, I have a life too :P)

- free time -> gaming and/or msfn

so you see, WHEN I have time, I'll help, but don't expect me to be around 24/24 and 7/7 :P j/k

  • 4 weeks later...

Ok, here's an update:

still no time :P

I'm really sorry, but my exams are very late, and they are requesting all kind of extra work from university that I really didn't have time for javascript :P I mean, I just finished 2 projects, presented 1 today, have to present the other one friday, still have to go to class, and next week the exams begin :S Let's hope that'll end well... :D

edit:

And no I have no time for WoW either ;) You might have noticed that my lvl hasn't changed (or barely) in the last month...

Edited by djbe

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.