feature request browsing local collection

This is the forum for ServerMania which is a graphical dedicated server controller software written in .NET framework.

Moderators: Cyrlaur, TM-Patrol

Post Reply
Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

feature request browsing local collection

Post by Mort » 21 Mar 2010 02:03

Greetings,

Just wondering if you happen to be working on a new release if there might be a way to improve the browsing "local collection" list? We have about 400 tracks in the directory and after adding a couple to the matchlist it then takes quite a while to re-read the directory to display the list again.

Could it perhaps just read it once and cache it in an array and have a "refresh" button in case you do need to re-read the list?

Cyrlaur
Pit Crew
Pit Crew
Posts: 889
Joined: 12 Aug 2005 14:49
Owned TM-games: TMO, TMS, TMU
Manialink(s): Cyrlaur
Location: France
Contact:

Re: feature request browsing local collection

Post by Cyrlaur » 22 Mar 2010 16:54

Track details are read with a server request, so 400 tracks is quite big.

I don't know if I'll make a cache or something, I would have to look into this.

A simple workaround is to put your tracks into differents directories.

Cyrlaur
Pit Crew
Pit Crew
Posts: 889
Joined: 12 Aug 2005 14:49
Owned TM-games: TMO, TMS, TMU
Manialink(s): Cyrlaur
Location: France
Contact:

Re: feature request browsing local collection

Post by Cyrlaur » 28 Mar 2010 00:14

Ok, it's done and will embeded in next beta version.

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: feature request browsing local collection

Post by Mort » 31 Mar 2010 23:21

Awesome. I was going to look at breaking them up into group (a-e, f-l etc) but I hve automated scripts managing some things and that would make it a lot more complex.

Love your work, look forward to seeing the beta :)

Cyrlaur
Pit Crew
Pit Crew
Posts: 889
Joined: 12 Aug 2005 14:49
Owned TM-games: TMO, TMS, TMU
Manialink(s): Cyrlaur
Location: France
Contact:

Re: feature request browsing local collection

Post by Cyrlaur » 01 Apr 2010 09:04

It's available as mentioned here : viewtopic.php?f=130&t=1026&start=645 ;)

Mort
smooth traffic navigator
smooth traffic navigator
Posts: 275
Joined: 16 Jan 2009 10:57
Owned TM-games: TMUF, TMNF
Location: Australia
Contact:

Re: feature request browsing local collection

Post by Mort » 03 Apr 2010 02:53

Thanks, I didn't notice. Perhaps you can change the topic title to say the new version? It still says [v0.98 - 26/10/08] so I didn't suspect anything new had been announced.

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: feature request browsing local collection

Post by Xymph » 03 Apr 2010 08:27

Cyrlaur wrote:It's available as mentioned here : viewtopic.php?f=130&t=1026&start=645 ;)
That still requires quite a bit of scrolling before getting to the pertaining post. Better use the direct link when referencing a specific post: viewtopic.php?p=173963#p173963
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Post Reply