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

31
Quote from: yaouennec on January 31, 2012, 12:28:21
Hi
I'm interesested in your plugin, but i don't manage to see it in the plugin list.
I've downloaded, copied it, restart gmb but i don't see it in the list.

Hi. Where exactly did you copy plugin (aka file 'lastfm_pcget.pm')? What version of gmusicbrowser are you using? Besides these points, I really can't think of anything but perhaps a corrupted download?

Hm, I think I'll change the opening post a bit, since a better place to copy the file would be in ~/.config/gmusicbrowser/plugins/ so there's no need to sudo it. Should work from either place, though.
32
Quote from: cardiacanesthesia on September 23, 2011, 15:33:04
and laite, laitePLAY din't work on my computer, please help with that too...
subodh

Hi. I sent you personal message, did you get that?
33
I began to think about this, and one problem in "weekly playcount" is that gmb only saves last time you have played tracks, not any other, so we have no knowledge when tracks have been played.

Quentin: Would it be possible to have @lastplay (array of times), which would consist of every playtime of a file? What problems would this cause? Also, how about $firstplay as a default field?

I have for some time thought about $hotness - field, which would be time-based, dynamic rating, but it would require to have all lastplay_times available (so if track has been played 3 times in a week, it would be 'blazing hot', if once in last year, it would be 'ice', no matter if its total playcount is past 100 or something. There is a good topic about this in foobar2000 forums: http://www.hydrogenaudio.org/forums/index.php?showtopic=62864
34
Questions / Re: puddletag
September 18, 2011, 13:10:55
Quote from: cardiacanesthesia on September 18, 2011, 12:57:40
i rescanned my library after that and it didn't reflect the changes
but playing the particular songs showed them according to the new tag while those unplayed remained like before

Don't know if it helps, but in context menu there is an option to 're-read tags' for selected songs.
35
Suggestions / Re: Ubuntu SoundMenu
September 04, 2011, 04:07:02
Quote from: ochosi on September 03, 2011, 17:21:34
at the moment my implementation is close to tray, not minimize to tray. i'm wondering whether minimizing would make more sense, any opinions/experiences with that?

I feel that close to tray implies that all activity in gmb is stopped, e.g. playback, when minimize to tray would allow playback/everything else to continue. Just my opinion, though, I don't know how others feel.
36
Quote from: mgrubert on September 03, 2011, 16:55:01

What do you want me to enlarge ? It's easy : the size parameters are at the end of the code.


Oh, it's all good if you like to have much information on the screen. I have just recently been more and more keen on minimalism/simplicity :)

Just for the reference, my current player which I'm quite happy about:
37
Quite nice, perhaps a bit too crowded for my taste though :P

I especially like how albums are presented horizontally over playlist. Is it possible to scroll them left to right (if there's more than fits the screen), or only up-down as a list?
38
Due to many problems in this plugin I've rewritten it almost completely. I strongly suggest to get the latest version from the git (see link at opening post), because I have no intention in developing that old version any more. I dropped some options (see README) for the new version, mainly of caching, so if you'd rather use the old version it's still available at https://github.com/laite/gmusicbrowser-plugins/tree/master/old_versions/albumrandom - just don't expect it to get any better.
39
Quote from: ochosi on July 25, 2011, 19:37:04

Use of uninitialized value $Options{"PLUGIN_ALBUMRANDOM_update_automa"...} in numeric eq (==) at /home/ochosi/.config/gmusicbrowser/plugins/albumrandom.pm line 168.

This should now be fixed.

Quote from: ochosi on July 25, 2011, 19:37:04
Illegal division by zero at /home/ochosi/.config/gmusicbrowser/plugins/albumrandom.pm line 372.

Hmm, this seems to imply that 'generator' couldn't find any albums. Are your tags properly set (artist, album, year and tracknumbers on all songs you have selected as source)? I might have a hunch why this might also be, but I'll need to do some testing with the code before I can tell for sure.

Quote from: ochosi on July 25, 2011, 19:37:04if i try "generate multiple albums" gmb crashes with this error:

Can't call method "CalcScore" on an undefined value at /home/ochosi/.config/gmusicbrowser/plugins/albumrandom.pm line 600.

I believe this is also due to 'generator' returning zero albums. I'll look into that.
40
Quote from: cardiacanesthesia on July 25, 2011, 08:40:40
hi
i tried but can' t install the plugin
copied both the files where it said, but they don't show up in the list of plugins

You remembered to restart gmusicbrowser, right? I'm afraid I have no idea why they won't show, I've never had similar problems. Perhaps you could see if there is some error messages on startup (run gmusicbrowser from terminal so you can see output in that screen).

Quote from: cardiacanesthesia on July 25, 2011, 08:40:40
one more thing , i dont know how to add item to a layout

It's kinda tricky at the start, but there are nice documents to help:
http://gmusicbrowser.org/layout_doc.html
http://wiki.gmusicbrowser.org/dokuwiki/doku.php?id=customization:songtree

Basic lines are these:
*find out what layout you are using and find it's settings in /usr/share/gmusicbrowser/layouts (or /usr/share/gmusicbrowser/layout (main.layout?), I'm sorry I don't remember how it's done in original version) - see layout document on how to recognise this if you have problems
*compare document to your players layout until you have somekind of clue which element goes where
*I'd suggest you to add word 'Albumrandom' (without quotations) next to buttons somewhere (they look something like "ExtraButtons 5-VolumeIcon -Pref" etc.)
*save layout, restart gmb and apply layout from preferences.

But of course, this doesn't work if you can't get plugin installed first :/

I hope Quentin sees this, for I really don't know what's wrong with that.
41
Quote from: rude on July 22, 2011, 18:09:03
I have LOST all of my ratings and play counts.... NOK!!! >:(

I managed to do this manually when changed my music folder, it's not pretty but it worked.

0) close gmb
1) open ~/.config/gmusicbrowser/gmbrc with some editor that is capable of handling large text files (gedit is fine)
2) scroll down until you see different tracks and their filepaths
3) then just find+replace all these from "oldfolder" to "newfolder"
4) start gmb

