Author Topic: iojukebox Theme, a JukeBox for Attract-Mode.  (Read 770 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
iojukebox Theme, a JukeBox for Attract-Mode.
« on: August 15, 2018, 04:08:04 PM »
iojukebox Theme, a JukeBox for Attract-Mode.

Version 09/2018

Updated: 09/01/2018
The number of background videos is increased to 16.
The graphic files of the wallpapers are removed. They are changed by color schemes, increasing to 16 options.


This jukebox is based on the jukebox-pzin of comrade JosepZin.
Without his work, this theme would never have seen the light. Thanks friend.


Here you can see it running.
I've uploaded it to vimeo, because youtube put obstacles:
https://vimeo.com/285125523

And this video is demonstrative of the Random function, which i forgot to include in the previous one:
https://www.youtube.com/watch?v=v4bO7VJgnzE


And another with the last option that i have added, the background videos:
https://vimeo.com/286896131

Screenshots:






Some important details:
  • You do not need to use any Attract-Mode module, the ones you need already have them incorporated..
  • You do not need an external player, use only the internal Attract-Mode code.
  • Play the following music formats: mp3, wma, ogg and m4a.
  • The player has its own Play List and options: Play /Stop, Next, Prev, Loop and Random.
  • You can choose a video to mix it with the background of the screen among 16 options, or choose them randomly.
  • You can choose the scheme colors of the screen among 16 options, or choose them randomly.
  • You can choose the color...
    • Of the titles of the main album and the lists
    • Of the text of the album song lists
    • Of the text of the music player
    • Of the text of the playlists.
    • Or randomly choose any of them.
    • You can set the transparency of the wallpaper (0-255).
      If it is set to 0, only the video is displayed, and if it is set to 255, only the background is visible.
      Both work, but only one is seen. To hide the video or wallpaper it is better to use the "none" option that is included.
  • And, to work properly, you have to follow the following instructions point by point...

INSTRUCTIONS:

SYSTEM:
   
In Attract-Mode create a new "JukeBox" system where you have the rest of the systems, and create the folder where they will go roms (*.m3u) and wheels (*.jpg).
As an example, in these instructions, the path would be "E:\arcade\systems\jukebox\"

In the folder "\Emulators\" inside Attract-Mode, create a JukeBox.cfg like this:

Code: [Select]
# Generated by Attract-Mode v2.4.0
#
# executable         E:\arcade\systems\jukebox\JukeBox.exe
# args               "[romfilename]"
rompath              E:\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     E:\arcade\systems\jukebox\flyer
artwork    marquee   E:\arcade\systems\jukebox\marquee
artwork    snap      E:\arcade\systems\jukebox\snap
artwork    wheel     E:\arcade\systems\jukebox\wheel
   
Or this, if you use relative paths:

Code: [Select]
# Generated by Attract-Mode v2.3.0
#
# executable           ..\..\arcade\systems\jukebox\JukeBox.exe
# args                 "[romfilename]"
rompath              ..\..\arcade\systems\jukebox\roms
romext               .m3u
system               JukeBox
artwork    flyer     ..\..\arcade\systems\jukebox\flyer
artwork    marquee   ..\..\arcade\systems\jukebox\marquee
artwork    snap      ..\..\arcade\systems\jukebox\snap
artwork    wheel     ..\..\arcade\systems\jukebox\wheel

Since this layout does not use any external program, "executable" and "args" are not necessary, so they are commented with #.

ESSENTIAL FORMATS:

This JukeBox does not use tags of any kind, it only uses the names of folders and files.

For the system to work correctly:

  • There can not be more than one level of folders, all album folders must be together.
    Wrong: "E:\my music\Rock\Tom Odell - Long Way Down - 2013"
    Correct: "E:\my music\Tom Odell - Long Way Down - 2013".
  • The format of the folder must be "Singer - Album - Year", without special characters.
    In Spanish, the letters ñ, á, é, í, ó and ú should not be used.
    Correct: "Tom Odell - Long Way Down - 2013".
    Wrong: "1988 - Unidos - Miguel Ríos".
  • The songs must be named in this order and format #Track - Artist - Title.
    For example: "03 - Tom Odell - Another Love.m4a" and they can carry special characters.
  • In each of the album folders there must be a file with the name "folder.jpg", or any other name, but only one file *.jpg per folder,
    which should be the cover of the album, and is what will be shown on the screen.

GENERATION OF LISTS:

The file "create_lists.cmd" serves to generate the lists with the music: create the m3u (roms) the wheels (* .jpg) and the romlist. No need to generate anything with Attract-Mode.

Before executing "create_lists.cmd", edit it and modify the paths you are going to use:

  • set musicfolder = [Path of your music files: mp3, ogg, m4a or wma]
  • set output = [Path to where the .m3u lists will be created (the "roms" of your JukeBox system)]
  • set screenshots = [Route the covers of the disks, the files "folder.jpg" (that is the "wheels" of your JukeBox system)]
  • set musiclist = [Path where the archives of the rosettes of attract-mode are]
Example:

  • set musicfolder=F:\JukeBox
  • set output=E:\arcade\systems\jukebox\roms
  • set screenshots=E:\arcade\systems\jukebox\wheel
  • set musiclist=E:\arcade\attract\romlists

KEY ASSIGNMENT:

Assign these keys in Attract-Mode:

  • Custom1 --> Space
  • Custom2 --> L
  • Custom3 --> R
  • Custom4 --> LAlt
  • Custom5 --> LShift
  • Custom6 --> RShift
  • Next Favourite --> RControl
  • Prev Favourite --> LControl
  • Toggle Movie --> H
  • Screenshot --> S

The keys to be used appear in the on-screen help when pressing the H key and are the following:

  • Scroll through the albums: left and right
    (not up and down as in the other Attract-Mode systems).
  • Put an album in the playlist: Select.
  • Toggle Playlist/Albumlist: Left Alt.
  • Stop, play, a song: Space.
  • Loop: L.
  • Random: R.
  • Previous song:Left Control.
  • Next song: Right Control.
  • Move the playlist up:  Right Shift.
  • Move the playlist below: Left Shift.
  • Search and filter a string: S.

As you can see, you can easily change this key assignment. Of course, the help, unless you edit the layout code, will not be usable.

And if after all this long and heavy story that i have told you, you are still interested, you can download it here:

https://mega.nz/#!blVyVKrJ!wSxM2YyYBKYdKojieBNIe9TIfrEtUyPb1ZWS0x32Ti0
-- Updated 09/01/2018
« Last Edit: September 01, 2018, 03:10:08 AM by iOtero »

jedione

  • Hero Member
  • *****
  • Posts: 504
  • punktoe
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #1 on: August 15, 2018, 05:35:19 PM »
abought time!    this is great to see......

AM,,,  is capable of moore...

thanks for the details on set up..... :)
help a friend....

