You are not logged in.

#176 2008-08-26 17:30:25

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: A new lightweight music manager

Ahh...
Also I was working to implement the concealment of media_browser... Simil Amarok...

The code is of doubtful quality.. I am learning to program in gtk..  By I show it in another page, to be able to explain it better and not to soil this forum with bad code…

the basic idea is this.
lala.jpg

. ..and in this page they will see the code.
http://tux-goodies.wikispaces.com/wish+list

The code will not be used for much, but it wanted to show my idea to them... Tanks...

Excuse my english… :-(

Redit... 27/08/2008

I was re programming using gtk_button (Instead of gtk_toggles_button), and I obtained that it works correctly… Also It adds a label with the name of the program that is pretty...

Please. They prove the code and they count....! XD

Here, Shot and diff to SVN: http://tux-goodies.wikispaces.com/wish+list

Tanks!

Last edited by msdelos (2008-08-27 17:22:15)

Offline

#177 2008-08-27 21:04:09

msdark
Member
From: Chile
Registered: 2008-08-17
Posts: 49
Website

Re: A new lightweight music manager

sorry for the question... but.... how can i install this patch int my current consonance package installed by yaourt ?

(sorry for my english... i speak spanish)


www.msdarkici.wordpress.com (Spanish) All what i Do in the linux world!!!
Arch User... Feel Free... Feel Speed....

Offline

#178 2008-09-01 14:56:06

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

Re: A new lightweight music manager

msdark wrote:

(sorry for my english)
is there support to ogg files???

Yep, ogg format is suported

Offline

#179 2008-09-01 14:57:39

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

Re: A new lightweight music manager

zenlord wrote:

I am using this on a regular basis, and aside from some minor glitches, I really like it. Some things I would like to see solved:
- remembering the playlist (and position?) after shutdown
- in File-mode, possibility to set the default folder
- is it really necessary to scan through the whole folder if you added 20 songs? (I really don't know, just asking)

Also, gapless playback would be nice.

If this translation-thing gets started, I'm willing to provide the dutch translation. This looks like the perfect project to start (really) contributing to the community (hopefully easing my way into it)

Zl.

The SVN version stores the current playlist on shutdown.

Offline

#180 2008-09-01 17:01:22

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 605

Re: A new lightweight music manager

Any progress about the localization thing? smile


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#181 2008-09-01 20:53:38

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: A new lightweight music manager

msdark wrote:

sorry for the question... but.... how can i install this patch int my current consonance package installed by yaourt ?

(sorry for my english... i speak spanish)

Yo también hablo español.... Por lo que mi ingles, no es muy bueno...

Te contesto en el wikispace para no ensuciar esta lista.... Suerte... XD

http://tux-goodies.wikispaces.com/Svn+Diff+And+and+Pach

.. y disculpa que tarde tanto en contestar...

Offline

#182 2008-09-02 09:36:04

smakked
Member
From: Gold Coast , Australia
Registered: 2008-08-14
Posts: 420

Re: A new lightweight music manager

Good work sacamano_m82s Im using it now, any chance of a mini mode soon?

Last edited by smakked (2008-09-02 09:37:55)


Certified Android Junkie
Arch 64

Offline

#183 2008-09-04 03:54:52

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: A new lightweight music manager

My suggestion: make a simple protocol for it (or use an existing one), and make it listen somewhere, so it is controllable by any language or system that is able to create a socket connection and send/recieve data over the link.

Whether a port on localhost or a socket file in /tmp or ~, this will be the most awesome addition you can make for it IMHO.

If you want protocol ideas, look at the iNetCtl plugin for XMMS at http://www.xmms.org/plugins.php?details=81 - it's like IRC/FTP in that it's plaintext, and a very good start for you to expand on. My only request is that you change your protocol so it doesn't send track updates by default (and has to be enabled via a command)!

So yeah. Native remote control support would really make your program just... take off, in my opinion. lol

-dav7

Last edited by dav7 (2008-09-04 03:55:53)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#184 2008-09-12 13:38:41

babypuncher
Member
From: .au
Registered: 2007-03-12
Posts: 114
Website

Re: A new lightweight music manager

Great work.

I'm just waiting on last.fm support now, even if its just submission only.

Anybody want to be helpful and write a little script to parse the "current state" info and reconstruct it into a single line ala "Artist - Title"? For conky, of course.

Last edited by babypuncher (2008-09-12 13:48:20)

Offline

#185 2008-09-14 19:34:40

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

** (consonance:11289): DEBUG: (start_playback): Starting playback
** (consonance:11289): DEBUG: (update_current_state): Updating c_thread with new thread: 0x8d11ad8

(consonance:11289): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
Falha de segmentação

Everytime i play something, the app crashs with this code.
After add something in the 'Album art file pattern', like 'cover', this never crash again.

Just reporting.

Offline

#186 2008-09-15 02:07:30

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

Re: A new lightweight music manager

Lyceuhns wrote:
** (consonance:11289): DEBUG: (start_playback): Starting playback
** (consonance:11289): DEBUG: (update_current_state): Updating c_thread with new thread: 0x8d11ad8

(consonance:11289): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
Falha de segmentação

Everytime i play something, the app crashs with this code.
After add something in the 'Album art file pattern', like 'cover', this never crash again.

Just reporting.

Should be fixed in svn now. Thanks for reporting this.

Offline

#187 2008-09-16 15:53:00

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

Re: A new lightweight music manager

So a new version (0.3.1) is out. AUR has the updated PKGBUILD.
The changelog is at the usual place:  /usr/share/consonance/doc/

And nope, last.fm is not supported yet. Sue me :-)

Offline

#188 2008-09-16 19:45:19

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: A new lightweight music manager

just a side note before my post: I don't like it that the *.in files are in the repos, they're autogenerated by autoconf iirc

Anyway, I love to play mod files, and so I thought I'd add modplug support to consonance...
Should be made optional in the configure script, it doesn't support seeking, and doesn't display the play time ... because when it comes to mod files that's a bit hard to do, considering they support looping and stuff...

It's just a start for ppl who are interested - if anyone wants to finish it (by adding the possibility to change the settings, and adding the math to display the time, at least if ModPlug_GetLength was successfull, clamping it to 100% etc. tongue because loops may cause some over-time ... etc.)

blah, here's a link:
http://stud4.tuwien.ac.at/~e0725517/pat … dplug.diff

I tried to keep everything similar to the way the other codecs are implemented, take a look and gimme some feedback if you want smile


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

#189 2008-09-17 01:36:26

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

Re: A new lightweight music manager

Blµb wrote:

just a side note before my post: I don't like it that the *.in files are in the repos, they're autogenerated by autoconf iirc

Anyway, I love to play mod files, and so I thought I'd add modplug support to consonance...
Should be made optional in the configure script, it doesn't support seeking, and doesn't display the play time ... because when it comes to mod files that's a bit hard to do, considering they support looping and stuff...

It's just a start for ppl who are interested - if anyone wants to finish it (by adding the possibility to change the settings, and adding the math to display the time, at least if ModPlug_GetLength was successfull, clamping it to 100% etc. tongue because loops may cause some over-time ... etc.)

blah, here's a link:
http://stud4.tuwien.ac.at/~e0725517/pat … dplug.diff

I tried to keep everything similar to the way the other codecs are implemented, take a look and gimme some feedback if you want smile

playback_modplug.c is missing in the diff.
And yep, the autoconf stuff has to be cleaned up. Will look into it.

Offline

#190 2008-09-17 09:21:40

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: A new lightweight music manager

OOooooh right, sorry, forgot to svn add before svn diff ^^
updated the diff, I hope I didn't forget anything else smile
(I need an "intelligent" auto-`svn add` daemon running in the background... I always forget about adding the files... anyone care to code one? tongue)

EDIT:
Oh and another thing, I'm not 100% sure about the mime types, I don't have every kind of mod file here (actually, since my HDD got busted, I only got some .xm files left)
so maybe some others can be added, or some of them renamed

sorry for giving you something that incomplete, but hey, it does play them right wink
and I don't really have much time to work on things, but I'll try to find some time to polish it up a little

so, putting it all together:
+) it playes the files with good quality settings
+) it should recognize many mod files, and it should display their length if possible
-) it doesn't display how long it's been playing
-) it doesn't support seeking (modplug has a seek function, but it also says that it's not reliable, so it might not be a good idea to support it anyway)
-) it doesn't have a settings window
-) the mime type list should be checked

