Search found 3 matches

by Redsandro
July 4th, 2014, 3:24 pm
Forum: Developers' Corner
Topic: [bug] signed integer limitation on playlist length
Replies: 7
Views: 3741

Re: [bug] signed integer limitation on playlist length

You are right. Apparently, I'm a bit stupid and I missed one bit.
Thanks for correcting me and letting me know. I appreciate that.

However, what's also stupid is using "one of those" binary maximums for an artificial limit. Why do people do that?
by Redsandro
July 2nd, 2014, 1:16 pm
Forum: Developers' Corner
Topic: [bug] signed integer limitation on playlist length
Replies: 7
Views: 3741

Re: [bug] signed integer limitation on playlist length

I don't know C++. I ran into the limitation. I recognize the number and the problem I mention from working with bitstreams as a Node developer. So I didn't "assume" , I took an educated guess and I thought I'd improve this nice Deamon by kindly letting the MPD people know. I didn't think it was a co...
by Redsandro
July 2nd, 2014, 1:00 am
Forum: Developers' Corner
Topic: [bug] signed integer limitation on playlist length
Replies: 7
Views: 3741

[bug] signed integer limitation on playlist length

As discussed here I figured that the playlist length is limited to 16384 items. Now either there's a good reason and you can all laugh at me for bringing this up, or this is the limitation of a 16 bit signed integer. Change this to an unsigned integer and the limit doubles to 32768 entries. $ mpc li...