Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rizlaw

Pages: [1] 2
1
Questions / Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
« on: January 26, 2017, 00:16:18 »
I can confirm the same problem on 16.04.1 LTS.

BTW, has Quentin stopped development of gMusicbrowser? There hasn't been an update in over a year!

2
Suggestions / Request for VU meters and Spectrum Analyzer
« on: July 07, 2016, 19:52:38 »
To my surprise, after going through all the suggestions here, I found no one has asked for proper vu meters as found in the now defunct Guayadeque player, nor a decent and properly labeled spectrum analyzer with a db scale and scalable octave frequency notations (as can be found in Foobar 2000).
 

3
Questions / Re: Problem upgrading to GMB 1.1.9 over 1.1.8
« on: February 05, 2012, 19:00:10 »
I took the uninstall 1.1.8 and install new 1.1.9 route. At the end of the new install of 1.1.9RC, it popped up the same error message before completing the installation, but it seems to have worked.

Thanks.

4
Questions / Problem upgrading to GMB 1.1.9 over 1.1.8 (RESOLVED)
« on: February 05, 2012, 08:16:28 »
Quentin,

When attempting to install RC 1.1.9 over  RC 1.1.8 in Ubuntu 11.10 64bit, I get an error that it will break the existing installation of GMB. I've attached a screenshot of the error.

Is it safe to attempt the upgrade or will it destroy 1.1.8 and all of the current settings I have?

Thanks.

5
Did you remove them from within the GMB Desktop Widget too?

Some, not all. But, the ones I didn't remove from within the widget control program were not active when I deleted them using Nautilus.

6
Thanks for all the info and help Quentin.

Have you looked at the latest code VastOne has submitted which is combined with your code. For now, IMO, it looks like the best visual solution.

By the way, I used Nautilus to delete all the layout files I added to my layout config folder during our experimentation in creating the nowplaying widget, however the deleted layout filenames are still present within GMB's Desktop Widgets control panel list. I've restarted GMB several times and even rebooted, but the old layout filenames won't go away. How do I get rid of them since they are no longer active or needed?

7
I really like what you did. A big improvement, particularly the popup buttons. It will become my default.

So if I understand correctly, the "combined" layout code in the above post means that this is the only layout file that needs to be in the layout config folder.

8
I will try it out, although I do prefer the text at the bottom.

Am I correct in assuming that because of this piece of Quentin's code in the nowplaying_screenlet2 layout:
Code: [Select]
hover_layout=nowplaying_screenlet2_popup
that, both my version of the layout and Quentin' need to be in the GMB layout folder simultaneously for the popup buttons to work?


9
VastOne,

That simple a change. :-[
No need to apologize, thanks again.
Will go surfing Ubuntu Forums to see if I can find an answer.

edit: made the change. Actually, it works out better this way. Now the timeslider is above the cover art with no nasty white triangle obscuring the time played.

10
Quentin & VastOne,

Again, many thanks for your help on the widget.

After spending considerable time reading the layout wiki (I won't divulge how long  :-X :-[) and experimenting with code splicing of your respective versions, I've gotten this far:

Code: [Select]
[nowplaying_timeslider_rizlaw]
Type=D
DefaultFont=8
Window = size=240x240,transparent=1
VBmain= _Cover(forceratio=1,hover_delay=1,hover_layout=nowplaying_screenlet2_popup) -HBtime Title(xalign=.5) Artist(xalign=.5) Album(xalign=.5)
HBtime= Length(markup="$length",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) PlayingTime(markup="%s",initsize="XX:XX",xalign=1)

I've attached a snapshot of what it looks like (minus the popup buttons which appear over the bottom text area when the cover art is moused over).

I still can't figure out how to get the timeslider above the text and below the cover art.

Also, VastOne, you mentioned:

Quote
That white triangle is from a Gnome 3 issue that I recall from using Gnome Shell on Fedora 15..  There is a fix for it ...  Has to do with a corner move settings hat you can tweak.  I think I may have even discussed it with squentin on these forums somewhere

I did a search but couldn't find any post in the forum about it. I'm using Ubuntu 11.10 Unity and Gnome Shell. Is it possible for you to be more specific on how to fix the white triangle issue?

11
VastOne,

O.K. finally got the top versions to work. Here's a screen shot of both:
(top shot) nowplaying_screenlet2_vastone
(bottom)  nowplaying_screenlet_vastone2

I think the top is better, however, as you will notice, the remaining time on the far right is obscured by the white triangle in the right lower corner. Otherwise, nice work. :) As a matter of personal preference I do prefer the text info on the bottom along with the time info the way Quentin did it. But I do prefer your time slider visually, particularly because the transport button are easier to visualize without them being superimposed over the text. I guess, for now, it's a trade-off with the popup buttons: text on top makes the buttons easier to see on the bottom and text and slider on the bottom makes the buttons a little harder to see.

12
VastOne,

I did slightly rename the popup version of the file so as not to be confused with Quentin's popup work. BTW, I'm only interested in the code for the hidden popup transport buttons version.  Adding all the versions together is a bit confusing. :) I'll try again with your naming convenion and see what happens.