Last edited by Blµb (2008-09-17 09:29:50)


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

#191 2008-09-18 10:41:08

neoxic
Member
From: Massachusetts, USA
Registered: 2008-09-18
Posts: 13
Website

Re: A new lightweight music manager

Awesome app!  I suggest the following change to configure.ac.  Libsexy is a requirement (threw me for a little bit as the system tray popup won't display without it).

Index: configure.ac
===================================================================
--- configure.ac        (revision 706)
+++ configure.ac        (working copy)
@@ -78,6 +78,11 @@
                  [],
                   [AC_MSG_ERROR(vorbisfile-1.1.3 is required)])

+PKG_CHECK_MODULES([libsexy],
+                  [libsexy >= 0.1.11],
+                 [],
+                  [AC_MSG_ERROR(libsexy-0.1.11 is required)])
+
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST

A lower version of libsexy may be appropriate, too.

Offline

#192 2008-09-20 17:22:01

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: A new lightweight music manager

Hi all...

Again. The patch to show the name of the file if tags is not complete..

Index: src/tags.c
===================================================================
--- src/tags.c    (revisión: 706)
+++ src/tags.c    (copia de trabajo)
@@ -77,9 +77,19 @@
     }
 
     tags->title = g_strdup(taglib_tag_title(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->title, -1) == 0))
