Minecraft: /setblock a playing jukebox

How do I setblock a playing jokebox in Minecraft? I need the command.


I agree with Judge2020, that you should always try to find out your own question before coming here. Anyway, the command you want is:

/setblock ~ ~ ~ minecraft:jukebox 0 replace {RecordItem:{id:"minecraft:record_wait",Count:1b}}

Remember, this will make the jukebox, and it WILL have the disc inside, but IT WILL NOT PLAY! That is simply how it works, and there is no way to make it play automatically (or so I am told).