Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Extension Database Generic Extensions Playnite Sounds Extras | Convert FLAC, WAV, OGG + more for Playnite Sounds

Playnite Sounds Extras | Convert FLAC, WAV, OGG + more for Playnite Sounds
OneAngryGamer Away

#1
12-06-2021, 10:33 AM (This post was last modified: 08-01-2023, 04:23 AM by OneAngryGamer.)
This extension adds extra features to the incredible Playnite Sounds plugin by joyrider3774

The new functionality that it adds:
  1. Adds a file picker to easily import mp3s into games
  2. Scans the database and tags all games that don't have a mp3 set up for Playnite Sounds
  3. Scans the Playnite Sounds to find all unlinked mp3s and moves them to another folder for repair
  4. (v1.2.0 +) No longer limited to mp3 files - Easily import many common audio formats into games (thanks to FFmpeg converting to mp3)
  5. (v1.2.0 +) Easily import game audio formats into games (thanks to FFmpeg converting to mp3) - For example - you can use it to select a UMX file from your Deus Ex install and it will set it as your background music.


Requirements:
  • Playnite Sounds plugin v2 to v3.1 only (No support for v4)
  • Due to the Great 8 Break, this extension is not compatible with any version of Playnite after v8.15. (I will release this for Playnite 9 if somebody can explain all of the changes needed to convert P8 scripts to P9)
  • (Optional - but the conversion feature will not work without it) FFmpeg https://ffmpeg.org/download.html

This extension is an amalgam of other older extensions I created for Playnite Sounds. You should uninstall and delete the following extensions (they are no longer needed) before importing this:
  • Add Tags - Playnite Sounds
  • Fix Unlinked Files - Playnite Sounds
  • Import Media - Playnite Sounds



If you found this extension useful, you can find more of my extensions here

After these forums close I will upload add-ons to https://mega.nz/folder/M2lQjAwK#njde1JEQbJjquOAojrXF_A



.pext   Playnite_Sounds_Extras_1_3_4.pext (Size: 18.35 KB / Downloads: 109)
OneAngryGamer Away

#2
12-07-2021, 12:21 AM (This post was last modified: 12-07-2021, 12:26 AM by OneAngryGamer.)
Import mp3 to Playnite Sounds

One of the things that I want in Playnite Sounds is the ability to import mp3s. This would solve the need to open the ExtensionsData folder for Playnite Sounds, open the correct platform folder, copy the mp3 from your folder of OSTs, paste it into the correct platform folder then rename the mp3 to a Windows file system friendly version of the game name.

This extension includes this ability. You right click on your game, select the mp3 file and it will do all the rest.

Several errors checks have been built-in (e.g. missing folder, no file selected, incorrect extension, file copy failed etc.) and it will notify you should it encounter any issue while importing.


Find and move all unlinked mp3s

This compares the Playnite Sounds mp3s with your database to find unlinked files. (Common occurrence. Renaming a game in Playnite will cause the mp3 to no longer play because the game name and mp3 name no longer match)

Any mp3s that do not have a matching game+platform in Playnite will be moved to a new location. After the extension finishes running, manually rename the mp3s before moving them to your Playnite Sounds music folder. (Better still - just use the file picker to re-import these mp3s for the correct games)
OneAngryGamer Away

#3
12-20-2021, 05:36 AM
Uploaded v1.1.0
  • moved most of the menu items from game menu to main menu - leaving only the import mp3 on game menu
  • updated functions
  • code altered to allow for paths containing wildcard pattern characters (not tested)
  • other code changes
OneAngryGamer Away

#4
02-07-2022, 12:53 PM
Update Announcement v1.1.1
  • Visually separate the menu items between those added by the Playnite Sounds plugin and the new features added by this extension.
  • Auto hide the 'Fix Unlinked Files menu if the user has never installed any of the 'Fix Unlinked Files' extensions.
xCeeTee
Offline

#5
02-12-2022, 01:29 PM
I love this update, it's awesome thank you! Do you think it would be possible to have multiple pieces of music? There are so many I hear on Master Chief Collection, I'd love for it to shuffle the songs like it does in the menus. Some days I sit in the menu for 30 minutes while doing something else, it'd be nice to just do it in Playnite.
xCeeTee
Offline

#6
02-13-2022, 10:51 AM
Today the extension has failed to load every time I open Playnite. I have tried reinstalling it but still no joy. It's the only extension so far that's failed to load so I'm not sure if there's anything else I can try to fix it.
OneAngryGamer Away

#7
02-15-2022, 05:01 AM (This post was last modified: 02-15-2022, 05:03 AM by OneAngryGamer.)
(02-12-2022, 01:29 PM)xCeeTee Wrote: Do you think it would be possible to have multiple pieces of music?

Such a feature would need to be added to the main plugin (Playnite Sounds) made by joyrider3774

