SoulWithMae-MediaPlayer icon

MediaPlayer

MP3 Player that reads the file's metadata

Last updated 2 weeks ago
Total downloads 126
Total rating 2 
Categories Code Mods
Dependency string SoulWithMae-MediaPlayer-2.0.0
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

TrevTV-AudioImportLib-1.2.0 icon
TrevTV-AudioImportLib

A simple mod library that allows mod creators to import audio files as AudioClips.

Preferred version: 1.2.0
gnonme-BoneLib-2.4.0 icon
gnonme-BoneLib

A BONELAB mod for making life easier for other mod creators.

Preferred version: 2.4.0

README

MediaPlayer

MP3 Player that reads the file's metadata

IMPORTANT!

  • DEPENDING ON HOW MANY MP3 FILES YOU PUT IN THE FOLDER, THE GAME MAY TAKE LONGER TO START UP!
  • THIS IS INEVITABLE! PUTTING IT ON ANOTHER THREAD CRASHES THE GAME, AND IF IT WERE ASYNC IT MAY NOT BE FULLY LOADED BY THE TIME YOU SPAWN ONE IN, CAUSING PROBLEMS!

Setup

Mod

Installation

  • Place the dll in the Mods folder and run the game once

Preferences

  • In WeatherElectric.cfg, all preferences for the mod are in the MediaPlayer category
  • You can also edit them in game through BoneMenu.

Custom Audio

Requirements

File Setup

  • Drag your MP3 files into Mp3Tag
  • Select all of them image
  • Right click and hit "Actions"
  • Create a new action and name it anything
  • Add an "Adjust cover" action to it image
  • Set the max size to "336"
  • Deselect all action groups EXCEPT the one you just made image
  • Hit "OK"

Installation

  • Place your MP3 files into UserData/Weather Electric/MediaPlayer/Custom Music

Development

  • The TagLib wrapper has public methods in case you want to use them.
  • GetTag(string filepath, Tag tag)
  • GetCover(string filepath)
  • GetFilename(string filepath)
  • It is all explained within the documentation file.

CHANGELOG

v2.0.0

  • Quest support
  • Better bonemenu
  • Actually works properly

v1.1.0

  • Added proper bonemenu settings buttons
  • Fixed TagLibSharp not writing to location properly

v1.0.1

  • Added audioimportlib to dependencies

v1.0.0

  • Initial Release

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2023-11-20 2.0.0 120 Version 2.0.0 Install
2023-11-20 1.2.0 6 Version 1.2.0 Install