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 - laite

16
Customization / Re: [PLUGIN] History/Stats
May 03, 2012, 12:35:03
Quote from: lovecraft on May 03, 2012, 12:28:26
Only a litlle problem with Statistics tab

Whoa, that's ... strange  ???

It seems that for some reason my "" (dummy text in title) gets info from translation header... I changed it to 'item', could you please try download plugin again from github and test if it works. Link: https://raw.github.com/laite/gmusicbrowser-plugins/master/historystats/historystats.pm
17
Customization / Re: [PLUGIN] History/Stats
May 02, 2012, 13:36:30
Quote from: zeltak on May 02, 2012, 12:38:52
How does one use it (on a non ubuntu system -arch), do i stick the pm file under ~/.config/gmusicbrowser/plugins? i tried tha tbut didnt work..any ideas?

Yes, that should work IF you're using latest DEVELOPMENT version. I had a quick look but all the versions in AUR (even gmusicbrowser-git etc.) seemed to be too old to work.

If you're certain you have newest version, and history/stats still doesn't appear in preferences -> plugins, you could start gmusicbrowser from terminal emulator and see if there's some error messages.
18
Customization / Re: [PLUGIN] History/Stats
May 02, 2012, 11:05:50
Quote from: mgrubert on May 02, 2012, 08:02:28
Very nice.
Does it work with 1.1.9-1 ?

I'm not sure what that is but my initial guess would be 'no'. You can check it yourself by opening file /usr/share/gmusicbrowser/gmusicbrowser_songs.pm in text editor and searching for 'playhistory'. If you find that, the plugin propably works.

If you're using ochosi's Ubuntu PPA-repository, he has promised to include history/stats - plugin automatically at some point, when possible.
19
Customization / [PLUGIN] History/Stats
May 02, 2012, 06:42:03
WARNING: This plugin does NOT work with current gmusicbrowser release (v1.1.9)! If you wish to use this, you must get latest development version from GIT or wait until next release of gmusicbrowser.

Okay, now that's out of the way I'd like to introduce a new plugin! Basically it shows playhistory and some neat statistics about your library. Plugin relies heavily on new 'playhistory'-field (introduced in development version of gmb), so you must merge existing playcounts to new field if you wish to have statistics from the past, or start 'from the scratch' should you wish so. There is a 'merge fields' - button in the preferences for converting old playcounts to playhistory.

There is no README yet, but I think options should be pretty self-explanatory. Ask me here or in IRC if something's not clear or not working like supposed to.

And as always, this is an initial version, tested only by me, so look out for bugs etc.

Pictures!

Playhistory is shown for tracks and albums


You can have your very own TOP40-list in overview  8)


Statistics can be shown either in 'natural'...



...or 'last.fm' - style




Download from github: https://github.com/laite/gmusicbrowser-plugins/tree/master/historystats
or from direct link: https://raw.github.com/laite/gmusicbrowser-plugins/master/historystats/historystats.pm
Save *.png from 'icons'-folder to your ~/.config/gmusicbrowser/pix to use icons in overview-site.

-
Thanks,
laite
20
Questions / Re: Set Play count
April 19, 2012, 20:00:36
If all you want to do is 'mark albums played' you could consider using labels for that.

Other than that, you can select wanted songs from playlist, right-click 'Song Properties', click 'Select fields' from bottom left of dialog and choose 'playcount'. You should now be able to set them individually for songs, so not very nice if you have a lot of songs. I believe this is also only possible if you have less than 1000 songs selected, so if If you need to change more, just do it in parts.
21
Questions / Re: execute shell script on startup
March 07, 2012, 06:50:26
Quote from: atzz on March 07, 2012, 06:34:34
Because I don't want to lose the integration (e.g. with volume control applet), and don't want to hunt through the system for all places that reference GMB directly and modify them.

gmusicbrowser can run system command when launched with -cmd RunSysCmd, example:
gmusicbrowser -cmd "RunSysCmd mousepad" &

I don't really understand how you would 'lose integration' - it shouldn't matter whether gmb is launchen 'manually' or from the script, as long as the script is exited after launch?

One option that comes to mind is to rename /usr/bin/gmusicbrowser to something else and create symlink by that name, which would then run the script to mount music & launch gmb.
22
Questions / Re: execute shell script on startup
March 07, 2012, 04:57:45
Quote from: atzz on March 06, 2012, 22:06:15
Did I miss a better way to accomplish what I need?

