PDA

View Full Version : Announce: Moose 0.21



Dr Lovegrove
2006-01-17, 03:47
Just uploaded a new version of Moose to the usual place
(http://www.rusticrhino.com/drlovegrove)

Nothing too outstanding this time.. Decided not to include some
of the newer stuff I've been working on as it's still a bit flakey, so
this is more of an interim release I guess..

New features:

* Minimise to Tray support
* Minimise to Tray icon tooltip
* Player status button background now red when rescanning
* Better error handling for library location problems
* New About dialog
* Optimised redraw code and fixed button resource leaks

Enjoy..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

bossanova808
2006-01-17, 19:24
Hey Doc

Good work as always - the minimise to tray is handy (although its the only app I have in there that needs only one click to maximise again - maybe you want to change that to the classic double click?). Hmmm - Would be great to have one click access to a pause feature (while minimised) as an option (for answering the phone!).

Now, about cover art - how does this actually work? I had it working fine when I was scanning the files, but now I am scanning the db and it has stopped working. I do not have slimserver scan for artwork as I'm running it on a NAS, but I can change that if necessary, however I didn't think Moose needed that? I presumed it went and got the thumbnails directly.

Anyway, thanks as always for your work, I seem to be able to play everything now that is using IDs, not more crashing slimserver due to dodgy filename issues, which is great.

Cheers
JD

Dr Lovegrove
2006-01-18, 03:05
On 18/01/06, bossanova808
<bossanova808.21t6nz (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Hey Doc
>
> Good work as always - the minimise to tray is handy (although its the
> only app I have in there that needs only one click to maximise again -
> maybe you want to change that to the classic double click?). Hmmm -
> Would be great to have one click access to a pause feature (while
> minimised) as an option (for answering the phone!).

Good point, and I like the pause idea.. I was going to put basic controls on
a submenu of the tray menu too, and maybe an option to turn global media
player keystrokes on and off.. I'll see how it goes..

> Now, about cover art - how does this actually work? I had it working
> fine when I was scanning the files, but now I am scanning the db and it
> has stopped working. I do not have slimserver scan for artwork as I'm
> running it on a NAS, but I can change that if necessary, however I
> didn't think Moose needed that? I presumed it went and got the
> thumbnails directly.

Album art.. I presume you mean for the library rather than the now playing
cover, which just (as previously) grabs the image from the url:
http://<server>music/current/thumb.jpg?<player id>

So the library album art...

Firstly it looks at the 'thumbnails' setting in the options dialog.
If this is set to an empty string, it doesnt display thumbnails in the
library window.
If this is set to a valid folder, it looks in the folder for a file named:
"<thumbnails folder>\<artist> - <album> - 100.jpg",
"<thumbnails folder>\<artist> - <album>",
"<thumbnails folder>\<artist> - <album>.jpg",
"<thumbnails folder>\<artist>\<album>\folder.jpg",
"<thumbnails folder>\<artist>\<album>\thumb.jpg",
"<thumbnails folder>\<artist>\<album>\cover.jpg",

If none of these are found, it asks the server for the file:
"http://<sServer>/music/<AlbumArtworkID>/cover.jpg"

This should be the same image as displayed on the artwork view webpages
I think.. This'll be where the server thumbnail settings come in and you'll
probably need to be scanning for artwork, etc..

Anyhow, if it finds an image, and it's bigger than 100x100, it does a
bicubic resize down to 100x100 and saves the thumbnail as:
"<thumbnails folder>\<artist> - <album> - 100.jpg"
If it finds an image and it's already 100x100 or less, it saves it as:
"<thumbnails folder>\<artist> - <album>"
(note the lack of extension - this is so it works with pngs and stuff..)

HTH,

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Kyle
2006-01-18, 10:16
I have entered the path to Tag & Rename in the options window: C:\Program Files\TagRename. However, this just takes me to the folder where the program is located. It does not actually launch the program. I also tried entering TagRename.exe and Tag&Rename.exe, and neither of these launches the program, either. What am I doing wrong?

Also, I originally just unzipped this program to the desktop, but should it be under program files or in the slimserver folder somewhere?

EDIT: Just read this on your website: "NB: The Tagger and Copy To features only work with folder scanning at the moment"
Does this mean the tagger program will not be launched and loaded automatically?

geoffb
2006-01-18, 11:32
On 1/18/06, Dr Lovegrove <drlovegrove (AT) gmail (DOT) com> wrote:
> So the library album art...
>
> Firstly it looks at the 'thumbnails' setting in the options dialog.
> If this is set to an empty string, it doesnt display thumbnails in the
> library window.

It sounds like this differs from the standard SlimServer behaviour.
On the Interface | Artwork setting, the help text says:

"Artwork images... can reside in the same folder as song files. By
default, images named "cover.jpg", "albumartsmall.jpg", "folder.jpg",
"album.jpg", or "thumb.jpg" are used."

In my case, I leave the "Artwork", "Artwork Thumbnail" and "Artwork
Folder" fields blank, and the browse by artwork works properly in
SlimServer - it picks up the 'cover.jpg' files I have in each album's
folder. Will Moose emulate this? Or is this handled by your comment:

> If none of these are found, it asks the server for the file:
> "http://<sServer>/music/<AlbumArtworkID>/cover.jpg"

Cheers
Geoff

Philip Meyer
2006-01-18, 13:57
>Good point, and I like the pause idea.. I was going to put basic controls on
>a submenu of the tray menu too, and maybe an option to turn global media
>player keystrokes on and off.. I'll see how it goes..
>
A nice way of doing this that I like in other applications is to make the single-click and double-click on the tray icon configurable. Have a pop-up menu via right-click, but the user can set the default action for single-click and double-click from the list of possible menu options (the default single-click option would be displayed in bold on the right-click menu).

Would it be possibe to see the currently playing track details as hover text on the icon too?

Phil

Kyle
2006-01-18, 14:13
Would it be possibe to see the currently playing track details as hover text on the icon too?

Phil

This already works for my tray icon.

Dr Lovegrove
2006-01-19, 03:11
On 18/01/06, Kyle <Kyle.21ubvb (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I have entered the path to Tag & Rename in the options window:
> C:\Program Files\TagRename. However, this just takes me to the folder
> where the program is located. It does not actually launch the program.
> I also tried entering TagRename.exe and Tag&Rename.exe, and neither of
> these launches the program, either. What am I doing wrong?

Hi Kyle,

To get tag&rename working you need the full path with the exe included,
so, C:\Program Files\TagRename\TagRename.exe

Moose just does the same as the Start Menu->Run dialog, so if it works
in there, it should work in Moose.

Hope that helps,

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-19, 04:05
On 18/01/06, Geoff B <geoffbon (AT) gmail (DOT) com> wrote:
> On 1/18/06, Dr Lovegrove <drlovegrove (AT) gmail (DOT) com> wrote:
> It sounds like this differs from the standard SlimServer behaviour.

Yes, but this is all based on Moose's own local thumbnail cache
as opposed to the server's stuff.. Generally it should all work
transparently.. Think I might have over-complicated things
by explaining stuff.. ;-)

> Or is this handled by your comment:
> > If none of these are found, it asks the server for the file:

Yes.. If there are no locally Moose-cached thumbnails, it just asks
slimserver for the album art and then caches them for next time.

So.. if slimserver's not searching for artwork, Moose probably wont
display any..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-19, 04:31
On 18/01/06, Philip Meyer <phil (AT) hergest (DOT) demon.co.uk> wrote:
> A nice way of doing this that I like in other applications is to make the single-click and double-click on the tray icon configurable. Have a pop-up menu via right-click, but the user can set the default action for single-click and double-click from the list of possible menu options (the default single-click option would be displayed in bold on the right-click menu).

Last night I had a play with the whole single/doubleclick stuff.. Seems the
standard MS NotifyIcon stuff doesnt distinguish between single and
double clicks properly.. When I double-click I get two single-clicks and a
double-click.. So.. The music pauses / unpauses before displaying the
window.. Might have to do a bit of work here..

But, yeah, like the idea of it being configurable.. There are
middle-button clicks
to play with too, so it could do all sorts of stuff..

> Would it be possibe to see the currently playing track details as hover text on the icon too?

As Kyle said, should be doing this already ? Let me know if there's a problem..
It's only a standard tooltip at the moment, nothing too fancy. There's
a limit of
64 characters too, so if you've got long song titles, it may chop the
artist off..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-19, 10:34
Ok, just uploaded version 0.22 to:
http://www.rusticrhino.com/drlovegrove

* Added support for Mediaplayer-style global key shortcuts (option on
tray menu).
* Changed player MAC controls to comboboxes with connected players in.
* Single-clicking tray icon alternates between playing/paused.
* Double-clicking tray icon shows now playing window.
* Added new control entries with ticks to tray menu.
* Remembers minimised to tray status
* Remembers playlist column sizes
* Remembers global key shortcut status
* Fixed a minor login bug if the server went away and came back..

Enjoy,

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Mark Lanctot
2006-01-19, 11:10
Question for the good Doctor:

I've always wondered but never asked...does
SlimServer need to be running in order for Moose
to work? i.e. is Moose just a SS front end or is
it an alternate server?

The only think stopping me trying it out is .NET.
Last time I put it on my system I found it
pretty invasive - it added 15 seconds to my boot
time and created another user login, preventing
automatic login.

Thanks for all your hard work!

Dr Lovegrove wrote:
> Ok, just uploaded version 0.22 to:
> http://www.rusticrhino.com/drlovegrove
>
> * Added support for Mediaplayer-style global key
shortcuts (option on
> tray menu).
> * Changed player MAC controls to comboboxes with
connected players in.
> * Single-clicking tray icon alternates between
playing/paused.
> * Double-clicking tray icon shows now playing
window.
> * Added new control entries with ticks to tray menu.
> * Remembers minimised to tray status
> * Remembers playlist column sizes
> * Remembers global key shortcut status
> * Fixed a minor login bug if the server went away
and came back..
>
> Enjoy,
>
> --
> - Dr Lovegrove
> http://www.rusticrhino.com/drlovegrove
>

Philip Meyer
2006-01-19, 13:44
>> Would it be possibe to see the currently playing track details as hover text on the icon too?
>
>As Kyle said, should be doing this already ? Let me know if there's a problem..
>
Seems to be working, to some degree. I wasn't playing anything the previous time I hovered over the tray icon, so it was only reporting "Moose 0.21", or something like that. If I actually play something, it reports the playing track on the tray icon hover text. However, if I then stop the music and clear the playlist, it still reports the track.

A more major problem that I am having though is that the CPU goes through the roof when I have the window open, espcially if the window is overlapping others and I drag the window around.

Phil

Dr Lovegrove
2006-01-20, 02:48
On 19/01/06, Mark Lanctot <marklanctot (AT) yahoo (DOT) ca> wrote:
> Question for the good Doctor:
>
> I've always wondered but never asked...does
> SlimServer need to be running in order for Moose
> to work? i.e. is Moose just a SS front end or is
> it an alternate server?

Yup, it's mainly a front-end for SS, so ideally SS needs to be
running.

However.. You can view the contents of your library and launch
external apps like winamp to play the files.. The now playing
window is heavily tied to SS though..

> The only think stopping me trying it out is .NET.
> Last time I put it on my system I found it
> pretty invasive - it added 15 seconds to my boot
> time and created another user login, preventing
> automatic login.

Indeed, Moose currently uses .NET 1.1, which is much more efficient
than the original 1.0.. I'm thinking of moving to .NET 2.0 at some point
which should help performance a bit more.. I've not noticed it slowing
windows startup down too much, but I tend not to shutdown that
often.. You can always uninstall it if it does.. :-)

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-20, 02:59
On 19/01/06, Philip Meyer <phil (AT) hergest (DOT) demon.co.uk> wrote:
> Seems to be working, to some degree. I wasn't playing anything the previous time I hovered over the tray icon, so it was only reporting "Moose 0.21", or something like that. If I actually play something, it reports the playing track on the tray icon hover text. However, if I then stop the music and clear the playlist, it still reports the track.

Ah, yes, well spotted.. I should check the playmode and say paused or
something..

> A more major problem that I am having though is that the CPU goes through the roof when I have the window open, espcially if the window is overlapping others and I drag the window around.

Yes, I've noticed this on a couple of machines.. I think it's somehow
linked to the graphics card and the transpareny stuff in GDI+.. I
think this is partially responsible for the flicker problems with some
machines too.. I may be wrong.. The bitmap blitting and button redraw
code isnt terribly efficient yet either..

Does setting the 'background' setting to 'flat' help things at all ?

Also, does it 'go through the roof' if you've just got the library window open ?

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-01-20, 03:50
In article <67fb4bc40601190934tcd19089q (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> Ok, just uploaded version 0.22 to:
> http://www.rusticrhino.com/drlovegrove

This is looking rather nice, thanks :).

> * Added support for Mediaplayer-style global key shortcuts (option on
> tray menu).

...and when I found that I understood why trying to find something in
any application (CTRL-F) was skipping to the next track! How about
adding support for media-capable keyboards so when I hit the 'next
track' keyboard button for example it's actioned in SlimServer?

Kevin

Dr Lovegrove
2006-01-20, 04:04
On 20/01/06, Kevin Weller <SlimDML (AT) thewellers (DOT) net> wrote:
> In article <67fb4bc40601190934tcd19089q (AT) mail (DOT) gmail.com>, Dr Lovegrove
> wrote:
> ..and when I found that I understood why trying to find something in
> any application (CTRL-F) was skipping to the next track! How about
> adding support for media-capable keyboards so when I hit the 'next
> track' keyboard button for example it's actioned in SlimServer?

Yes, it would be good.. I dont have media buttons on any of my keyboards
though.. Which media-capable keyboard do you have ? Anybody know if
there are any standards on media buttons ? I'm guessing logitech do some
kind of SDK or something ?

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-01-20, 04:11
In article <67fb4bc40601200304s59e3f41bu (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> Which media-capable keyboard do you have

I'm using a Microsoft one on this machine but SWMBO uses a Logitech
keyboard with similar facilities. They both 'just work' on Windows so I
assume there's a standard.

Kevin

Dr Lovegrove
2006-01-20, 05:18
On 20/01/06, Kevin Weller <SlimDML (AT) thewellers (DOT) net> wrote:
> In article <67fb4bc40601200304s59e3f41bu (AT) mail (DOT) gmail.com>, Dr Lovegrove
> wrote:
> I'm using a Microsoft one on this machine but SWMBO uses a Logitech
> keyboard with similar facilities. They both 'just work' on Windows so I
> assume there's a standard.

Ah, think i've sussed it.. No way to test it though.. Try this build:
http://www.rusticrhino.com/drlovegrove/Moose22a.zip

There's a 'MediaKeys' entry on the tray menu.. Ticking it should/might
mean Moose responds to media buttons which send the standard
WM_APPCOMMAND messages.. I suspect both keyboards do..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-01-20, 05:31
In article <67fb4bc40601200418m3a3d9297i (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> Ah, think i've sussed it.. No way to test it though.. Try this build:
> http://www.rusticrhino.com/drlovegrove/Moose22a.zip

That doesn't seem to want to start on my system. I double-click, the
hour glass appears, then nothing.

Do you want to take this offline while we 'play'? moose at the wellers
dot net will reach me.

Kevin

Philip Meyer
2006-01-21, 16:18
>Does setting the 'background' setting to 'flat' help things at all ?
>
No.

>Also, does it 'go through the roof' if you've just got the library window open ?
>
Main app seems okay until I open the library window. Then the CPU goes to 100% if I drag the main window around (library window seems okay). Remains sluggish after I have closed the library window.

Phil

bossanova808
2006-01-21, 18:47
Ok, I re-enabled browse for artwork in slimserver and that is now working as expected.

I like all the new features, *especially* the single click pause, very handy thankyou - makes it very handy for controlling the system when I'm downstairs in the office.

I too am having problems with the CPU being pegged, mainly with the library window open, but not exclusively. Just little pauses as I drag the mouse around, a lack of responsiveness. I have set the background to flat but that doesn't solve the issue.

As always fine progress and many thanks,
JD

Kyle
2006-01-21, 19:36
I also find the program to be highly cpu-intensive when the library window is open. Often the album list runs behind the track list on the library page, so that albums at the bottom are hidden, along with the scroll bar.

Dr Lovegrove
2006-01-23, 07:37
On 22/01/06, Kyle <Kyle.220lsn (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I also find the program to be highly cpu-intensive when the library
> window is open.

Spent some time over the weekend looking at the CPU issues and as a
result I've had a fiddle with the thumbnail list in the library
window. Now if Moose requests a thumbnail and slimserver returns 'no
thumbnail', Moose will blacklist the album for the current session (so
if you add art to the server, you'll need to re-run moose for it to be
picked up). I think this is what was causing the problem, but could be
wrong. There was also an issue with dodgy characters in filenames,
which I've fixed too. It might be a good idea to clear your thumbnails
folder before running this new version, although I've kept support in
for reading the old filenames.

So.. Just uploaded 0.23.. Usual place.. Let me know if there are still
CPU problems..

A few other new bits:

* Support for Media Keys (thanks to KevinW for help testing this as my
keyboard doesnt have them).
* Tray icon is now always visible.
* When the server's rescanning it now says 'rescanning' in the mode button.
* Added green for play and red for pause/stop to mode button.
* Buttons have a flat background again.
* Partially addressed some of the redraw/flicker problems.
* Flat redraw mode now slightly more efficient

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Kyle
2006-01-23, 08:18
It might be a good idea to clear your thumbnails
folder before running this new version, although I've kept support in
for reading the old filenames.


How do I clear the thumbnails folder?

Dr Lovegrove
2006-01-23, 08:44
On 23/01/06, Kyle <Kyle.223fnb (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Dr Lovegrove Wrote:
> > It might be a good idea to clear your thumbnails
> > folder before running this new version, although I've kept support in
> > for reading the old filenames.
>
> How do I clear the thumbnails folder?

The thumbnail folder is specified in the Moose options window. It
defaults to 'thumbs', so there should be a 'thumbs' folder alongside
Moose.exe.

Moose uses this folder to cache resized versions of your SS artwork.
There's no indexing, so it's safe to delete individual files, or the
whole folder.

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Kyle
2006-01-23, 12:43
Will an update install over the top of an existing version or do I need to remove the existing version before doing a new install?

bossanova808
2006-01-23, 16:41
There's no installer, I just drop it over the old one, deleter everything in my thumbs directory, re-scan the db (just in case) and away it goes.

bossanova808
2006-01-23, 16:44
So far so good with this one - back to its old zippiness pretty much as far as I can tell!

Sweet!

Kyle
2006-01-23, 18:44
This version is much more responsive than previous. One question: is there a way to access playlists through Moose?

Dr Lovegrove
2006-01-24, 03:18
On 24/01/06, Kyle <Kyle.2248kz (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> This version is much more responsive than previous. One question: is
> there a way to access playlists through Moose?

Excellent, can't be having slowness.. :-)

Playlists can be loaded, saved, refreshed, cleared, and edited via the
now playing window. If you enlarge the window, you should get 5 smaller
buttons on the left - refresh, save, load, remove, clear.. The Load button
will open a window containing all the playlists the server knows about.
Sadly the list is only built when doing a 'Rescan DB', so any newly saved
playlists wont appear until the next rescan.

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Kyle
2006-01-24, 07:11
[QUOTE=Dr Lovegrove]The Load button
will open a window containing all the playlists the server knows about.
QUOTE]

Excellent! Does the load button only deal with playlists? If so, it seems like it would be more intuitive to name it playlist.

Dr Lovegrove
2006-01-24, 07:58
On 24/01/06, Kyle <Kyle.2257az (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> > Excellent! Does the load button only deal with playlists? If so, it
> > seems like it would be more intuitive to name it playlist.

Yes, those buttons are only really a temporary feature until I sort
the menus out. I wanted to get multiple item editing going first
though, but it's proving a bit of a pig..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Kyle
2006-01-24, 12:06
Yes, those buttons are only really a temporary feature until I sort
the menus out. I wanted to get multiple item editing going first
though, but it's proving a bit of a pig..


That's great. Ideally, I'd like to see a more efficient use of screen real estate that doesn't hide buttons I need.

bossanova808
2006-01-24, 17:08
Hi Doc

Ok, after extended use, this one is defintiely much improved in terms of performance, although it still occasionally causes some general sluggishness (mainly with the library window open) and sometimes the 'Now Playing' window gets itself into a flickery loop.

After a re-scan it seems to be in a state of getting ALL album art for all files as no artist is selected, think this isn't a great idea. I am also getting regular 'db is locked' messages the first time I try and scan, then it goes through fine. And I still get the odd slimserver crash for inexplicable and not consistently repeatable reasons when using moose (usually just after a re-scan).

But overall it is working very well - multi selection in the play list window will be great, good luck with getting that going properly, I remember well when I used to be a programmer that could be tricky.

Cheers

JD

Dr Lovegrove
2006-01-25, 02:51
On 25/01/06, bossanova808
<bossanova808.225z2z (AT) no-mx (DOT) forums.slimdevices.com> wrote:
> Ok, after extended use, this one is defintiely much improved in terms
> of performance, although it still occasionally causes some general
> sluggishness (mainly with the library window open) and sometimes the
> 'Now Playing' window gets itself into a flickery loop.

Flickery Loop ? Not seen this for a while.. Is it related to long (>50 item)
playlists ?

> After a re-scan it seems to be in a state of getting ALL album art for
> all files as no artist is selected, think this isn't a great idea.

Yes, when no artist is selected (or if you type something, then delete it
in the search edit-control) it'll display all albums in your
collection. It should
only be requesting the artwork for the currently displayed albums though,
so at most 15 or so albums. Also these first 15 are likely to have been
requested before, so should be cached in the thumbs folder.. Is this not
what you're seeing ? Could be a bug if not..

> I am also getting regular 'db is locked' messages the first time I try
> and scan, then it goes through fine. And I still get the odd
> slimserver crash for inexplicable and not consistently repeatable
> reasons when using moose (usually just after a re-scan).

Ah, these sound related to SQLite databases being single user only.
If you copy the db file to another file, then scan that file instead of the
live one, it should work fine. An alternative is to stop slimserver whilst
rescanning. This should all be sorted with MySQL..

> But overall it is working very well - multi selection in the play list
> window will be great, good luck with getting that going properly, I
> remember well when I used to be a programmer that could be tricky.

Good, good.. Yeah, should be sorted soon..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

0xdeadbeef
2006-01-25, 10:29
I wonder if this is an issue of newer releases or has to do with the fact that I recently updated from a P4 to an AMD64 X2.
However, window redraw of Moose is extremely slow.
When moving the window across the screen, it's not moving smoothly like any other application but it jumps around sluggishly.
Futhermore, when I move any other window over the moose window, the moved windows leaves a "trail" on the moose window as if it would need hald a second to do a redraw. The other way round, no redraw is visible.

Kyle
2006-01-25, 19:32
The Load button
will open a window containing all the playlists the server knows about.


Does this only work with SQLite? I have my playlist files in the same folder as my audio files, but Moose is not picking them up on a rescan.

bossanova808
2006-01-26, 00:03
Hey Doc

No, the flickery loop occurs when playing just a single album...not too often but definitely conisistently. I'll see if I can narrow down what triggers it but it ges very slow, sluggish and re-draws multiple times.

It definitely seems very slow when getting the multiple albums - it doesn't seem to be getting the album art for the off-screen albums, just the same general slow re-draw problem.

Unfortunately I don't have access to the sqllite db as the server is on a NAS in a custom install package. It's not a big deal, usually it works fine second scan - it was not happening until 0.21 or thereabouts, though.

There are definitely still times when Moose grabs the system and causes general slowness/flickering - it does seem to get into some sort of aggresive (but slow) re-draw mode.

BUT - it's great overall and none of the issues are by any stretch show stoppers!!

Dr Lovegrove
2006-01-26, 03:08
On 26/01/06, Kyle <Kyle.22808b (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> > The Load button
> > will open a window containing all the playlists the server knows
> > about.
>
> Does this only work with SQLite? I have my playlist files in the same
> folder as my audio files, but Moose is not picking them up on a rescan.

'fraid so.. Actually it wouldnt be too tricky to add to folder scan, but I was
wondering if the whole playlist aquisation might be better handled via the
CLI, so if you saved new playlists, they'd appear without a rescan, etc..

I actually spotted this flaw the other night as I've switched back to folder
scanning after I upgraded my server to MySQL.. Watch this space i
guess.. ;-)

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-26, 03:23
On 26/01/06, bossanova808
<bossanova808.228cqb (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> No, the flickery loop occurs when playing just a single album...not too
> often but definitely conisistently. I'll see if I can narrow down what
> triggers it but it ges very slow, sluggish and re-draws multiple
> times.

Aye, if you can narrow it down it would be seriously handy..

>From 0.22 to 0.23 I changed the redraw code quite a bit and it seemed to
sort the occasional flicker and speed problems I was having on one of my
machines.. Additionally in 0.23, if you set the 'background mode' setting to
'flat', it doesnt use a cached bitmap for the library window background, and
it reduces the number of transparent brushes used in the now playing
window..

> BUT - it's great overall and none of the issues are by any stretch show
> stoppers!!

Yeah, be nice to get the redraw as zippy as possible though..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

bossanova808
2006-01-26, 06:42
One thing I have noticed is the minimise to tray button is one of the worst things for flickering and occasionally disappears - it seems a bit flakey somehow.

Don't know if that is ONLY it, but I'd have a looksee there as a possible culprit.

kweller
2006-01-26, 14:35
com>
From: Kevin Weller <SlimDML (AT) TheWellers (DOT) net>
Reply-To: discuss (AT) lists (DOT) slimdevices.com

In article <67fb4bc40601250151r28450e25v (AT) mail (DOT) gmail.com>, Dr Lovegrove wrote:
> > And I still get the odd
> > slimserver crash for inexplicable and not consistently repeatable
> > reasons when using moose (usually just after a re-scan).
>
> Ah, these sound related to SQLite databases being single user only.
> If you copy the db file to another file, then scan that file instead of the
> live one, it should work fine.

I run Moose on a separate machine to SlimServer. Moose still occasionally
kills SlimServer for me as well and I'm pointing it at a copy of the db not
the one used by SlimServer.

It's not constant but if it happens it's generally when I start Moose. If I
get over that hurdle Moose and SlimServer generally play happily together.
I've also noticed that rebooting the machine running Moose kills SlimServer as
well. I haven't had a chance to confirm that yet (I should have time tomorrow)
but it's happened on a couple of occasions.

Kevin

Dr Lovegrove
2006-01-27, 04:01
On 26/01/06, SlimDML (AT) thewellers (DOT) net <SlimDML (AT) thewellers (DOT) net> wrote:
> com>
> I run Moose on a separate machine to SlimServer. Moose still occasionally
> kills SlimServer for me as well and I'm pointing it at a copy of the db not
> the one used by SlimServer.
>
> It's not constant but if it happens it's generally when I start Moose. If I
> get over that hurdle Moose and SlimServer generally play happily together..
> I've also noticed that rebooting the machine running Moose kills SlimServer as
> well. I haven't had a chance to confirm that yet (I should have time tomorrow)
> but it's happened on a couple of occasions.

Be great to have a log of it doing this.. Guess the way to do it would be to
give moose wrong server settings, restart it, turn on logging then set the
server settings to the correct ones..

Im pretty sure it'll be due to slimserver getting a multiple CLI messages in
a short space of time, but it would be handy to see..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

ezkcdude
2006-01-27, 14:26
I just tried Moose for the first time, and I like it. I noticed that there is no vertical scroll bar in the track listing display when you click on library. I assume this is not a bug, but just a feature that hasn't been added yet.

bossanova808
2006-01-27, 23:56
Hey Doc

Can't believe I haven't noticed this yet, but how do I cue up a Various Artists album - I can only get one track to play from each artist, it doesn't cue up the whole album?

Thanks as always

JD

Dr Lovegrove
2006-01-30, 02:24
On 27/01/06, ezkcdude <ezkcdude.22bbwn (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I just tried Moose for the first time, and I like it. I noticed that
> there is no vertical scroll bar in the track listing display when you
> click on library. I assume this is not a bug, but just a feature that
> hasn't been added yet.

Not sure I understand. The track listing in the library window has a
horizontal scrollbar which appears when the control cant fit all the
tracks in. You can drag the bar above it to increase its size as well.

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Dr Lovegrove
2006-01-30, 02:50
On 28/01/06, bossanova808
<bossanova808.22c22b (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Hey Doc
>
> Can't believe I haven't noticed this yet, but how do I cue up a Various
> Artists album - I can only get one track to play from each artist, it
> doesn't cue up the whole album?

Yeah, bit of a problem there as after a db scan moose is effectively
using the 'browse artists' selection method.. The way I've got round this
is to tag all my various artsist albums as 'various artists', then put the
artist name in brackets in the song title.. Not ideal really..

I need to add a browse folder kind of selection mode, which is what the
scan folders option does I guess.. Maybe if Moose allowed you to use
both the scan folders option and the scan db option, then had tabs to switch
between the two databases/selection modes.. Hmm.. Something for the
future maybe..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

ezkcdude
2006-01-30, 06:08
On 27/01/06, ezkcdude <ezkcdude.22bbwn (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I just tried Moose for the first time, and I like it. I noticed that
> there is no vertical scroll bar in the track listing display when you
> click on library. I assume this is not a bug, but just a feature that
> hasn't been added yet.

Not sure I understand. The track listing in the library window has a
horizontal scrollbar which appears when the control cant fit all the
tracks in. You can drag the bar above it to increase its size as well.

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

Yeah, I noticed that last night, but when I was using it before, the tracks were not listed in multiple columns. It must have been a bug. I personally think it is preferable for list boxes to have vertical scroll bars rather than using re-sizing to show the data. I'm just not sure why you opted not to have the scroll bar.

bossanova808
2006-02-02, 18:14
Hey Doc

I can't definitively narrow down the slow down issues - it seems to happen on a regular basis though, say avery few mins, perhaps when you are polling the server? The minimise to tray icon definitely has some bugs in that it sometimes disappears, flickers regularly etc, so I'd look there too.

One question - often when adding albums (but not always) the tracks all get added, but in the wrong order - any idea why that could be??

Cheers,
JD

Dr Lovegrove
2006-02-03, 04:06
On 03/02/06, bossanova808
<bossanova808.22mq3b (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> Hey Doc
>
> I can't definitively narrow down the slow down issues - it seems to
> happen on a regular basis though, say avery few mins, perhaps when you
> are polling the server? The minimise to tray icon definitely has some
> bugs in that it sometimes disappears, flickers regularly etc, so I'd
> look there too.

Yup, it seems to be caused by the '.net flicker-free redrawing' fighting
with the 'dr lovegrove flicker-free redrawing' on XP.. Im going to change
the way it updates and redraws, which'll hopefully help.. Im also going
to move to .net 2.0 at some point, which'll help things a bit..

> One question - often when adding albums (but not always) the tracks all
> get added, but in the wrong order - any idea why that could be??

Currently the way it adds an album is to add the album itself, rather
than the tracks (so it's really a server issue).. Plan is to add the tracks
one-by-one, which should sort this.. Trouble is if I fire a load of messages
at the server, it just falls over in a heap, so I need to queue them my end...

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-02-03, 09:28
il.com>
From: Kevin Weller <SlimDML (AT) TheWellers (DOT) net>
Reply-To: discuss (AT) lists (DOT) slimdevices.com

In article <67fb4bc40602030306v74252ffes (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> Currently the way it adds an album is to add the album itself, rather
> than the tracks (so it's really a server issue)..

How does the Fishbone skin do it? When I add an album through there it
is played in track order.

Kevin

Dr Lovegrove
2006-02-03, 10:04
On 03/02/06, SlimDML (AT) thewellers (DOT) net <SlimDML (AT) thewellers (DOT) net> wrote:
> il.com>
> From: Kevin Weller <SlimDML (AT) TheWellers (DOT) net>
> Reply-To: discuss (AT) lists (DOT) slimdevices.com
>
> How does the Fishbone skin do it? When I add an album through there it
> is played in track order.

Im suspecting the problem's with adding the album's path, rather than
database ID (but can't repeat the problem myself)..

If you add the problem album via 'browse folders' and 'browse albums'
on the web ui, does it do different things in each case, or do they both
work ok ?

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-02-03, 12:35
In article <67fb4bc40602030904v7b0e1dc5x (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> Im suspecting the problem's with adding the album's path, rather than
> database ID (but can't repeat the problem myself)..

I'm confused now as *every* album I queue up with Moose plays in collating
sequence rather than track number. It's not limited to any 'problem'
albums. Are you saying that when you add an album it is correctly queued in
track order?

> If you add the problem album via 'browse folders' and 'browse albums'
> on the web ui, does it do different things in each case, or do they both
> work ok ?

Adding from 'browse albums' certainly queues then in track order. I'm not
sure how I'd add an album from 'browse folders' as I don't have each folder
in a separate folder.

While we're talking about playing stuff, could you add a 'Random' button to
Moose that kicked off the 'play random' songs on the selected player? I've
no doubt someone else will want random artists/albums/years but just in
case you can't do all of them please remember I asked first so you ought to
concentrate on random songs! ;-)

(I haven't forgotten you asked for a log showing Moose killing SlimServer
on start, it's just that it won't do it when I want it to, i.e. when I have
logging on)

Kevin

kweller
2006-02-03, 12:36
A.0000081d.02a71e01 (AT) thewellers (DOT) net>
From: Kevin Weller <SlimDML (AT) TheWellers (DOT) net>
Reply-To: discuss (AT) lists (DOT) slimdevices.com

In article <VA.0000081d.02a71e01 (AT) thewellers (DOT) net>, Kevin Weller wrote:
> I'm not
> sure how I'd add an album from 'browse folders' as I don't have each folder
> in a separate folder.

Er, I'll try that again - I don't have each album in a separate folder.

Kevin

Dr Lovegrove
2006-02-09, 07:17
New build of Moose now up.. 0.24..

I've re-coded the Now Playing window drawing code.. It should be
much more zippy. I've also had to replace the titlebar with a
custom drawn one as putting a decent minimize to tray icon up
there was causing all sorts of grief.. I've also made the maximize
option do a kind of full-screen thing..

Give the new version a whirl and see what you think..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

kweller
2006-02-09, 07:58
il.com>
From: Kevin Weller <SlimDML (AT) TheWellers (DOT) net>
Reply-To: discuss (AT) lists (DOT) slimdevices.com

In article <67fb4bc40602090617y6f4f317fx (AT) mail (DOT) gmail.com>, Dr Lovegrove
wrote:
> I've also made the maximize
> option do a kind of full-screen thing..

Looking good apart from one minor issue. Normally when I maximise a
window it maximises enough so the taskbar and system tray remain
uncovered. Moose is going full screen and hiding them.

Kevin

0xdeadbeef
2006-02-09, 17:12
New build of Moose now up.. 0.24..

I've re-coded the Now Playing window drawing code.. It should be
much more zippy.


The redraw obviously got much faster. If other windows are moved above Moose, this looks pretty ok now.
However when moving the Moose window it still feels a little jerky and sluggish. As if it was completely redrawn at certain times while moving and this would hinder Windows from moving the window for some tenth of a second. Strange though: can't remember to have seen this in any other application up to now.

Dr Lovegrove
2006-02-10, 02:35
On 10/02/06, 0xdeadbeef <0xdeadbeef.22zlzb (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> The redraw obviously got much faster. If other windows are moved above
> Moose, this looks pretty ok now.
> However when moving the Moose window it still feels a little jerky and
> sluggish. As if it was completely redrawn at certain times while moving
> and this would hinder Windows from moving the window for some tenth of a
> second. Strange though: can't remember to have seen this in any other
> application up to now.

Yeah, currently it updates the whole now playing window on a timer, which
it doesnt really need to do.. I've recoded things with this in mind though, so
it should be quite simple to implement clipping regions and things which
will seriously help, and speed it all up even more..

BTW, last night I got the MySQL scanning code working.. Dont know if
any Moose-ers are using MySQL though, so might hold off releasing it
for a bit ?

Also, the maximize issue.. Seems that forms without the titlebars style
(WS_CAPTION) maximize to the full screen, rather than the usual area..
Guess this is either a bug in .net 1.1 or a strange design decision by
the powers that be.. Either way, it's going to be awkward to do a
normal maximize, so maybe if I just rename the feature full-screen ?
Actually, I could add a 'resize to maximized size' kind of option.. Maybe
this would be the answer..

--
- Dr Lovegrove
http://www.rusticrhino.com/drlovegrove

bossanova808
2006-02-14, 21:27
Have been using 0.24 for many hours now and it is all going very smoothly, no major problems to speak of except not being able to add various artist CDs easily.

Any chance you could add an album browsing view to it? That would solve all my problems and I could quit bugging you!! :)