You are not logged in.

#1 2008-03-28 17:50:00

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

A new lightweight music manager

Hi everyone,

I have written a music manager called Consonance.
It uses GTK+ and aims to be fast, bloat-free and light on memory consumption.

The reasons for coding up another library manager:

* Switched from KDE/GNOME to fluxbox. So big apps like amarok, banshee were out.
* Exaile was becoming too heavy and slow.
* mpd and its various clients were either lacking certain features or were too esoteric for my usage.
* It was fun. smile

Anyway, it is right now at 0.2v and a little rough at the edges. But I guess it should be usable.
The main features are:

* Library management using sqlite3
* Multiple views
* OSD support

Right now, only mp3 is supported. Other popular formats would be added in the upcoming releases.
I have added a PKGBUILD at: http://aur.archlinux.org/packages.php?ID=16010
The development work happens at https://sourceforge.net/projects/consonance/

After installation, basic information is at /usr/share/consonance/doc/README.
Try it out and have fun !

Offline

#2 2008-03-28 18:46:45

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: A new lightweight music manager

 > consonance

** (consonance:11646): CRITICAL **: (init_config): Unable to load conrc, err: File is empty
3f092e5d-dad9-f5ae-3dae6597-68babbaf is dumped

Bug report dump file:

System: Linux 2.6.24-ARCH #1 SMP PREEMPT Wed Mar 5 12:07:52 UTC 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



----------- .xsession-errors (6 sec old) ---------------------
28/03/2008 18:42:16 [Info]: Updated "Firefox Bookmarks" Item Source.
28/03/2008 18:42:16 [Info]: Updated "GNOME Special Locations" Item Source.
28/03/2008 18:42:16 [Info]: Updated "Manually-typed path items" Item Source.
28/03/2008 18:42:16 [Info]: Updated "Recent Files" Item Source.
28/03/2008 18:42:16 [Info]: Updated "Internal GNOME Do Items" Item Source.
28/03/2008 18:42:16 [Info]: Updated "GNOME Do Item Sources" Item Source.
Could not read Amarok database file: Mono.Data.Sqlite.SqliteException: Unable to open the database file

unable to open database file
  at Mono.Data.Sqlite.Sqlite3.Open (System.String strFilename) [0x00000] 
  at Mono.Data.Sqlite.SqliteConnection.Open () [0x00000] 
28/03/2008 18:42:16 [Info]: Updated "Amarok Music" Item Source.
Could not read Banshee database file: Unable to open the database file

unable to open database file
28/03/2008 18:42:16 [Info]: Updated "Banshee Music" Item Source.
28/03/2008 18:42:16 [Info]: Updated first results for 'q'.
--------------------------------------------------

I'm using Gnome+Compiz.

Thanks smile


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-03-28 18:59:51

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: A new lightweight music manager

Can you provide some screenshots please?


Till the last battle, till the last bottle.
aur - twitter

Offline

#4 2008-03-28 19:13:31

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: A new lightweight music manager