Why not just make a shell script that first mounts music collection volume (if available), then starts gmusicbrowser, and run the script instead of gmb?
23
Quote from: mgrubert on March 04, 2012, 12:38:02
It works !
Cool !
Thx a lot (I like your plugin).

Nice to hear, and thanks :)
24
Quote from: mgrubert on March 02, 2012, 16:57:19
I put lastfm_pcget.pm, alone, in ~/.config/gmusicbrowser/plugins and launch gmb through terminal : it doesn't work and i get this :
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ...
Reading saved tags in /home/minorgrubert/.config/gmusicbrowser/gmbrc ... done
Erreur de segmentation


Hi, I'm the author of lastfm_pcGet. Unfortunately I can't reproduce this; I just now tried with clean install of Ubuntu 12.04 beta1, gmusicbrowser (1.1.9) from ubuntu repositories. Everything worked for me with lastfm_pcGet (and everything else, for that matter).

I've made some changes to plugin though, which weren't uploaded to git until now. Could you please try downloading plugin again (straight link: https://raw.github.com/laite/gmusicbrowser-plugins/master/lastfm_pcget/lastfm_pcget.pm) and perhaps you could try removing 'lastfm_corrections' and 'lastfm_corrections.banned' from ~/.config/gmusicbrowser (make a backup if you don't want to ban tracks once again).
25
Customization / [PLUGIN] Sunshine2
February 23, 2012, 17:26:41
As some of you might know, my first plugin to gmb was called Sunshine, an alarm clock, that miraculously seemed to (occasionally) work, even though I had no experience of Perl before coding that. Well, I finally got some time to rewrite the whole thing and make THE alarm clock plugin that I've always wanted.

Some features:
* Alarmschemes to ease up creating and quickly changing from one type of alarm to another
* Multiple alarms at once, so you can set e.g. different settings depending on weekday
* Lots of customization options for people who take fading music seriously ;D
* bright yellow sun as a new layout icon  8)

You can find all necessary items (plugin, readme, icon) here: https://github.com/laite/gmusicbrowser-plugins/tree/master/sunshine/v2.0
Or you can use this direct download and extract contents of folder sunshine/v2.0: https://github.com/laite/gmusicbrowser-plugins/tarball/master

Word of warning: This plugin is quite fresh and might still contain bugs. My sincere plea would be, that if you face anything strange, please tell me and I'll try to fix it!

Thanks,
  laite
26
Customization / Re: [layout] Simplyer *updated*
February 13, 2012, 13:44:12
Quote from: cruelangel on February 10, 2012, 17:52:05
And here are two questions:
1. Is there a way to define default headers for SongList?

Hi, that's nice and simple layout, I like it! For your question #1, you can use 'cols'. Example:
SongList1(cols="album year length")
27
Suggestions / Re: New play order: Random Grouping
February 10, 2012, 07:22:25
Quote from: Quentin Sculo on January 31, 2012, 17:12:52
I'm not sure what state it is in, but you could give it a try.

Thanks to Quentin's help, I uploaded a new and improved version of Albumrandom in git.

You can download it from here: https://github.com/laite/gmusicbrowser-plugins/tree/master/albumrandom
28
Customization / Re: [PLUGIN] Weighted albumrandom
February 10, 2012, 07:19:52
After a quite a long time, I finally uploaded a new version of Albumrandom to git (see opening post for link). It's strongly recommended to update, if you're using this plugin. New version should be much faster and a bit more practical.
29
Quote from: yaouennec on January 31, 2012, 17:00:39
i just update the git and i'm now in 1.1.8

I put a copy (lastfm_pcget.pm)  where you say, and i let another one in ~/.gmusicbrowser/plugins/, but it still the same.

Hm. I'm afraid I really don't know what's the problem. I'm using plugin currently with gmb 1.1.8 and having no problems  with it :-\

Did you try already copying it to folder where all other plugins are ( /usr/share/gmusicbrowser/plugins , there should be about a dozen .pm-files already)?

Perhaps you could try some other plugin and see if it works, like https://raw.github.com/laite/gmusicbrowser-plugins/master/albumrandom/albumrandom.pm (save that as albumrandom.pm and try including it in gmb same way as lastfm_pcget.pm).
30
Quote from: yaouennec on January 31, 2012, 13:27:18
And i copy it in ~/.gmusicbrowser/plugin/

Ok, the folder where you should put plugin must be _exactly_ like: ~/.config/gmusicbrowser/plugins/

If you have used gmusicbrowser, you should have ~/.config/gmusicbrowser folder already present, not necessarily 'plugins'-folder in there, but just create it if it's not already.