Code Monkey home page Code Monkey logo

tabletop-rpg-music's Introduction

An Ever-Growing Library of Tabletop RPG Music

Help to support me write more music at https://www.patreon.com/tabletoprpgmusic

Activate the module

After installing, as GM go to the Manage Modules options menu in your World Settings tab then enable the tabletop-rpg-music module.

Usage

The Playlist will then show up under Compendium Packs

Open the tabletop-rpg-music folder in the Compendium and drag the playlists into the Audio Playlist section.

tabletop-rpg-music's People

Contributors

tabletop-rpg-music avatar ghost91- avatar vesselchuck avatar

Stargazers

Leandro de Jesus avatar Claudio Tanci avatar Zolo avatar Neil Camilleri avatar  avatar Tobias Reithmeier avatar Eugen Neuber avatar git-st0m avatar Sarunas Valaskevicius avatar Klaonis avatar  avatar Nen avatar Sean Lickfold avatar Nakuromi avatar Diego Gonzalez avatar  avatar Marc Straube avatar Martin Lunn avatar Apostol Apostolov avatar

Watchers

Apostol Apostolov avatar  avatar

tabletop-rpg-music's Issues

Files Stalling on FoundryVTT

Since the songs are now stored on a cloud server, it would be much appreciated if they were converted to .ogg files.
The reason being is that both firefox and chromium-based browsers have a tendency for the files to sometimes not play and stall when loading. For the most part, .ogg files do this far less, if at all.

Please add title metadata tags to the provided files

Hey there,

somebody reported a problem when trying to use my Module Audio Metadata Reader with tracks provided by Tabletop RPG Music (ghost-fvtt/audio-metadata-reader#28). My module reads the metadata tags from audio files for playlist sounds and then automatically sets the title, based on that. Unfortunately, your files don't contain that tag, so it falls back to the default behavior of setting the title based on the filename, which leads to suboptimal results.

Granted, there is not that much use in using both modules in combination, since you already provide many playlists with correctly named playlist sounds. But people might still run into this by accident, if they use both modules, or want to create their own playlists and select you files via the file picker.

That's why I'm asking if it would be possible to add title tags to all the audio files provided by this module. Thanks!

Can't Download Module

I have had some recent issues where the module can no longer update and after attempting to re-install the module, it gets stuck at 99% for a awhile and eventually produces the following error:
FoundryVTT | 2023-06-17 02:15:59 | [error] Cannot read property 'entryCount' of undefined
TypeError: Cannot read property 'entryCount' of undefined
at file:///C:/Program%20Files/FoundryVTT/resources/app/dist/files/files.mjs:1:1610
at C:\Program Files\FoundryVTT\resources\app\node_modules\yauzl\index.js:34:21
at FSReqCallback.oncomplete (node:fs:185:23)
FoundryVTT | 2023-06-17 02:15:59 | [info] ENOENT: no such file or directory, open 'C:\Users<redacted>\AppData\Local\FoundryVTT\Data\modules\tabletop-rpg-music.zip' - 100%
FoundryVTT | 2023-06-17 02:15:59 | [info] Cleaning Up Artifacts - 100%
FoundryVTT | 2023-06-17 02:15:59 | [error] ENOENT: no such file or directory, unlink 'C:\Users<redacted>\AppData\Local\FoundryVTT\Data\modules\tabletop-rpg-music.zip'
Error: ENOENT: no such file or directory, unlink 'C:\Users<redacted>\AppData\Local\FoundryVTT\Data\modules\tabletop-rpg-music.zip'
at Object.unlinkSync (node:fs:1708:3)
at file:///C:/Program%20Files/FoundryVTT/resources/app/dist/packages/installer.mjs:1:1560
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Running Foundry v10 Build 291.

Any assistance is much appreciated.

Integrate with Moulinette

Moulinette is a module that can be used to manage all kinds of different assets, including audio. It provides a very convenient interface to access files, drag them onto the scene, and create playlists from audio files. Moulinette provides a very easy way for content modules to integrate with it and it would be great if Tabletop RPG Music could do so.

The documentation about how this integration works can be found here: https://github.com/SvenWerlen/moulinette-core/blob/main/docs/README.md#how-to-index-assets-provided-by-other-modules

However, it is extremely easy, all that would be needed is to include a small JavaScript file in your module:

Hooks.once("ready", async function () {
  if(game.moulinette) {
    game.moulinette.sources.push({ type: "sounds", publisher: "Tabletop RPG Music", pack: "Tabletop RPG Music", source: "data", path: "modules/tabletop-rpg-music/music" })
  }
});

And of course you would need to include this JavaScript file in your module.json.

I really hope you consider adding this as it would be a tremendous help for users of both Moulinette and Tabletop RPG Music. I would also be willing to simply create a Pull Request to add this if it sounds like a good idea to you in general :)

Music will not play

Currently running version 0.7.9 of Foundry and version 1.14.2.
When once Playlist has been imported, some tracks will play in the playlist and some will not.
In this case I had imported the epic music Playlist and the only song that would play is "The Grey Hunt". This occured on two separate servers running the same versions.

FoundryVTT v10 Warnings

This module logs two warnings on FoundryVTT v10.291.0 that cause a yellow popup bar to appear on admin login:

setup.js:145 [tabletop-rpg-music] The module "tabletop-rpg-music" contains "dependencies" which is deprecated in favor of "relationships.requires"
setup.js:145 [tabletop-rpg-music] module "tabletop-rpg-music" contains "system" which is deprecated in favor of "relationships.systems"

These appear to be deprecated patterns in module.json that seem straightforward to address. Details are in the Migration 3: dependencies and systems to relationships section of https://foundryvtt.com/article/manifest-migration-guide/. Summarizing, these two lines need to change:

"system": [],
"dependencies": [],
to something like:

{
  "relationships": {
    "systems": [],
    "requires": []
  }
}

I haven't tested this particular change to verify that it's valid, but that would seem to translate the intent of the current lines into the new system. There's certainly a movement toward stricter definition of system-compatibility though, I'm not sure if any empty relationship there is valid anymore or not. The docs are clear on that point.

No Sound?

I dunno why but.... if I activate the module after the update... no songs can be played from tabletop rpg music. Other sounds are working.

Won't show in world modules.

Hi, I'm self-hosting D&D5e v1.4.2 on FoundryVTT 0.8.8 and after installing the module it won't show in my available modules in the world. So I can't activate the compendium. Any Idea why that could be?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.