XMMS-MusicBox (Album based playlists with pictures)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

XMMS-MusicBox (Album based playlists with pictures)

#1 Post by MU »

This is a very clean interface for the xmms-Multimediaplayer, developed by new Puppy member DavidBell :)

Screenshot:

http://puppyfiles.org/dotpupsde/dotpups/Multimedia/

Download (930 kb):
http://puppyfiles.org/dotpupsde/dotpups ... sicBox.pup


You can get XMMS here:
http://puppyfiles.org/dotpupsde/dotpups ... by-Dougal/
or here:
http://puppyfiles.org/dotpupsde/dotpups ... ms-1.2.10/

They differ concerning supported plugins and skins, I did not try out yet, if they can be combined in one folder (for example if kjofol works with Dougals XMMS, too).

More info about xmmsMusicBox in this thread:
http://www.murga-linux.com/puppy/viewto ... 1&start=15

Thanks David! :)

Mark
Last edited by MU on Sun 02 Mar 2008, 19:18, edited 2 times in total.

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#2 Post by DavidBell »

Just a note. Most recent update is at the bottom of page 4 of the thread Mark linked. Instructions and limitations for use are about half way down page 3 of the same thread. Most important thing is that it will only accept a directory structure of

Library Folder
__>>Artist Folders
____>> Album Folders
______>> Music and Cover Art files

for the Music Library.

Enjoy. DB

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

#3 Post by klhrevolutionist »

Wow ! This is really nice and will surely help people from asking where xyz app is.. Users will enjoy this very much. Now to get Ian to work on a sqlite database...

How come the executable is encrypted ??

Speaking for rev only I learn from others scripts...
Last edited by klhrevolutionist on Sat 06 Jan 2007, 03:15, edited 1 time in total.
Heaven is on the way, until then let's get the truth out!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

updated dotpup to v4
Adds a multiselect hack, so you can Ctrl-Click Albums then click Play Now and they all play.
Mark

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#5 Post by DavidBell »

klhrevolutionist wrote:How come the executable is encrypted ??
I don't know, think I used standard settings. Latest source is in the xmb4.tar.gz in the other thread. I didn't include the makefile because it doesn't seem to be portable. DB

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

I ran:
strip xmmsMusicBox (2.8 MB -> 2.2 MB)
upx xmmsMusicBox (2.2 MB -> 832 kb)


You can decompress with
upx -d xmmsMusicBox
using http://dotpups.de/dotpups/System_Utilities/upx.pup
Mark

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

#7 Post by klhrevolutionist »

Well I was kinda hoping you would post the source.. Before you do could you tell me what it is written in ?
Heaven is on the way, until then let's get the truth out!

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#8 Post by DavidBell »

klhrevolutionist wrote:Well I was kinda hoping you would post the source.. Before you do could you tell me what it is written in ?
Mmm, as I said it's in the other thread pointed at the top of the page. Link is

http://www.uploading.com/files/YDOCHYU2 ... ar.gz.html

PS it's in C++ with wxWidgets

DB

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

I updated the dotpup, it now includes a small source.tgz.

Mark

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#10 Post by DavidBell »

W A R N I N G. Mark found a problem with this (see next post). Use with caution. DB

U P D A T E. Think this is fixed now, but may be fragile with files less than one second long. DB

Update finishes off most functions and now has it synched up properly with xmms. Still not super-tidy but it's working well for me.

Hoping Mark will update the dotpup, but for those with it already installed just change the binary. There are instructions included in Readme_xmmsMusicBox.html.

Regards. DB
Last edited by DavidBell on Sun 14 Jan 2007, 07:01, edited 4 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

I found a instability:

if you delete entrys from the playlist and restart, it crashes:
Especially removing the first one is critical, it crashes your program immedeatly.

sh-3.00# ./xmmsMusicBox
Floating point exception

I must delete then:
/root/.xmms/xmms.m3u
and close xmms.
Only then your program starts again.

Can you try to solve that, before I upload a new dotpup?

Mark

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#12 Post by DavidBell »

MU wrote:if you delete entrys from the playlist and restart, it crashes:
Especially removing the first one is critical, it crashes your program immedeatly.
Hmm I can't reproduce that, can you send a screenshot of the xmms playlist when it's about to crash? Wierd thing is I don't use any floats anywhere, but it may be in wxW libs. Earlier on I found that if XMB crashed sometimes it wouldn't always synch up with restart - I think I started and killed xmms to fix - but haven't seen that for some time.

I'll put a warning on the other post, and see if I can fix it in the meantime (plus two other small bugs I found). I may have to send you a debug version. Probably not today.

David

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#13 Post by DavidBell »

MU wrote: if you delete entrys from the playlist and restart, it crashes:
Especially removing the first one is critical, it crashes your program immedeatly.
Is it possible it is getting stuck on a file less than one second long like the puppy bark? That could cause a divide by 0, easily fixed.

