Register

Playlist Importer

An Add-on Module for Foundry Virtual Tabletop

Author: 4535992 Project Source Foundry Versions 0.5.4 to 13 (Verified 13) Last Updated 1 month, 3 weeks ago

This module aims to simplify the process of adding multiple music tracks to Foundry VTT, allowing for bulk importation of songs.

If you're like me, you probably enjoy amassing a large collection of songs to play for your players! However, importing your songs one at a time can be sluggish and time consuming. Playlist importer allows you to bulk import all of your songs!

I will only personally be maintaining the most recent version of foundry. In short, this means you may not get backwards compatibility for any breaking changes. Fortunately, you should be able to use releases to download a compatible version if it exists.

example

This is a module that enables drag and drop functionality for sound files too.

img

NOTE: This module is under maintenance, I have no plans to update or add features. However, I will try to fix any bugs as possible. Any contribution is welcome.

Installation

It's always better and easier to install modules through in in app browser.

To install this module manually:

  1. Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
  2. Click "Install Module"
  3. In the "Manifest URL" field, paste the following url: https://raw.githubusercontent.com/p4535992/foundryvtt-playlist-import/master/src/module.json
  4. Click 'Install' and wait for installation to complete
  5. Don't forget to enable the module in game using the "Manage Module" button
 

Features

  1. Allows for quick importation of songs into FVTT
  2. Only adds songs that haven't been added already (can be disabled) . NOTE: This applies only for songs added by Playlist-importer
  3. Delete imported playlist
  4. Build playlist by following the hiearchy of folder or one paylist fr every folder
  5. Just drop one or more audio files into you playlist directory. Ensemble uploads them and creates a playlist.

It's a feature not a bug!

Please read the following, as it may answer any questions as to unexpected behavior.

NOTE:

  1. Currently only .mp3, .mp4, .ogg, .wav, .m4a and .flac files are imported. All other types are excluded.
  2. Organization is force upon you! This means, that when you select your base directory in which to import, only folders within the base directory are checked, not the files. In otherwords, you must subdivide your music into folders inside the base directory.
  3. Songs added by playlist-importer will be excluded from being added again by the import function. This means, songs names should be unique! Make sure to avoid duplicate names across folders.
  4. Nested folders will result in unsuccessful importations. This will be addressed in future builds
  5. For general efficiency questions, refer to the "Efficiency" section below.
  6. Spaces in folder names should no longer cause issues. Please contact me if they cause trouble.

Usage

Note: The paths are vague, as you may have a different data path for your instance of FoundryVTT. If you have questions, feel free to message me.

  1. Download and install the mod, then enable it on Foundry.
  2. Inside of your "/FoundryVTT/Data/" folder, create a new folder called "music" (or any category you prefer).
  3. Inside of your module settings, navigate to Playlist import and select the desire base directory (music in this example).
    1. Note 1: If using S3, The Forge, or something similar be sure to select the proper source in the settings
    2. Note 2: If using S3 specifically, please name the bucket you are using within the "bucket" section of the playlist-importer settings. If you're not using S3, you can ignore this option.
  4. Inside of your "/FoundryVTT/Data/music" folder, you must create subfolders, perhaps with genres and types.
  5. Place your music files inside the corresponding folder names (Refer to structure below)
  6. Inside of FoundryVTT, select the playlist sidebar tab.
  7. Click "Playlist Import" to receive a conformation prompt.
  8. Select "Begin Import" to wait for imports to finish.
  9. A prompt will appear confirming task completion, confirm, and enjoy the music!

Example Structure

    | /FoundryVTT/Data
    | 
    |---> /music <----- This should be selected as the directory
    |     |
    |     |------> /battle_songs
    |     |        |
    |     |        |----> cool_battle.mp3
    |     |        |
    |     |------> /epic_songs
    |     |        |
    |     |        |----> epic_battle.mp3
    |     |        |----> last_stand.mp4
    |     |------> /tavern_songs
    |     |        |
    |     |        |----> gnarly_gnomes.mp3
    |     |        |
    |     |------> /peaceful_songs
    |     |        |
    |     |        |----> safety.mp3
    |     |        |----> just_kidding.mp4
    
 

Settings

 

See more descriptions and usage on the github page!

Categories

Available Versions

  1. Version 13.0.1

    1 month, 3 weeks ago
    Foundry Version 13 - 13 (Verified 13) Manifest URL Read Notes
  2. Version 13.0.0

    1 month, 4 weeks ago
    Foundry Version 13 - 13 (Verified 13) Manifest URL Read Notes
  3. Version 1.9.1

    1 year, 2 months ago
    Foundry Version 11 - 12 (Verified 11) Manifest URL Read Notes
  4. Version 1.9.0

    2 years ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  5. Version 1.8.5

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  6. Version 1.8.2

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  7. Version 1.8.1

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  8. Version 1.7.3

    Foundry Version 0.8.9 - 10 (Verified 9.0) Manifest URL Read Notes
  9. Version 1.7.1

    Foundry Version 0.8.9 - 10 (Verified 9.0) Manifest URL Read Notes
  10. Version 1.7.0

    Foundry Version 0.8.0 - 10 (Verified 0.8.8) Manifest URL Read Notes
  11. Version 1.5.4

    Foundry Version 0.5.4 - 10 (Verified 0.7.9) Manifest URL Read Notes