Rubydesic / minecraft-dynamic-discs

GNU General Public License v3.0
6 stars 9 forks source link

(Suggestion) Ability to use links instead of song titles #5

Open jaz3001 opened 3 years ago

jaz3001 commented 3 years ago

I've come up with three options for this idea:

  1. the ability to use full youtube links. Due to the limitations of naming items via anvils, these would only be usable via commands.
  2. the ability to use youtu.be links, these just barely fit into anvil item naming.
  3. the ability to use the "watch?v=___" part of a youtube link.
Rubydesic commented 3 years ago

Just put the video ID, youtube search will show up the video so it will work anyway.

jaz3001 commented 3 years ago

Just put the video ID, youtube search will show up the video so it will work anyway.

I've found that method to not work well, either returning incorrect results or getting a "java.lang.IllegalStateException: Not a JSON Object: null" error in my logs