There is no need to scan anything again in gmb, since filepaths have been changed in gmbrc. But as I said, this worked for me, but it might have some problems which I didn't consider.

edit: I guess that in addition to tracks' paths, you should also change "LibraryPath".

edit2: currently I'm using symlink my music folder to ~/Music/ as Quentin suggested. This allows me to dual-boot and just copy-paste gmbrc from system to another without need to change anything.
42
Hi everybody!

I added an option to get tagcorrections from last.fm, please check README from github to understand how it works.

All bugs, misbehavings and suggestions are welcome, so please tell if you have some.
43
Hi. About four months ago I made a little script (http://forum.gmusicbrowser.org/index.php?topic=335.0) for fetching playcounts from last.fm. It was downright ugly, so I finally got myself up to create a proper plugin for this.

Screenshot:

** README & DOWNLOAD **

You can check README and download plugin from https://github.com/laite/gmusicbrowser-plugins/tree/master/lastfm_pcget

Installation happens as usual: copy lastfm_pcget.pm to ~/.config/gmusicbrowser/plugins (OR for all users: /usr/share/gmusicbrowser/plugins), restart gmusicbrowser and lastfm_pcGet should appear in preferences->plugins.
44
Customization / Re: [PLUGIN] Albuminfo
July 11, 2011, 14:02:31
BUG: Albums from artists that contains umlauts in their names (like "Amon Düül II", "Kauko Röyhkä" etc.) can't be found with automatic search ("review not found"). When searched manually they work fine.
45
Quote from: ochosi on July 04, 2011, 07:19:28
hey, just downloaded it and tried it but i get "Bareword "CalculateDB" not allowed while "strict subs" in use at ~/.config/gmusicbrowser/plugins/albumrandom.pm line 336."
i don't have time to really look into the code myself atm, hope you got time to look at that.

This should be now fixed. I believe it was due to calling function CalculateDB before it was introduced. Did this prevent plugin from working at all?