This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
PixelToast's profile picture

[Color][Mouse][GUI] Disk Player

Started by PixelToast, 24 January 2013 - 02:57 PM
PixelToast #1
Posted 24 January 2013 - 03:57 PM
PixelToast's disk player
logo when i have time

over 500 lines!

i decided to finish up my old disk player :3


complete with full mouse support and monitor support :3
will automatically redirect to a monitor

Controls:

clicking a song will select that song
clicking the currently selected song will play it
the other buttons are self explanatory
clicking the space before the song name will select it (see playlists)

up/down will change the selection
enter will play it

(note: mouse controlls are stingy on monitors)

Setting up the turtle:

place a disk drive infront of a wireless turtle like this:

fill it with music disks and run diskreceiver:


Downloads:
diskplayer: https://raw.github.com/infinikiller64/ComputerCraft/master/diskplayer
diskreceiver: http://pixeltoast.x6...cc/diskreceiver

more reliable github later ;_;
feel free to request other modded disks!

Updating:

run diskplayer / diskreceiver with update after it
it will automatically grab the latest version from my site

the pastebin downloads will also grab the latest version

Pastebin downloaders:

diskreceiver: w2URK37B
diskplayer: ghGXyDQ6

Playlists:

playlists are currently advanced computers only
to make a playlist you have to select each song (see controls)
you can turn shuffle and repeat on and off by clicking the text

Changelog:

[1.0.0] initial release
[1.0.1] fixed some centering bugs (diskplayer)
[1.0.2] added updater and pastebin!
[1.1.0] added playlists (diskplayer)
NeverCast #2
Posted 24 January 2013 - 03:58 PM
That's sweet! Since you know the song lengths, Can you make a repeat-one feature?
I'd like to play Portal over and over again :P/>
PixelToast #3
Posted 24 January 2013 - 04:05 PM
i plan on making a playlist feature allowing you to loop and shuffle songs :3
EDIT:
done
Skullblade #4
Posted 24 January 2013 - 04:07 PM
Really cool I like it :D/> can't wait to try it out
NeverCast #5
Posted 24 January 2013 - 04:09 PM
Love it! Will make it a requirement on all my Mystcraft worlds xD

Can you make it so the controlling thingy can have a list of ids to send to?

I want one central display that controls all the players in the world!!
PixelToast #6
Posted 24 January 2013 - 04:13 PM
uhh, its broadcast for a reason, people sould have control over what they hear :3
i might make it configurable if you are that evil :P/>

EDIT:
update: 1.0.1 centering bugs fixed (diskreceiver)
NeverCast #7
Posted 24 January 2013 - 04:22 PM
Haha I don't like broadcast, someone will make a while true do loop that restarts the song. I'll have the first note playing over and over again :P/>

But good on you for making it work that way to begin with, supporting multiple players
PixelToast #8
Posted 24 January 2013 - 04:25 PM
it will also sync with other computers
when you start a song it will appear on every other player in range
working on updater now
Cranium #9
Posted 24 January 2013 - 04:42 PM
Love it. I really love it.
PixelToast #10
Posted 25 January 2013 - 02:51 AM
update 1.0.2 added updater and pastebin!
PixelToast #11
Posted 26 January 2013 - 07:43 AM
update 1.1.0 added playlists!


will add saving, time between songs, and more in the next updpate
lieudusty #12
Posted 27 January 2013 - 10:05 AM
Looks great :D/>
redeye83 #13
Posted 29 January 2013 - 03:48 AM
cant wait to test this out, just what I was looking for :D/>
Cranium #14
Posted 29 January 2013 - 08:09 AM
Now, I haven't tried this, but will it work with modded music disks? Such as the ones from the portals mod?
PixelToast #15
Posted 29 January 2013 - 08:25 AM
Now, I haven't tried this, but will it work with modded music disks? Such as the ones from the portals mod?
it has portal music disks :3
thats the only mod i support right now, you can request some more though
redeye83 #16
Posted 29 January 2013 - 11:16 AM
hmm cant seem to get it to work? first time it said that on line 1 it was expecting a symble and crashed the comp and then the next time it said no program twice and crashed the comp :unsure:/>
PixelToast #17
Posted 29 January 2013 - 11:56 AM
o.o weird, restart the comp, filesystem might be bugging
EDIT:
found something that would have caused a index nil and fixed it
rules54 #18
Posted 03 February 2013 - 04:07 PM
I tried the pastebin grabbers and they all download fine. However, when I run them I receive:

bios:388: [string "diskreceiver"]:1: '<name>' expected

