You are not logged in.

#1 2016-05-10 12:56

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Client / Skin for Xmms2 audio player

I have created a Skin / Client for the Xmms2 command line audio player, if you would like to try it out there is a esh installer available for install/uninstall from my website Here Just click the link and it should download. Also there is a deb file for download which can be used on any debian based distribution. Or you can visit my GitHub page to download the source code.
    I hope it may be useful to some of you and if you want to use it on other distributions I have put instructions for that on my website too.
Any feedback at all would be appreciated even if you just think it is a lame P.O.S.
    I will be maintaining this for as long as possible so if there are users of Xmms2 who would like an easier way to manage playlists etc please try it and let me know what it lacks and I will do my best to implement any new features that are wanted.

Thank you for taking the time to look

Dai Trying

Latest update (0.0.1-15) I have removed the "are you sure you want to quit" dialog as this could prevent system shutdown/reboot if not clicked.

Last edited by Dai_trying (2019-02-10 10:51)


Attachments:
esh setup_daixmms2client_0.0.1-14_all.esh, Size: 92.42 KiB, Downloads: 1,149
esh setup_daixmms2client_0.0.1-15_all.esh, Size: 92.17 KiB, Downloads: 1,074

Offline

#2 2016-05-10 13:19

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: Client / Skin for Xmms2 audio player

Great work Dai_trying, it looks very nice.

Offline

#3 2016-05-10 13:58

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

Thank you, I use Xmms2 for playing audio so I am using this for my needs and everything seems to be working ok, but the true test will be if and when others start using it smile

Offline

#4 2016-05-11 05:08

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

Nice work, Dai!


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#5 2016-05-11 06:37

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

Thanks DavidB smile

Offline

#6 2016-05-11 16:32

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

I like how you carried over the way Q4OS manages applications (in the TDE Apps menu) into your XMMS2 skin/installer.  It presents a nice, uniform experience for the novice Q4OS user.

Question: does XMMS2 have any "equalizer" settings that you can incorporate into your skin?


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#7 2016-05-11 18:42

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

The devs are to thank for the installer, I used their installation creator script to package it up, although I had to create a separate deb file for the other distributions to make it a little bit closer to what debian requires (although it is a long way from a proper debian package).
And I'm sure I remember seeing something about the equalizer settings so will look at putting that into the next release, thanks for the suggestion smile

Offline

#8 2016-05-11 19:24

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

Okay, what did I do?  I was playing around with the skin, making some playlists and such.  Then I closed the app, and when I tried to relaunch it again, it wouldn't do so.

So, I opened it up in a terminal/run dialog and got this:

Traceback (most recent call last):
  File "/program_files/daixmms2skin/usr/bin/daixmms2skin.exu", line 404, in <module>
    main()
  File "/program_files/daixmms2skin/usr/bin/daixmms2skin.exu", line 399, in main
    form = DaiSkin()
  File "/program_files/daixmms2skin/usr/bin/daixmms2skin.exu", line 69, in __init__
    my_func.load_play_lists(self)
  File "/program_files/daixmms2skin/usr/bin/my_func.py", line 98, in load_play_lists
    load_pl_entries_table(self)
  File "/program_files/daixmms2skin/usr/bin/my_func.py", line 115, in load_pl_entries_table
    add_row_to_table(self.table_pl_entries, track)
  File "/program_files/daixmms2skin/usr/bin/my_func.py", line 166, in add_row_to_table
    insert_row_to_table(row, table, data)
  File "/program_files/daixmms2skin/usr/bin/my_func.py", line 142, in insert_row_to_table
    set_row_to_table(row, table, data)
  File "/program_files/daixmms2skin/usr/bin/my_func.py", line 153, in set_row_to_table
    table.set_row_data(row, data['id'], data['tracknr'], data['album'], data['partofset'], data['title'],
TypeError: 'bool' object has no attribute '__getitem__'

What did I do to muck things up?  More importantly, any ideas how I can fix it?


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#9 2016-05-11 19:50

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I think this has something to do with missing id3 tag info, I thought I had covered the bases but will run some tests on tracks without id3 tags and see how I get on, I'm sorry I cannot offer an immediate fix as I must be missing a check on the information being put into the table. I have an idea where it might be though so shouldn't take too long to sort out. I will post back as soon as I have a fix available.

Offline

#10 2016-05-11 20:00

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I can confirm this behaviour, it happens when the media has missing or no id3 tags, I am working on a fix now and will make it available as soon as I can.

Offline

#11 2016-05-11 20:13

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

Hey, no rush at all!  I appreciate you looking in to it.  Thankfully, it's just a little bug, as software bugs go.


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#12 2016-05-11 20:45

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I have a fix here Please uninstall and re-install with new version (now 0.0.1-3) It was an error getting the information from xmms database, the way I had done it was only pulling music to the library if it had id3 data. It now fetches everything. smile

EDIT File removed and current version placed in first post

Last edited by Dai_trying (2016-05-12 13:44)

Offline

#13 2016-05-11 22:38

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

Thank you so much, Dai!  It seems to be working just fine, now.


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#14 2016-05-12 00:03

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

You are welcome, I have just found (and fixed) another bug that I only found because of fixing this one, so now there is another update, but I haven't had time to package it yet, so will do it tomorrow morning and make it available. I think the easiest way to update this thread with bug-fixes/updates will be to put the current installer in the first post, and replace it as new ones are released, that way it will be easy for anyone to find.

Offline

#15 2016-05-18 21:27

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I have added an equalizer for anyone wishing to try it out, any feedback would be great as always smile
Also if anyone has tried it and had any issues at all I would really love to hear about it so I can improve it.

Thanks to all.
Dai

Offline

#16 2016-05-19 03:38

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

Excellent, Dai!  Been using and enjoying your skin for XMMS2.  Thanks for including an equalizer.  I've had no issues with the skin since you fixed that minor bug with the playlist.  Great work!

David.


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#17 2016-05-19 09:56

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

Thanks DavidB, that's always good to hear smile Out of curiosity did you use xmms2 before or just since using my skin?

Offline

#18 2016-05-19 20:50

DavidB
Member
From: Saskatchewan, Canada
Registered: 2015-12-06
Posts: 180
Website

Re: Client / Skin for Xmms2 audio player

I only started using XMMS2 since you published your skin.  Ages ago, I used to use XMMS, but up until this point, I was either using VLC or Audacious for my music.


Current setup:  Acer Aspire One D257 / Q4OS Centaurus / TDE / SeaMonkey 2.53.8.1

Offline

#19 2016-05-19 21:25

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

Cool thanks, I've been using xmms2 for years now as it's really low on resources and I just have a conky showing me the current track/time etc. I created the skin as I found xmms2 to be a pain to manage play lists which is quite a big turn off for most users I would imagine.
    I have just been playing around with a new distro (to me) which is based on ubuntu 16.xx and they have a newer version of xmms2 and the equalizer will not work with it, I'm just off to boot scorpion and see if that has the same version (I hope not!!).

EDIT: As expected the equalizer will not work in Scorpion, I will be working on it, but at the moment I cannot see a way to get it working.

Last edited by Dai_trying (2016-05-19 22:38)

Offline

#20 2016-05-22 20:56

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

Thanks to Rémi Vanicat I have just received and implemented a fix for this, which I think will be released though the repos in due course. Debian bugtracker and a little head scratching from me got this all done in a few hours!! I am really impressed with that! smile

EDIT: As of 28/05/2016 fix is in stretch repository (version 0.8+dfsg-16)

Last edited by Dai_trying (2016-05-28 20:25)

Offline

#21 2016-05-28 18:15

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I have added id3v2 tag editing into my client so that tags can be changed if they are wrong (or missing), I have only tested it with mp3 files but it should work with any file that is capable of having id3v2 information stored.
Simply double click the track in the media library tab and you will get a box to edit the current settings. As always any feedback appreciated. smile

Dai

Offline

#22 2016-05-29 06:12

aldrik
Member
From: france
Registered: 2016-04-12
Posts: 65

Re: Client / Skin for Xmms2 audio player

Hello,

work fine, thank you for the job
(sorry... english and me...!!!)

Offline

#23 2016-05-29 10:04

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

You are most welcome aldrik, And I'm sure your english is better than my french smile

Offline

#24 2016-10-19 21:21

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I have found (and fixed) a bug that could cause the client to crash if user does not have permissions to edit id3 tag of file. Version 0.0.1-14 fixes it.

Last edited by Dai_trying (2016-10-19 21:22)

Offline

#25 2017-04-21 21:07

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Client / Skin for Xmms2 audio player

I have removed the dialog asking if you really want to quit when closing the client as this prevented the system from being shut down if the user does not click on it, and it is not always visible (ie when shutting down) so user would not know if they (like me) click on the shutdown dialog and walk away without waiting (I know it's only a few seconds normally).

Offline

Board footer

Powered by FluxBB