+              tags->title = g_strdup(g_path_get_basename(file));
+
     tags->artist = g_strdup(taglib_tag_artist(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->artist, -1) == 0))
+              tags->artist = g_strdup("Unknown Artist");
+
     tags->album = g_strdup(taglib_tag_album(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->album, -1) == 0))
+              tags->album = g_strdup("Unknown Album");
+    
     tags->genre = g_strdup(taglib_tag_genre(tag));
+          tags->genre = g_strdup("Unknown Genre");
     tags->track_no = taglib_tag_track(tag);
     tags->year = taglib_tag_year(tag);
     tags->bitrate = taglib_audioproperties_bitrate(audio_prop);

Now, it does not show the folder...

Offline

#193 2008-09-23 15:15:29

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

Re: A new lightweight music manager

msdelos wrote:

Hi all...

Again. The patch to show the name of the file if tags is not complete..

Index: src/tags.c
===================================================================
--- src/tags.c    (revisión: 706)
+++ src/tags.c    (copia de trabajo)
@@ -77,9 +77,19 @@
     }
 
     tags->title = g_strdup(taglib_tag_title(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->title, -1) == 0))
+              tags->title = g_strdup(g_path_get_basename(file));
+
     tags->artist = g_strdup(taglib_tag_artist(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->artist, -1) == 0))
+              tags->artist = g_strdup("Unknown Artist");
+
     tags->album = g_strdup(taglib_tag_album(tag));
+    if (G_UNLIKELY (g_utf8_strlen (tags->album, -1) == 0))
+              tags->album = g_strdup("Unknown Album");
+    
     tags->genre = g_strdup(taglib_tag_genre(tag));
+          tags->genre = g_strdup("Unknown Genre");
     tags->track_no = taglib_tag_track(tag);
     tags->year = taglib_tag_year(tag);
     tags->bitrate = taglib_audioproperties_bitrate(audio_prop);

Now, it does not show the folder...

I have checked in a different version in trunk. I did this for 2 reasons:
* The above patch handles only mp3 files.
* I didn't want to mess with the tags themselves, might mess up tag editing later on.

Please check if it works as intended. Thanks !

Offline

#194 2008-09-23 15:22:22

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

Re: A new lightweight music manager

And, if patches can be mailed to me, it would be much better than trawling through forums :-)

Offline

#195 2008-09-23 17:10:59

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: A new lightweight music manager

checking for alsa... configure: error: alsa-1.0.15 is required
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...
Error: Makepkg was unable to build consonance package.

Offline

#196 2008-09-23 17:22:56

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

Re: A new lightweight music manager

arch0r wrote:

checking for alsa... configure: error: alsa-1.0.15 is required
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...
Error: Makepkg was unable to build consonance package.

Can you post a bit more of the log before the error ?

Offline

#197 2008-09-23 20:08:46

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: A new lightweight music manager

Offline

#198 2008-09-24 01:48:57

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

Re: A new lightweight music manager

You need to have pkgconfig on your system. 'pacman -S pkgconfig'

Offline

#199 2008-09-24 01:56:06

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

What's going on?

I'm upgrading to the 710 SVN version:

...
==> consonance-svn dependencies:
 - gtk2 (already installed)
 - libao (already installed)
 - taglib (already installed)
 - libmad (already installed)
 - sqlite3 (already installed)
 - dbus-glib (already installed)
 - libnotify (already installed)
 - flac (already installed)
 - libsndfile (already installed)
 - libvorbis (already installed)
 - subversion (already installed)
==>  Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
...

Everything is ok, but when it goes to compile:

...
checking for libnotify... yes
checking for sndfile... yes
checking for vorbisfile... yes
checking for libmodplug... no
configure: error: libmodplug-0.8.0 is required
...

Libmodplug?

Offline

#200 2008-09-24 05:13:44

wirenik
Member
Registered: 2008-08-22
Posts: 134

Re: A new lightweight music manager

Hey, I just yaourt'd Consonance, and I have to say: I'm thrilled! This is the app I've been searching for. In this thread, I was looking around for a new music player, and I ended up with Audacious -- which was okay, but not perfect. I installed Consonance on a whim...and it fulfills all my requirements out of the box. Great job! Five stars from me, or something.


moljac024: No one really knows what happens inside /dev/null... it could be a gateway to another universe....
dunc: If it is, the people who live there must be getting pretty annoyed by now with all the junk we send them.

Offline

Board footer

Powered by FluxBB