(02-13-2022, 10:51 AM)xCeeTee Wrote: Today the extension has failed to load every time I open Playnite. I have tried reinstalling it but still no joy. It's the only extension so far that's failed to load so I'm not sure if there's anything else I can try to fix it.
Have you recently updated Playnite and/or the Playnite Sounds plugin?

This extension is currently not compatible with Playnite v9 and not compatible with Playnite Sounds v4
OneAngryGamer Away

#8
04-05-2022, 01:12 PM
Update Announcement v1.2.0

NEW FEATURE - convert common audio formats for import into Playnite Sounds
  • FLAC
  • WAV
  • OGG,OGA
  • AAC
  • WMA

NEW FEATURE - extract audio from video files for import into Playnite Sounds

  • AVI
  • MP4
NEW FEATURE - convert tracker music and other game music files for import into Playnite Sounds
  • MOD
  • XM
  • IT
  • UMX (e.g. Deus Ex)
  • ADX
  • VOC
  • XA (PlayStation)
  • SPC (SNES/Super Nintendo Entertainment System)

To use the new features, you need to download FFmpeg and place the exe into a folder named tools in the extension data folder.

You can still use the extension without FFmpeg but the conversions will not work.
OneAngryGamer Away

#9
06-09-2022, 10:16 AM (This post was last modified: 05-30-2023, 02:58 AM by OneAngryGamer.)
Upcoming feature in next release - compare your soundtracks with games that don't have a mp3 set for Playnite Sounds.

It is working but the feature is unusable without my unreleased extension for soundtracks. (UPDATE: use the Link Folders extension)


Thumbnail(s)
   
OneAngryGamer Away

#10
12-27-2022, 11:35 PM (This post was last modified: 05-30-2023, 02:59 AM by OneAngryGamer.)
Update Announcement v1.3.0
  • more file formats have been tested and added to the music conversion feature
  • new filter option 'All Supported Files' when selecting a file to convert. This filter option will be selected by default
  • display the running time in the results message for 'Tag all games missing a mp3 for Playnite Sounds'
  • add a running time warning (including an optional cancel) to 'Tag all games missing a mp3 for Playnite Sounds'
  • more code changes


This update also includes a new feature that isn't useful without another unreleased extension (UPDATE: use the Link Folders extension). It finds games with soundtracks that you can import into Playnite Sounds. It works by reporting all games that have both of the following tags:
  • No Media: MP3 (set by 'Tag all games missing a mp3 for Playnite Sounds')
  • Have Game-Related: Soundtracks (set by upcoming extension Link Folders)

Compatibility Warning: Due to the breaking changes introduced in Playnite 9, this extension is not compatible with any version of Playnite after v8.15.

If you are using Playnite 9 then the latest version of Playnite Sounds has almost everything that this plugin does. The only feature difference is that it downloads from YouTube instead of importing music from soundtracks or from music in your game installation.

If you found this extension useful, you can find more of my extensions here
OneAngryGamer Away

#11
01-11-2023, 09:01 PM (This post was last modified: 01-11-2023, 09:04 PM by OneAngryGamer.)
Update Announcement v1.3.2
  • Fixed issue with 'Tag all games missing a mp3' in v1.3.0
  • more file formats have been tested and added to the music conversion feature
  • reduced conversion bitrate from 160 to 128 - smaller footprint and faster loading
  • updated reusable code to latest versions

Compatibility Warning: Due to the breaking changes introduced in Playnite 9, this extension is not compatible with any version of Playnite after v8.15.

If you found this extension useful, you can find more of my extensions here
OneAngryGamer Away

#12
04-04-2023, 01:52 AM (This post was last modified: 04-04-2023, 02:03 AM by OneAngryGamer.)
Update Announcement v1.3.4

Added
  • Added option to open the extension folder. Useful if closed folder after moving unlinked mp3s.
Fixed
  • Fixed Scan for unlinked files returning 0 results

Compatibility Warning: Due to the breaking changes introduced in Playnite 9, this extension is not compatible with any version of Playnite after v8.15.

I plan on upgrading to Playnite 10 after I finish converting my add-ons.

If you found this extension useful, you can find more of my extensions here

If these forums are closed, I will not be moving to Discord or reddit.
OneAngryGamer Away

#13
05-30-2023, 02:58 AM (This post was last modified: 05-30-2023, 03:00 AM by OneAngryGamer.)
The new feature added in v1.3.0 is now usable.

Download the Link Folders extension and use it to tag games with OSTs before running the Report games with 'Have Game-Related: Soundtracks' tag and missing Playnite Sounds mp3.

For this to work, the menuitems.json in Link Folders needs to be configured so that the 'desctag' for the OSTs is set as 'Soundtracks'.

If you found this extension useful, you can find more of my extensions here
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode