Git Product home page Git Product logo

playlist's Introduction

Playlist Banner Logo

Update:

I am currently working on a full re-write for this mod. Maintaining this mod in it's current state is a bit difficult, as it was my first ever Minecraft mod and I have learnt a lot since then. A lot of work has been going into a custom UI library (that will be available as it's own library mod). I'm glad to report that it's mostly done, and is genuinely a really cool tool to work with. UI has been one of the pain points with Playlist, since the mod is so UI-heavy. Playlist 2.0 will see a completetly new UI, built-in support for custom songs, and will also contain features that may help modpack developers (since it's a surprsingly large use case!).

As such, I am no longer addressing any of the current issues, since the new mod will be a clean slate anyway.

Additionally, I also fully plan on open sourcing Playlist 2.0, creating a wiki here, and recording a video tutorial series to help people learn how to use all the features in Playlist :)


Take control of Minecraft's in-game music - An in-game media player that allows you to create playlists, skip songs, create queues, edit song play conditions, and much more

This mod is in beta! Please report any bugs - it helps a lot!

Support me on Kofi so I can keep developing this mod :)

Buy Me a Coffee at ko-fi.com

Download from Modrinth or CurseForge


More screenshots available at Modrinth or CurseForge

Feature Overview

  • Play any in-game song at any time (excluding records, for now)
  • Create playlists with many customization options
  • Stop, skip, or go back to songs
  • Create queues of songs to play
  • Customize how often songs play (or don't play)
  • Customize which songs play where and when based on environmental or player conditions
  • Control volume right from the menu and with keybinds
  • And more!

You Should Know

  • The default key bind to open the menu is G
  • This mod is still in beta - it should mostly be stable, though I fully expect minor bugs to still exist. Please report them so that I may squash them!
  • Modpack developers - you may add this mod to your modpack without asking - though please keep in mind that this mod is in beta and will likely interfere with other mods that add music to the game!
Other info

• Before anyone asks, a Forge version will be considered if enough interest is shown

• This mod works by replacing Minecraft's entire music logic. This allows for complete control over how, when, and what music plays. However, this breaks the ability for other mods to add music to the game. This will be fixed in the future, but please do still report any mods that this mod breaks!

• I will try to push out updates as much as possible, forgive me if I'm a little slow! I've got quite a bit goin' on

Currently available for Fabric, with the latest version supported being 1.20.1, and requires the Fabric API Feel free to ask any questions in the GitHub if you are unsure about something in the mod!

Enjoy!

playlist's People

Contributors

fudgeu avatar

Stargazers

Paul Schuetz avatar  avatar Ompyl avatar Macchu Picchu avatar Diamond avatar ComradeBlaze avatar DeadbushCarrot avatar  avatar Abhinav Kuruvila Joseph avatar Kevin Kuriakose avatar  avatar Danexa avatar Miles avatar

Watchers

 avatar Felix14_v2 avatar  avatar ComradeBlaze avatar Dani avatar DeadbushCarrot avatar

playlist's Issues

Playlists dupe

They randomly dupe I think it might be related to changing resource packs.

stream functionality?

I have been previously using this other mod called "Music Player" (there are two mods with the same name, it's not on Modrinth so I'll just give the link for you to see for yourself) and it has some online functionalities I'd like to see incorporated into this mod if it could even be possible and you're open to the suggestion (I don't know how hard having something work online would be, so it might not be a very good idea).

I also find that it would be interesting to see if this might help with the custom-added music issue, possibly even being able to convert soundtracks directly into a resource pack like with the VanillaTweaksDownloader mod.

(curseforge.com/minecraft/mc-mods/music-player) - by HyCraftHD

Thank you, kindly. (and sorry for the wall of text, lots of ideas came to mind when I saw this and I couldn't not have told someone about them)

Empty, unnamed playlist

When I loaded up Playlist v1.3 for the first time, there was (in addition to the usual Default playlist) an unnamed and completely empty playlist. Seems unintended. See here:

Screen Shot 2023-04-25 at 11 08 44 PM

Unable to load on Quilt by default

I have tried this mod on Quilt and it has been working properly(not mentioning bugs that have just been fixed in latest release)

One issue is that whenever installing thid mos i have to jump into fabric.mod.json and change 'depends": {'
Could it be changed so that it's easier for people to use this mod on Quilt without needing to edit?

Can I configure the delay between Minecraft's in-game music with this mod, even if I just let MC automatically choose the song

Can I configure the delay between Minecraft's in-game music with this mod, even if I just let MC automatically choose the song like in Vanilla?
Basically, I use this mod: https://modrinth.com/mod/moremusic to reduce delay between MC music tracks
Can I do that with Playlist while retaining the rest of the Vanilla behavior? (that is, letting mc choose the music they way it would do without this mod)

Add Russian localisation

Hi! After the death of MineAmp, I stopped hoping that I would ever see a mod that would make up for this loss. Thank you for working on this, the opportunity to listen to music without switching out of the game is just incredible!

I translated the available UI elements into my native language, based on my previous translation experience and the interfaces of usual media players. Some of the messages have been localized to stylistically match the general style of existing programs, the other part had to be shortened so that the phrases fit into the space allocated for them.
lang.zip

There are also several stylistic improvements:
image
(if these are bad decisions according to the author of the mod, I have nothing against removing them)

It would also be nice to see the mod's source code on GitHub. At least it would make it easier for other people to contribute and protect the project from possible oblivion, as happened with MineAmp at the time of 1.14...

[bug] Playlists aren't saved

Issue:
Creating a new playlist creates a perfectly fine working playlist.
Except, when closing and reopening the game the playlist is suddenly gone.
The playlist folder in .minecraft is completely empty

Crashing game (probably when active playlist is empty)

When I created new playlist, I didn't add new songs and started playing random song from default list. When it ended, my minecraft crashed with this error:

Error: java.lang.NullPointerException: Cannot invoke "com.fudgeu.playlist.objects.PlaylistObj.getGameLeadTime()" because "playlist" is null

Make the switches in the settings easier to tell

the switches are kinda hard too tell if its off or on I had to turn on and off dark background to tell so maybe make the switch change from red to green to tell or a little square next to it that does it

Added weight in certain biomes.

Could there be a way to make it so that weight could be increased when in certain biomes? For example, Floating Dreams (a track that only plays in mountain biomes) could play anywhere, but only has its weight increased in those biomes? I'm assuming that the music doesn't play at all unless it's in the required biomes, but I'm not sure if that's how the system works in the mod.

This mod is incredible btw, I've always wanted to play with something like this

Thank you!

[FEEDBACK]

I have been searching all over the internet for a mod like this, thank you so much for providing this!
Finnaly I can skip the songs i dont like.

Respect and thank you from Norway

Backporting

Hi - is there any chance of you backporting some of the fixes and additions from 1.2 onwards to a version of the mod for 1.19? I play on 1.19 since the server i play on is still on that version, and missing some of the extra additions and bugfixes (especially the whole "crashing when entering the end" issue) is really unfortunate.

Creative music in survival

Is it possible to make a sub option for creative music to make it play in survival in edit option menu?
and maybe the other way around?

Ability to import custom tracks

This mod is the closest I've found to meeting my ideal music experience in Minecraft, with one major exception : I can't find a way to import custom tracks (Volume Alpha has tons of bangers that went unused in the base game). Your response to a previous ticket indicated that this was possibly planned? I'd love to know when that might happen.

In addition, there are a number of design/UI/interface issues that could be improved based on my experience. I would love to talk to you about these over Discord, and I'd be happy to draw up detailed solutions myself. Please do reach out to me at MacchuPicchu#8655

Again, I am very impressed with your work on this mod, and I would even be willing to donate a modest sum of money if it would help development.

Resource pack custom album art support

Using resource packs, customs songs can be added into playlist. This is fine and works relatively well.
However due to the way the code matches the album string to the album art files, it is unable to accept custom album arts.

(see here)

public static class_2960 matchUpAlbumToArt(final String album) {
        switch (album) {
            case "Volume Alpha": {
                return new class_2960("playlist", "textures/album_art/volumealpha.png");
            }
            case "Volume Beta": {
                return new class_2960("playlist", "textures/album_art/volumebeta.png");
            }
            case "Nether Update": {
                return new class_2960("playlist", "textures/album_art/netherupdate.png");
            }
            case "Caves & Cliffs": {
                return new class_2960("playlist", "textures/album_art/cavesandcliffs.png");
            }
            case "Axolotl": {
                return new class_2960("playlist", "textures/album_art/axolotl.png");
            }
            case "Dragon Fish": {
                return new class_2960("playlist", "textures/album_art/dragonfish.png");
            }
            case "Shuniji": {
                return new class_2960("playlist", "textures/album_art/shuniji.png");
            }
            case "Wild Update": {
                return new class_2960("playlist", "textures/album_art/wildupdate.png");
            }
            default: {
                return new class_2960("playlist", "textures/album_art/unknown.png");
            }
        }
    }
    

Instead of matching album arts from a set list, adding another variable into the song info files could allow for resource packs to specify custom files.


"music.lena_raine.left_to_bloom": {
        "title": "Left to Bloom",
        "artist": "Lena Raine",
        "album": "Caves & Cliffs",
        "albumart": "cavesandcliffs"
        "categories": {
            "category.overworld": [
                "condition.biome:minecraft:lush_caves",
                "condition.biome:minecraft:meadow"
            ]
        }
    }
    

this would also mean modifying the code to insert the album art string into the file path


public static class_2960 matchUpAlbumToArt(final String albumart) {
        switch (albumart) {
            default: {
                return new class_2960("playlist", "textures/album_art/" + albumart + ".png");
            }
        }
    }
    

Make it so you can tell what loop setting you have selected!

So basically i downloaded the new update and I see the loop button i press it until it a loop with 2 dot so i thought it was gunna loop the song but it didn't it took a few minutes to realize that the one with no 2 dot would loop it so if possible add text that hovers over the loop button that tells you what loop setting you selected!

Source code

Will you publish the source code of your mod? I would be happy to fork your repository and try to help you fix bugs, and I also have an idea with integration into Discord (yeah, I love working with discord so much :D)

Breaks Mipmapping

I would like to inform you that this mod breaks mipmapping. I don't really know why, but it does. I know some Resource Packs in themselves can cause this issue.

Update to 1.19.1?

The mod available on Modrinth is only on 1.19, and it doesn't work for 1.19.1. I'd love to be able to use this mod on the latest version :)

Feature Suggestion - Music Control Hotkeys

Would be useful to able to bind hotkeys to be able to skip/go back/pause music without having to open the menu. Not a very pressing issue but it would be amazing if possible :D Thanks, amazing mod!

1.19.1 Version

Hi, sorry if I'm uninformed but could a 1.19.1 version be published? At the moment there's only a 1.19 and a 1.19.2 version and the 1.1.0 release does not work with 1.19.1. I don't know how to make mods run on different versions so I'd really appreciate it. Thank you!

(Logo upgrade) Updated logo art

If you want too, you can use this updated art I made its small but a upgrade none a less

playlist logo <-- 8x10 verison

Playlist art (Github)

If I need to fix anything tell me

hey

Author, please, add me in Discord - itzme1on#5568

[Bug] Game crash when entering the end

I was playing multiplayer using the Essentials mod so I could play multiplayer anyways I jump into the end and game crash reload world game crash I was using a playlist when entering tho.

Playlist only playing alpha songs

when i created a playlist only songs from the alpha album would play even when forcing a non-alpha song to play all songs after that would only play alpha and a alpha song would also play behind the selected song
when removing alpha songs completely from the playlist everything worked correctly

Constant load screen

Minecraft always try to start game and show "red Mojang" loading screen. When it finishes then it starts again.

1.19.4

Hey!

This is a super cool mod, it works just fine on 1.19.3, however, my server has been updated to 1.19.4 and now Fabric refuses to load this mod.

It would be greatly appreciated if updated!

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.