Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - New web VGM player

Reply to topic
Author Message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
New web VGM player
Post Posted: Sat Dec 08, 2018 6:36 pm
Hi all,

Just to let you guys know that I'm disclosing a web vgm player based on the VGM section of smspower.

http://vgm.impulseinformatica.com.br

You can build, edit and share playlists. There is a A-Z index to ease finding the correct pack (there are more than 300 there). It's synced with VGM wiki page, so everytime there is a new pack added, this player gets updated.

Also there is a Top 50, My Top 50, Random 50 buttons when you access the playlist, to build new ones. And GD3 info on every pack.

You can also config things like number of loops etc.

And a lovely voting system like Medium.com

And it works on mobile! ^_^ (few issues on iOS though)

This is based on some other projects. From this community, namely ValleyBell's vgmplay and vampirefrog's GD3 metadata js helper. Thanks guys for making this possible.

If you think some feature is missing, or bugs, just ask here and we can discuss those!

Thanks again.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Dec 08, 2018 7:53 pm
Easter Egg (one of a few): Hitting play when loading the page without selecting any packs auto activates shuffle mode and plays a random pack!
  View user's profile Send private message
  • Joined: 30 Mar 2009
  • Posts: 280
Reply with quote
Post Posted: Tue Dec 11, 2018 1:03 pm
Man, this is really great, it should be integrated with the music section here.

Great work!
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14652
  • Location: London
Reply with quote
Post Posted: Tue Dec 11, 2018 1:13 pm
That is the plan...
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Dec 11, 2018 2:53 pm
Hey tibone!

Thanks for the feedback!

Maxim, while it's still already online, I'm committed to that too. Let's do this.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8643
  • Location: Paris, France
Reply with quote
Post Posted: Wed Dec 19, 2018 10:55 am
This is very good :)

While integrating fully into the website is probably going to be non trivial work done over time, my suggestion is that in the meanwhile we can:

- Add links from the VGM Index, VGM individual package page, and Music Software sections.
- We could make this a sticky thread.

Those would little by little increase traffic and users.
What do you think Niloct?
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Dec 22, 2018 1:44 am
Hi Bock,

I think it's nice to include the other VGMs listed on smspower, but I can't see clearly the best way to customize player for that.

Ideally we could add a script tag on each vgm listing page and it should interact with my server and provide the VGMs, but then preprocessing is required.

Is there any other alt listing besides http://www.smspower.org/Music/Homebrew ? Even then, this list has mixed content, I will have to strip modules, and make the backend work for original mp3 file instead of vgm.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
New version of player
Post Posted: Mon Mar 30, 2020 7:51 am
Well, it's been a while.

I've released a new version today!

https://vgm.impulseinformatica.com.br

Changelog March 30th 2020:

- Optimized size of all mp3 files down to more than 40%;
- Added a new loop repeat option, 4x (repeat loop 4 times);
- Added a PAL/NTSC/Original option that makes all packs play in PAL/NTSC according to user option;
- Fixed mobile UI glitch that created a gap in playlist sometimes;
- Added https:// serving by default;
- Fixed mute bug on iOS with a new button tap to unmute like youtube;
- Added a waiting layer that makes UI works better and only after it's fully loaded;
- FUN! Added a shuffle playlist option that, if you have shuffle enabled and finished playing a pack, it automatically fetches and plays a random new pack.

Let me know if you find any nasty bugs on this.

Wish health to everyone around!

Thanks.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
New feature
Post Posted: Fri Apr 03, 2020 8:21 am
One brazillian user wanted to use a vgm as a ringtone so the player has a new feature:

- Download of currently selected vgm as a mp3.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Asking for features and testing
Post Posted: Tue Apr 13, 2021 5:26 pm
Hi everyone,

Today I've moved the vgm player to a new server.

It's been a while and although the player doesn't have much access, I still maintain it and monitor its accesses (Thanks Poland, looking at you :) ).

So I'm writing to ask 2 things:

- Can you please test the overall of it with your favorite songs and games ?
- What features do you miss from it ?

Thanks for the attention, again :)
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:35 pm
Someone with an IPv6 address triggered an error already :)

I'm looking into it.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8643
  • Location: Paris, France
Reply with quote
Post Posted: Tue Apr 13, 2021 5:39 pm
It seems to be working fine for me (apart that my playlist is now stuck invisible, see last item):

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.

- Using FM unit logo in playlist may be a nice touch
(https://www.smspower.org/uploads/Site/FM.png)

- Playlist toggle button should be left-most button before Play ihmo.

- Minor (but weird) Can't see bottom-most of the page when covered by the player.

- Important: When manually resizing the player under the status/play bar, it becomes impossible to resize the player back up.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:42 pm
Niloct wrote
Someone with an IPv6 address triggered an error already :)

I'm looking into it.


Actually not an error, this person clicked on My Top 50 playlist, but this is linked by IP (simply), so it can be empty when you switch IPs, and the alert issues a backend message. But that's it.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:46 pm
Bock wrote

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.


