INTERACT FORUM

More => Old Versions => JRiver Media Center 29 for Windows => Topic started by: sygnus21 on May 13, 2022, 02:53:09 pm

Title: Is there a limit to the number of music files?
Post by: sygnus21 on May 13, 2022, 02:53:09 pm
Title says all, but to doublecheck is there a limit to the number of music files?

Thanks
Title: Re: Is there a limit to the number of music files?
Post by: JimH on May 13, 2022, 03:04:45 pm
Several million at least.
Title: Re: Is there a limit to the number of music files?
Post by: zybex on May 13, 2022, 03:24:45 pm
2,147,483,647 at most.
Title: Re: Is there a limit to the number of music files?
Post by: JimH on May 13, 2022, 03:31:01 pm
2,147,483,647 at most.
I'm pretty sure it goes beyond that.
Title: Re: Is there a limit to the number of music files?
Post by: zybex on May 13, 2022, 03:47:49 pm
I'm pretty sure it goes beyond that.

Isn't the file ID a 32bit signed int?
Title: Re: Is there a limit to the number of music files?
Post by: sygnus21 on May 13, 2022, 05:37:23 pm
Several million at least.

Thanks. That answers the question and eases the worry as I don't have anything near even a million. Sitting at 32,000+ files at the moment :)
Title: Re: Is there a limit to the number of music files?
Post by: Hendrik on May 14, 2022, 01:01:00 am
Isn't the file ID a 32bit signed int?

Its unsigned, so twice that, but 4 billion tracks (or even just 2 billion) is probably a relatively safe limit for now.
Title: Re: Is there a limit to the number of music files?
Post by: w_axlrose1 on May 14, 2022, 03:14:50 am
Its unsigned, so twice that, but 4 billion tracks (or even just 2 billion) is probably a relatively safe limit for now.

4 billion! That's an impressive number indeed.

...and just because I'm bored a quick bit of maths makes me wonder if there are even 4 billion tracks in existence since the invention of the phonograph 135 years ago.

I make that an average of around 87,400 tracks would need to have been recorded every single day in order to reach that number.
Title: Re: Is there a limit to the number of music files?
Post by: zybex on May 14, 2022, 04:27:21 am
4 billion is a database/programming limit, but MC would likely be extremely slow with that many tracks. I think the largest real DB I remember seeing in this forum was about 20 million and it was reportedly fine to use, which is also impressive.

I make that an average of around 87,400 tracks would need to have been recorded every single day in order to reach that number.

I would bet we're long past that. Youtube alone is clocking 300 hours of new video uploaded every *minute*, that's 72000 2.6 million 10-minute clips per day! Granted, it's video not audio, but that only makes it more impressive in my book. The thing is there are billions of people on the planet and half of them now have the means to mass produce and distribute media.

If we're talking *quality* tracks on the other hand...

Edit to fix my math. Stats source: https://residencelord.com/youtube-statistics/
Title: Re: Is there a limit to the number of music files?
Post by: w_axlrose1 on May 14, 2022, 04:40:50 am
If we're talking *quality* tracks on the other hand...

That was my initial assumption. ;)

Nevertheless, those YouTube statistics you mention are staggering indeed.
Title: Re: Is there a limit to the number of music files?
Post by: comox on May 14, 2022, 10:08:27 am
Equally impressive is that after 20 years of daily use I have never experienced a database error or loss.