Tried out... nice! I like it!
(Especially now that banshee is moving in the direction I don't like.)
I have a two (dumb) questions:
- in what form do I need to provide album art if I want to see it?
- do you plan to add support for multimedia keys (XF86AudioPlay, ... and the like)?
EDIT: I forgot: works for me on x86_64.

Last edited by bender02 (2008-03-28 19:13:53)

Offline

#5 2008-03-28 20:00:26

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: A new lightweight music manager

Nice work, I like it too.

p.s.
Support for .wav and AudioCD would be nice.
wink

Offline

#6 2008-03-28 20:11:39

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: A new lightweight music manager

It is really snappy and works. Your app looks promising!

Offline

#7 2008-03-29 02:10:45

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

bender02 wrote:

Tried out... nice! I like it!
(Especially now that banshee is moving in the direction I don't like.)
I have a two (dumb) questions:
- in what form do I need to provide album art if I want to see it?
- do you plan to add support for multimedia keys (XF86AudioPlay, ... and the like)?
EDIT: I forgot: works for me on x86_64.

Thanks for trying !
Support for album art is primitive right now. Any jpeg/png image in the track's folder
is loaded.
I use fluxbox and just bind my preferred keys to various cmdline options.
You can see the options by typing 'consonance --help'
My ~/.fluxbox/keys contains this:

Mod4 Z :ExecCommand consonance --prev
Mod4 X :ExecCommand consonance --stop
Mod4 C :ExecCommand consonance --pause
Mod4 V :ExecCommand consonance --play
Mod4 B :ExecCommand consonance --next
Mod4 N :ExecCommand consonance --show_osd

Offline

#8 2008-03-29 02:12:14

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

SiD wrote:

Nice work, I like it too.

p.s.
Support for .wav and AudioCD would be nice.
wink

Thanks for trying it out!
Support for other playback formats is in the pipeline. smile

Offline

#9 2008-03-29 02:20:38

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

finferflu wrote:
 > consonance

** (consonance:11646): CRITICAL **: (init_config): Unable to load conrc, err: File is empty
3f092e5d-dad9-f5ae-3dae6597-68babbaf is dumped

Bug report dump file:

System: Linux 2.6.24-ARCH #1 SMP PREEMPT Wed Mar 5 12:07:52 UTC 2008 i686

----------- .xsession-errors (6 sec old) ---------------------
Could not read Amarok database file: Mono.Data.Sqlite.SqliteException: Unable to open the database file

unable to open database file
  at Mono.Data.Sqlite.Sqlite3.Open (System.String strFilename) [0x00000] 
  at Mono.Data.Sqlite.SqliteConnection.Open () [0x00000] 
28/03/2008 18:42:16 [Info]: Updated "Amarok Music" Item Source.
Could not read Banshee database file: Unable to open the database file

unable to open database file
28/03/2008 18:42:16 [Info]: Updated "Banshee Music" Item Source.
28/03/2008 18:42:16 [Info]: Updated first results for 'q'.
--------------------------------------------------

Did the application start ? You can use consonance -e to see the debug messages.
And from your ~/.xsession-errors, it looks like there is an issue on creating a sqlite3 DB for all applications.
Consonance's DB and rc file are in ~/.consonance .

Offline

#10 2008-03-29 02:32:21

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

A couple of screenshots:

screenshotkw7.th.png
screenshot2bl1.th.png

Last edited by sacamano_m82 (2008-03-29 02:39:52)

Offline

#11 2008-03-29 06:25:10

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: A new lightweight music manager

sacamano_m82 wrote:

Did the application start ? You can use consonance -e to see the debug messages.
And from your ~/.xsession-errors, it looks like there is an issue on creating a sqlite3 DB for all applications.
Consonance's DB and rc file are in ~/.consonance .

It seems like it starts, because it doesn't just crash, but I can't see the actual window. This is the debug output:

> consonance -e                                                    [~]  
** (consonance:5110): DEBUG: (init_config): Initializing configuration

** (consonance:5110): CRITICAL **: (init_config): Unable to load conrc, err: File is empty
** (consonance:5110): DEBUG: (init_musicdbase): Initializing music dbase
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS TRACK (location INT PRIMARY KEY, track_no INT, artist INT, album INT, genre INT, year INT, bitrate INT, length INT, channels INT, samplerate INT, title VARCHAR(255));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS LOCATION (id INTEGER PRIMARY KEY, name TEXT, UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ARTIST (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ALBUM (id INTEGER PRIMARY KEY, artist INT, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS GENRE (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS YEAR (id INTEGER PRIMARY KEY, year INT, UNIQUE(year));
** (consonance:5110): DEBUG: (init_audio): Initializing audio
** (consonance:5110): DEBUG: (init_audio_mixer): Initializing audio mixer

Thanks smile

Last edited by finferflu (2008-03-29 06:25:37)


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#12 2008-03-29 07:45:32

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

finferflu wrote:

It seems like it starts, because it doesn't just crash, but I can't see the actual window. This is the debug output:

> consonance -e                                                    [~]  
** (consonance:5110): DEBUG: (init_config): Initializing configuration

** (consonance:5110): CRITICAL **: (init_config): Unable to load conrc, err: File is empty
** (consonance:5110): DEBUG: (init_musicdbase): Initializing music dbase
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS TRACK (location INT PRIMARY KEY, track_no INT, artist INT, album INT, genre INT, year INT, bitrate INT, length INT, channels INT, samplerate INT, title VARCHAR(255));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS LOCATION (id INTEGER PRIMARY KEY, name TEXT, UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ARTIST (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ALBUM (id INTEGER PRIMARY KEY, artist INT, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS GENRE (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5110): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS YEAR (id INTEGER PRIMARY KEY, year INT, UNIQUE(year));
** (consonance:5110): DEBUG: (init_audio): Initializing audio
** (consonance:5110): DEBUG: (init_audio_mixer): Initializing audio mixer

Thanks smile

Can you post the o/p of 'amixer scontrols' ?
Thanks.

Offline

#13 2008-03-29 07:47:10

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: A new lightweight music manager

Here you go:

 > amixer scontrols  
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'LineIn',0
Simple mixer control 'IEC958',0
Simple mixer control 'Digital',0
Simple mixer control 'Ext Mic',0
Simple mixer control 'Int Mic',0
Simple mixer control 'IntMic',0

Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#14 2008-03-29 08:43:35

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

finferflu wrote:

Here you go:

 > amixer scontrols  
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'LineIn',0
Simple mixer control 'IEC958',0
Simple mixer control 'Digital',0
Simple mixer control 'Ext Mic',0
Simple mixer control 'Int Mic',0
Simple mixer control 'IntMic',0

I have created a bug report here: https://sourceforge.net/tracker/index.p … tid=988875
It would be great if you can help me fix this.
Thanks.

Offline

#15 2008-03-29 15:51:48

disturbed1
Member
Registered: 2008-02-29
Posts: 13

Re: A new lightweight music manager

Runs on 64bit smile

Um.... no ogg support? I went to import a 13,000 song library and only ~3,000 showed up. 3,000 mp3s, no ogg nor flac files where read. Other than that, I like it.

I'll surely grab the updated version with at least ogg support.

Last edited by disturbed1 (2008-03-29 15:54:45)

Offline

#16 2008-03-29 19:12:05

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: A new lightweight music manager

sacamano_m82 wrote:

I have created a bug report here: https://sourceforge.net/tracker/index.p … tid=988875
It would be great if you can help me fix this.
Thanks.

Sure, just tell me what you need smile


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#17 2008-03-29 22:33:55

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: A new lightweight music manager

if daap support (client, not server) was added, you would be a GOD.

Last edited by rson451 (2008-03-29 22:34:12)


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#18 2008-04-01 10:53:02

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: A new lightweight music manager

I must say this is a musicplayer with great potential. The interface is great, and even though it's only 0.2 it's very stable.
Can't wait to see where this is going smile

Offline

#19 2008-04-02 20:46:40

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: A new lightweight music manager

sacamano_m82: I just started python programing last weekend and rewrote an exaile plugin to move my mp3s to my mp3-player (including its album art, and the files in a folder hierarchy: artist/album/*.mp3). Are you going to implement the ability to use plugins from exaile (or in an other way)? I haven't played a around with your player but what I saw so far looks very promising!

edit: fixed typos

Last edited by Sigi (2008-04-02 20:47:55)


Haven't been here in a while. Still rocking Arch. smile

Offline

#20 2008-04-03 01:14:53

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

Exaile and its plugins are written in Python. Since my player is written in C, I don't see how they can be used directly.
Achieving feature parity is possible, though.

Offline

#21 2008-04-03 01:17:23

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: A new lightweight music manager

sacamano_m82 wrote:

Exaile and its plugins are written in Python. Since my player is written in C, I don't see how they can be used directly.
Achieving feature parity is possible, though.

Ups, seems like I should first "really" try out an app before asking stupid questions. smile
Thanks sacamano_m82!


Haven't been here in a while. Still rocking Arch. smile

Offline

#22 2008-04-03 01:25:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: A new lightweight music manager

C & GTK+ big_smile.

Looks nice, I'll be watching this with a lot of interest smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#23 2008-04-03 01:53:46

k.mandla
Member
From: Japan
Registered: 2006-05-16
Posts: 86
Website

Re: A new lightweight music manager

Very cool. I like it. +1 for ogg support though. Looking forward to new releases! big_smile


Linux user No. 409907

Offline

#24 2008-04-03 15:09:18

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: A new lightweight music manager

Great app! big_smile

It's looking really, really good already! Keep it up smile

Offline

#25 2008-04-03 15:40:22

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: A new lightweight music manager

sacamano_m82 i'm shaking your brave hand! nice job. your app has a good future!


No cause is lost if there is but one fool left to fight for it.

Offline

Board footer

Powered by FluxBB