toothlessgrinn

  • Full Member
  • ***
  • Posts: 67
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #2 on: August 17, 2018, 09:59:44 AM »
RIGHT ON!!!! can this play in background while playing games by anychance?? id love tohelp with some layouts lmao... but i cant seem to get the editor to work for me.. but im totally in on this project!! this is whythe worlds need programers! the possabilities are endless... sorry but im a hardware guy. ive never been able to deal with code. so my hatsoff to all of you guys who make this fe the best!!
we came , we saw , we lost LOTS of quarters...

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #3 on: August 18, 2018, 05:51:38 AM »
can this play in background while playing games by anychance?

I would love for that option to be available, but I have not been able to get it yet. Sorry.  :-[

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #4 on: August 18, 2018, 09:56:43 AM »
Uploaded new version with the modules not included by default in attract mode.

https://mega.nz/#!u9k1ALiB!h4u2pHd0rczkfg9JZS2Od0ltFmwz4koM7uc0E4BGeIw

Added also to first post.

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #5 on: August 22, 2018, 11:30:26 AM »
Updated on first post: Now you do not need to use any Attract-Mode module, the ones you need already have them incorporated.

toothlessgrinn

  • Full Member
  • ***
  • Posts: 67
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #6 on: August 29, 2018, 10:21:06 AM »
maybe a stupid question but this will play music videos too right?? im assuming its all in what you tell it to look for ..or do you need a player associated with it as well?
we came , we saw , we lost LOTS of quarters...

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #7 on: August 29, 2018, 12:58:54 PM »
You do not need any special player, it only plays with the squirrel's own code and of course you can play videos, you just have to modify the batch to find them. But it is a subject that I have not considered yet.

iOtero

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #8 on: September 01, 2018, 03:06:55 AM »
Update 09/01/2018:

The number of background videos is increased to 16.
The graphic files of the backgrounds are removed. They are changed by color schemes, increasing to 16 options.
« Last Edit: September 01, 2018, 10:50:09 AM by iOtero »

taelonian

  • Full Member
  • ***
  • Posts: 35
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #9 on: September 01, 2018, 05:58:22 AM »
Gracias / Thanks  ;)

kent79

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: iojukebox Theme, a JukeBox for Attract-Mode.
« Reply #10 on: September 01, 2018, 08:55:36 PM »
Great. Thank you  :)