Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: World-Map-SMP (Read 690 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

World-Map-SMP

A foobar2000 UI Spider Monkey Panel which displays current artist's country on the world map and lets you generate autoplaylists based on selection and locale tag saving when integrated along WilB's Biography Script.


Features


  • Follow now playing track or selection.
  • Works with multiple selected tracks (draws all points on the map), allowing to show statistics of an entire playlist or library.
  • On playback the panel fetches tags from (by order of preference):
    • Track's tags.
    • Json database.
    • WilB's Biography panel.
  • Biography integration:
    • Done via script. There is a menu option to install the mod (it looks for the original file, edits the relevant lines and creates a backup). Is done step by step and can be reverted back.
      • Selection mode changes automatically when changing it on Biography panel, therefore syncing the changes.
      • Biography lets you write tags on demand, this lets you write tags as soon as the panel gets refreshed with new data.
      • Tool-tip shows multiple info about the points and tracks selected.
    • AutoPlaylist creation:
      • On click over a point, an autoplaylist is created with any artist on your library from the selected country.
      • key modifiers: forces an autoplaylist with artist from selected country AND same tags (3 configurable). Currently set to style/genre or both.


Also integrates
 1. Menu-Framework-SMP: Helper which allows to easily create customizable and dynamic menus.

Installation
Copy all files from the zip into YOUR_FOOBAR_PROFILE_PATH\scripts\SMP\xxx-scripts
Any other path WILL NOT work without editing the scripts. (see images_Installation_*jpg)
For ex: mine is c:\Users\xxx\AppData\Roaming\foobar2000\scripts\SMP\xxx-scripts...
For portable installations >= 1.6: .\foobar2000\profile\scripts\SMP\xxx-scripts...
For portable installations <= 1.5: .\foobar2000\scripts\SMP\xxx-scripts...
Then load 'world_map.js' into a SMP panel within foobar.

Download latest release (or nightly releases) at github:
https://github.com/regorxxx/World-Map-SMP[/list]

Re: World-Map-SMP

Reply #1
deleted - accidentally posted in the wrong place.


Re: World-Map-SMP

Reply #2
This is pretty cool, but one recommendation.

The map it uses is a bit odd, given that probably 70%+ of recorded music is from about 8% of the map area (US/EU) and I'm not aware of any recordings from Antarctica which is generously represented on the projection.

You put a lot of good work into this, it would be nice to see it better. :)

Re: World-Map-SMP

Reply #3
Hi there.
interesting projects!
@regor ,Is it possible to set the background color of the window to match the color of the main theme? (see picture).
Many thanks.

But the pointer does not appear on the map. WilB's script is integrated.
Can't figure out what's wrong?

Re: World-Map-SMP

Reply #4
This is pretty cool, but one recommendation.

The map it uses is a bit odd, given that probably 70%+ of recorded music is from about 8% of the map area (US/EU) and I'm not aware of any recordings from Antarctica which is generously represented on the projection.

You put a lot of good work into this, it would be nice to see it better. :)
I already offer a possibility to change the image to whatever you like, so... feel free to change it if you don't like it (?).
Cutting the map to not show Antarctica would break Mercator coordinates and make it incompatible with other standard maps, which also breaks the design decision to let users to change the image.

Not going that route unless I can support both, standard maps and maps without Antarctica, without needing to use different coordinates. Will take a look at it.

 

Re: World-Map-SMP

Reply #5
Hi there.
interesting projects!
@regor ,Is it possible to set the background color of the window to match the color of the main theme? (see picture).
Many thanks.

But the pointer does not appear on the map. WilB's script is integrated.
Can't figure out what's wrong?
As far as I know that's as easy as setting your panel right at appearance (transparency). Let me know if that works.

The other problem... I don't understand it without more data. Integration must be installed AND enabled. And obviously, the artists must have that data on last fm (or on the track's tag)... otherwise it does nothing.

Re: World-Map-SMP

Reply #6
I found a relatively easy way to adjust the coordinates according to a factor and it works.
So I cut the original map to not show Antarctica and put both options in a menu, along entries to edit the image path and factors.

X

The factors should work as long as the image is a mercator map (no matter if it's cut at any axis). For other projections, the entire coordinates table should be replaced.

Re: World-Map-SMP

Reply #7
## [1.1.0] - 2021-05-26
### Added
- Menu: Map image can be set via menus.
- Menu: 2 different map images are not offered by default, full and No Antarctica. Coordinates are re-scaled according to the crop when choosing the later.
- Map framework: Coordinates transformation has been added, allowing to use custom map images while using the default coordinates (plus a factor).
### Changed
- Map framework: updated with last changes.
- Menu framework: updated with last changes.
- Readme: updated some tips.
### Removed
### Fixed

Re: World-Map-SMP

Reply #8
## [1.1.1] - 2021-05-28
### Added
### Changed
- Menu framework: updated.
### Removed
### Fixed
- Changing image map did not ask automatically for X and Y coordinates factors.

Re: World-Map-SMP

Reply #9
v1.2.0 - File restructuring and cleanup
File restructuring update for compatibility with the other repositories.

## [1.2.0] - 2021-06-07
### Added
### Changed
- Helpers: Split 'helpers_xxx.js' file into multiple ones for easier future maintenance.
### Removed
### Fixed

 
SimplePortal 1.0.0 RC1 © 2008-2021