This can be a problem, because likes are linked to IPs. That explains why you see a + number on likes, that's what I consider "your" current likes.

Bock wrote

- Using FM unit logo in playlist may be a nice touch
(https://www.smspower.org/uploads/Site/FM.png)

- Playlist toggle button should be left-most button before Play ihmo.

- Minor (but weird) Can't see bottom-most of the page when covered by the player.

- Important: When manually resizing the player under the status/play bar, it becomes impossible to resize the player back up.


Will take a look at all these (the sizing below the status bar is a nice catch).
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8643
  • Location: Paris, France
Reply with quote
Post Posted: Tue Apr 13, 2021 5:52 pm
Niloct wrote
Bock wrote

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.


This can be a problem, because likes are linked to IPs. That explains why you see a + number on likes, that's what I consider "your" current likes.


Well either way it is bizarre to see large red heart on something you didn't like yourself.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 6:03 pm
But when you like a vgm, and switch IP, your like coallesce to others, so actually your likes can be bundled with total before + like count.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8643
  • Location: Paris, France
Reply with quote
Post Posted: Wed Apr 14, 2021 10:27 am
Niloct wrote
But when you like a vgm, and switch IP, your like coallesce to others, so actually your likes can be bundled with total before + like count.


I'm not questioning seeing the total I am questioning seeing a bright red heart for something you didn't like yourself. In the end it makes red hearts not useful.

(Your "switch IP" thing is a little kludge for what should ideally use cookies or browser storage. Which is fine and pragmatic to simplify dev time!)
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Wed Apr 14, 2021 2:05 pm
But in the end you may have liked part of the total, because it sums all IP's likes which are not yours.

The best solution IMHO would be to integrate with smspower's login.

Cookies have a problem. When I'm on a NAT translated LAN, all votes from my devices including mobile count as a single IP so this was the rationale behind choosing IPs as ids.

For instance, every browser in my device also would count as different voting id.
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 3732
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Thu Apr 15, 2021 1:16 pm
it's anyway pretty easy to use different IPs so I wouldn't trust the IP to ensure one isn't voting twice, if you're really concerned
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Thu Apr 15, 2021 1:39 pm
Hey sverx!

Actually no one has ever abused the voting, and I set a threshold on individual vgm voting too. But yes, this isn't a good solution for the problem.
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 102
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 1:36 pm
Niloctronic, is the shuffle option meant to randomize tracks within a playlist or whole packs only?

On a side note, I was carefully compiling a playlist when, after 103 tracks, I got
Unhandled rejection QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'playlist' exceeded the quota.
errors upon trying to add more tracks.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:18 pm
Last edited by Niloct on Tue May 11, 2021 2:46 pm; edited 1 time in total
Melanogaster wrote
Niloctronic, is the shuffle option meant to randomize tracks within a playlist or whole packs only?

On a side note, I was carefully compiling a playlist when, after 103 tracks, I got
Unhandled rejection QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'playlist' exceeded the quota.
errors upon trying to add more tracks.


Hi Melanogaster! Thanks for your comments.

The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Man I am sorry for the trouble, seems you have reached a limit in localstorage on the browser. I wasn't aware of it.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:45 pm
I will fix this and store the playlist id only on the client, and the contents on the server.
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 102
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:45 pm
Niloct wrote
The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Do you reckon it would be too much of a hassle to implement a feature such as shuffling tracks within the current playlist...?

Niloct wrote
Man I am sorry for the trouble, seems you have reached a limit in localstorage on the browser. I wasn't aware of it.

Yes, I see now that localStorage cannot be used while on incognito mode, leaving me with the default 10MB memory limit on Chrome.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:48 pm
Melanogaster wrote
Niloct wrote
The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Do you reckon it would be too much of a hassle to implement a feature such as shuffling tracks within the current playlist...?


I will include that in next update. Actually it's a bit more difficult than fixing the playlist size limit, but I can do that!
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 102
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:52 pm
OK, thanks; I shall wait for it.
  View user's profile Send private message
  • Joined: 22 Apr 2017
  • Posts: 3
  • Location: Brazil
Reply with quote
Post Posted: Thu May 20, 2021 7:32 pm
Greate web player Niloct!

Everything seens to work fine and fast :D

I'ts possible to implement a option to loop the music indefinitely? (after 4x, include a infinite option).

Sometimes i want to listen a music for a long time and that's that i do on foobar on desktop.

Thanks and great work :)
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 607
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Fri May 21, 2021 3:43 am
lohankain wrote
Greate web player Niloct!

Everything seens to work fine and fast :D

I'ts possible to implement a option to loop the music indefinitely? (after 4x, include a infinite option).

Sometimes i want to listen a music for a long time and that's that i do on foobar on desktop.

Thanks and great work :)


Hi lohankain!

Great to have feedback :)

I believe it's possible, but I have to fiddle with the sound library a bit.

Will do my best to include this in next update!

Thanks for your comments and idea.
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!