It's working on my other computer OK. DB

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#14 Post by DavidBell »

Mark I replaced with an update that fixes one potential error. If that's not it not sure where it would be. DB

Edit. In hindsite there is a couple of other places where files under one second would cause a problem, so it may not be fixed yet.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

Fine, that fixed it :)
Good work :!:

Dotpup (1 MB):
http://dotpups.de/dotpups/Multimedia/XmmsMusicBox.pup

By the way: the libxmms.so.1 symlink in /usr/lib is not needed on my system.

Many thanks for this proram, Mark

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#16 Post by DavidBell »

That's good. There's still a couple of potential errors that I'll fix but hold back for next update in a couple of weeks (unless they cause problems for someone).

Thanks again for the dotpup, I better learn how to do them someday. At the moment though I don't know enough about how the file system works, same goes for the lib.

DB

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#17 Post by MU »

create dotpup:

download:
http://dotpups.de/stuff/diverses/XmmsMusicBox.tar.gz

extract somewhere, like to /root/packaging/

Install:
http://dotpups.de/dotpups/System_Utilit ... d-mu06.pup

Then drag /root/packaging/XmmsMusicBox on the dotpupwizard-icon.

Select xmmsMusicBox when asked for a menu-entry.

When asked for XDG-menu, choose AudioVideo-Audio-player.


To update the files, compress your new binary:
strip xmmsMusicBox
upx xmmsMusicBox (needs http://dotpups.de/dotpups/System_Utilities/upx.pup)

Replace
/root/packaging/XmmsMusicBox/xmmsMusicBox
with it.

Then also replace the source.tgz with your new sourcefiles, you can create it with PupZip.

Just in case it interests you, but I also can update them in future, takes only some minutes, as I'm used to it ;)

Mark

User avatar
Leo-Ko
Posts: 37
Joined: Sun 04 Feb 2007, 13:46
Location: Santiago de Chile

#18 Post by Leo-Ko »

have a problem with the xmmsmusicbox

I installed it, but on having made to cover the program it does not work

I have the xmms 1.2.10 installed and xmmsmusicbox (puppy 2.17.1)
I believe that the problem has something that o see what he says here,

it is the file read me of the musixbox

"Basically you just install the dotpup (Thanks Mark). It is possible you will need to add a symlink in /lib/libxmms.so.1 that points to /usr/local/lib/libxmms.so.1.3.1, but Mark might have done this in the dotpup."

can anybody say to me like to do a symlink?

EDIT!!!! :

and solved the problem = D!

it was exactly what I thought, I lacked symlink

In order to do symlink the two windows with rox are due to open
to filer (/lib/ and /usr/local/lib/)

later libxmms.so.1.3.1 crawls
(/usr/local/lib/libxmms.so.1.3.1)

to /lib/

in the pop up to select ' Link (relative) '

later to rename symlink to: libxmms.so.1


==============================================

engo un problema con este programa

lo instale, pero al hacer correr el programa no funciona

tengo instalado el xmms 1.2.10 y xmmsmusicbox (puppy 2.17.1)

creo que el problema tiene algo que ver lo que dice aqui, es el

archivo leeme del musixbox:

Basically you just install the dotpup (Thanks Mark). It is possible you will need to add a symlink in /lib/libxmms.so.1 that points to /usr/local/lib/libxmms.so.1.3.1, but Mark might have done this in the dotpup.


alguien puede decirme como hacer un symlink?


EDIT!!!:

e resuelto el problema =D !!!

era exactamente lo que yo pensaba, faltaba el symlink

Para hacer el symlink se deben abrir las dos ventanas con el rox filer ( /lib/ y /usr/local/lib/ )

despues se arrastra el libxmms.so.1.3.1 (/usr/local/lib/libxmms.so.1.3.1)

a /lib/

en the pop up seleccionar "Link (relative)"

despues renombrar el symlink a : libxmms.so.1:

my musicbox =D

Image

Airmaus
Posts: 4
Joined: Wed 05 Sep 2007, 17:11

MP3s listing in reverse order, FLAC in proper order?

#19 Post by Airmaus »

The program is working great for me except for one small quirk- I hope you guys can help me with it!
MP3 are coming up in reverse order. I have the MP3s in an Artist>Album>Track, with the track number listed with a leading zero.

FLAC lists in the correct order with the same naming scheme. I'm using Puppy 2.17. Any tips would be helpful, thank you!

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#20 Post by DavidBell »

Sorry I missed this, maybe check settings in xmms because xmmsmusicbox just copies it's playlist from what it finds in xmms.

BTW I have been thinking I might have a go at putting the music player stuff into it directly so you don't need xmms running in background, and I'd redo the playlist at the same time .... probably in the next two or three weeks if it works.

DB

Post Reply