Edit: O.K., since what I said above, I've tried it again with the same results. I've attached both files with your recommended filenames.

13
VastOne,

Sorry but I couldn't get your version of the code to work. The text layout file I put the code in "nowplaying2b_popup.layout" is not seen by GMB in the list of available widgets to add. Not sure why.

Code: [Select]
[nowplaying_screenlet2b_popup]
Window = transparent=1
HBmain= 7Prev 7Play 7Next 7BMSettings
 BMSettings = (icon=gtk-preferences,size=menu) MainMenuItem PSortItem SMLibrary LayoutItem QueueItem PFilterItem SeparatorMenuItem01 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")

14

nowplaying_screenlet2 pops-up a layout (nowplaying_screenlet2_popup) with prev/stop/play/next buttons when the mouse is over the cover, unfortunately currently there is no way to configure where the popup appear, it is positioned below the cover (or above/next to it, if there is no place below) Maybe I'll add options to change this.

O.K., I'm impressed. ;D  My personal preference is for "nowplaying_screenlet2 popup". I've attached another screenshot of all 3 variations you just coded. You can't see the popup transport controls in the first image; they appear over the area where the Title, Artist, Album text is located. They are a little hard to see until you mouse over each button and then the white outline box that appears helps visualize the selected button. Perhaps the outline color could be changed from "white" to match the color of the scrolling time bar which, in my case, is Ubuntu orange? 

Quote
About the playing bar, these simply shows a progress bar with the minimal height, that may depends on your gtk theme. It is possible to skin the time bar, but currently only when using a handle, so it won't help for what you want.

The time playing bar is fine, but I just had a thought - could you include the numeric time "time remaining/total time"  within the time playing bar in small, but visible type? "Time remaining" on far left of bar and "Total time" on far right.

Quote
With gstreamer, selecting the gap-less mode option might help (though it's possible it doesn't make any difference when using a random mode)

I tried gapless mode, it's only a little better. The downside to GMB gapless, is that it seems to clip off the end of too many tracks I play.

Quote
Nowadays you really should be able to play multiple streams at the same time, why do you use "ALSA, hw:0.1" exactly ?

Pulse audio (which I'm not alone in disliking) down samples ALL hi-res audio to 16/44.1 or 48. It either doesn't have the ability to switch audio bitrate and depth on the fly or none of the distros (Ubuntu, Red Hat, Debian, etc., care enough to code this into their distributions. Removing Pulse Audio, as you've noted, seems to screw up everything and make things worse.

I have invested in quite a few hi-rez 24/96 and 24/192 albums purchased from HDTracks. The only way to play these hi-rez tracks at their correct resolution, intermixed in playlists with standard CD res tracks, is to set GMB to ALSA and advanced settings to hw:0,1 .  This way I bypass Pulse Audio and the software mixer and I get bit perfect output from my Asus Xonar STX digital output to my external DAC digital input. Everything plays the way it should (minus the intermittent GMB alsa sink crash). My other alternative, is to use Quod Libet as a player set up for ALSA hw:0,1 just like GMB. It works flawlessly. Unfortunately, Quod Libet while very good, isn't GMB in terms of features I need and want from a music player.

15
Quentin,

Thanks for the code. I wasn't expecting that. It's very good. Since you're on a roll here. I thought I should point out that the "Screenlets" NowPlaying widget is more functional than the snapshot I included in my prior post: it contains a hidden set of control buttons that only appear when you mouse over the cover art area. Unfortunately, those transport control buttons only include back, play/pause, forward. There is no stop button and for me that is critical, so that when using ALSA, hw:0.1, I can stop playback and answer a Skype call. I believe "stop" temporarily disconnects "exclusive" audio control from the media player. In "pause" mode exclusive control of the audio is retained by the media player and I can't answer the call with Skype audio functioning properly. This is one of many reasons I prefer GMB and your widget to all other Linux based music players. ;D

So now the question becomes, is it possible for you to modify the code above so that your modified NowPlaying widget has the last track, stop, pause, next track buttons either invisible until you mouse over the cover art, or visible on top of the cover art and the track title, artist, album and play time beneath the cover art. One last suggestion, instead of showing the time in numbers, how about a thin (2 pixel?) bright green line between the bottom edge of the cover art and the track title which slowly progresses across the width of the cover art to depict the playing time. I think that would look more elegant than numbers and still provide good time feedback.

On a down note, I'm still occasionally seeing an ALSA playback error where the program stops playing between tracks saying its lost ALSA sink. Clicking play usually starts playback. I have no idea why this is happening. Screenshot of error attached, if it helps. I'm using the GMB RC.

Lou Rizzo


Pages: [1] 2