Any help?
basdxz #19
Posted 04 February 2013 - 09:08 AM
Tekkit Lite uses the new CC…
Skullblade #20
Posted 04 February 2013 - 09:41 AM
WHEN I MADE THE SAME THING NOONE EVEN LOOKED AT THE CODE, WHEN A PRO DOES IT EVERYONE DOWNLOAD IT?!?! I HATE YOU PIXELTOAST!!!
stop raging
PixelToast #21
Posted 04 February 2013 - 11:25 AM
I tried the pastebin grabbers and they all download fine. However, when I run them I receive:

bios:388: [string "diskreceiver"]:1: '<name>' expected

Any help?
strange, ill look into it >_>
the direct links sould work for now

EDIT:
seems to be a problem with shell.run not passing strings with spaces
Zambonie #22
Posted 04 February 2013 - 12:07 PM
Hey pixletoast,I was wondering,I am looking programs for my os,and maybe I was thinking I could add this :)/> Do you think its a good Idea?
PixelToast #23
Posted 04 February 2013 - 02:40 PM
Hey pixeltoast,I was wondering,I am looking programs for my os,and maybe I was thinking I could add this :)/> Do you think its a good Idea?
sure, just make sure to make it use the update argument optionally

EDIT:
fixed the pastebin updater, fixing the players internal updater now…
Zambonie #24
Posted 05 February 2013 - 01:40 PM
Ok.Thanks!
rules54 #25
Posted 06 February 2013 - 06:51 PM
I tried the pastebin grabbers and they all download fine. However, when I run them I receive:

bios:388: [string "diskreceiver"]:1: '<name>' expected

Any help?
strange, ill look into it >_>
the direct links sould work for now

EDIT:
seems to be a problem with shell.run not passing strings with spaces

Thanks, I'll give it another try.

Edit: It works great. Thank you :D/>
Dlcruz129 #26
Posted 08 February 2013 - 01:29 PM
Ok Cloudy, I'll agree polls are pointless for suggestions, but if people want to ask questions about their programs, let them.

On-Topic: Nice program.
PixelToast #27
Posted 08 February 2013 - 02:19 PM
lol, i made the poll
you remember when he edited that one poll and made yes 9000 votes :D/>
Dlcruz129 #28
Posted 08 February 2013 - 03:34 PM
lol, i made the poll
you remember when he edited that one poll and made yes 9000 votes :D/>/>

Lolk.
PixelToast #29
Posted 09 February 2013 - 10:52 PM
due to 1.5 and up i reserve frequency 556 :3
(not compatable yet though, working on it)
PixelToast #30
Posted 05 March 2013 - 04:30 PM
i fixed a ton of bugs and added a update button, its not the complete release
the info and setting buttons are W.I.P. and will soon contain credits to beta testers (mainly on the CCU)

id just like to post this because im going to be gone for a week
frequency support will be made soon once i finish a bunch of other stuff

snapshots:


and i will need a pro to help me with my bios, PM me if you are interested
Divide_By_0 #31
Posted 11 March 2013 - 02:25 PM
ah i see.
Hitorikirino #32
Posted 28 March 2013 - 02:19 PM
I'm having trouble getting more than one turtle to play music at a time. I've got two turtles set up exactly the same way, even with the music discs in the exact same inventory slots. They're both running the receiver program. I then have one wireless computer running the player program. What happens is when I try to play a music disc both turtles get the disc from their inventory and put it in the disk drive, but only one of them actually plays the music. So what's up with that? How do I get the music to play in multiple locations at once?

Thanks.
PixelToast #33
Posted 28 March 2013 - 03:19 PM
im not sure if you can :s
if i recall you cant play multiple songs from multiple locations

sorry but its a problem i cant fix
viper venom #34
Posted 18 June 2013 - 02:32 AM
Umm are your sites down, because it's not working…
jesusthekiller #35
Posted 18 June 2013 - 10:21 AM
Nice!


Your host is down


Use pastebin :3


Use "+" in window's corner, it will look better :)/>


PMed you about BIOS :)/>


Just noticed that your post about BIOS was 4 months old D:
mt_2a #36
Posted 05 July 2013 - 10:29 PM
Can you fix your host please? I really want to test out this awesome program :P/>
MulticolouredMarshmellow #37
Posted 29 July 2013 - 12:38 AM
Love it, nice work like always!
star_weaver #38
Posted 19 July 2014 - 06:00 PM
error
startup:8: Domain not permitted
on server so i cant edit configs so any chance it could be changed or am i just out of luck
Cranium #39
Posted 19 July 2014 - 06:51 PM
No, you need to edit the configs to allow the domain this is on.