Re: [Musicpd-dev-team] Announcement, bug report, help request and a present ; -)

2011-01-06 Thread Max Kellermann
On 2011/01/06 19:21, Thomas Lübking  wrote:
> hmmm... would it be feasible to not keep the info in the database but read 
> and 
> reply from the file on query?

No.  That would be too expensive, as it would need to rescan all files
for clients using the notorious "listallinfo" command.

The one other solution would be to not store the full MPD database in
memory, but on some disk database.  That idea came up many times, but
nobody came up with code yet.

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Announcement, bug report, help request and a present ; -)

2011-01-06 Thread Thomas Lübking
Am Thursday 06 January 2011 schrieb Max Kellermann:
> Does MPD send that tag to your client?
> (COMMENT is disabled by default on the server side to 
no, that's been it -> rtfm error ;-)

> reduce waste of memory for a tag which is usually not needed/used by any 
client
hmmm... would it be feasible to not keep the info in the database but read and 
reply from the file on query?

> See "mpd --version".
*ggg* That's not what i meant, but i googled around and finally found a public 
radio stream i could use ;-)
 
Thomas


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Announcement, bug report, help request and a present ; -)

2011-01-06 Thread Max Kellermann
On 2011/01/06 16:37, Thomas Lübking  wrote:
> The next item is a (possible) bug in libmpdclient - i apparently don't get 
> the 
> "comment" tag via "mpd_song_get_tag( song, MPD_TAG_COMMENT, 0)" - or is there 
> anything special to initialize to get this specific tag?

Does MPD send that tag to your client?

(COMMENT is disabled by default on the server side to reduce waste of
memory for a tag which is usually not needed/used by any client)

> Comes a help request:
> Can you provide links to strem sources mpd should be capable of?

See "mpd --version".

Max

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] Announcement, bug report, help request and a present ; -)

2011-01-06 Thread Thomas Lübking
*I'm not subscribed, so please keep me in cc if you wish to reply*
Thanks

---

Hi,
I showed up last september, asking for advice on which lib to use.

Now, after a not so fast development process i can happily promote the first 
version of a GUI client
http://qt-
apps.org/content/show.php/BE%3A%3AMPC?content=137091&PHPSESSID=be665b62e06b8d8cf099ea5e668cfd6f

The next item is a (possible) bug in libmpdclient - i apparently don't get the 
"comment" tag via "mpd_song_get_tag( song, MPD_TAG_COMMENT, 0)" - or is there 
anything special to initialize to get this specific tag?

Comes a help request:
Can you provide links to strem sources mpd should be capable of?
(I've never played too many streams but maybe from Apples trailerpage in 
mplayer..., so i could require a test case - gonna figure how to make it play 
myself ;-)

Last is a present - a dynamic playlist generator implemented as user daemon in 
... bash! ;-)
I saw there's already one written in python, but this one can handle 
"restrictions", ie. a configuration with search parameters and probabilities.

Cheers,
Thomas


mpdynamizer
Description: application/shellscript
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team