1:45:32 Stream Time Limit

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

1:45:32 Stream Time Limit

Postby stuartfinlay » Fri Jun 17, 2011 2:08 am

Is there anyway to extend or remove the (1hr 45m 32s)time limit on streaming radio. It's very frustrating when the stream changes because of this.
stuartfinlay
 
Posts: 1
Joined: Fri Jun 17, 2011 1:58 am

Re: 1:45:32 Stream Time Limit

Postby raybero » Sun Jul 28, 2013 5:18 am

I figured this out. I'm not sure who to talk to about the fix. Essentially PS3 has a 2GB audio pcm/stream/file size limit. In DLNAResource.java when its a stream the size is set to DLNAMediaInfo.TRANS_SIZE which is 100000000000L. Divide that by 2^32 (or 4294967296) and you get 1215752192 which is a number less than 2^31 (or 2147483648). That number works out to be 1 hour 45 minutes and 32 seconds of streaming time. :) It only worked at all because when 100000000000L is assigned to a signed integer type on the PS3 it ends up being a positive number (or less then 2Gb). So, the limit is 2Gbs. Once you set that size to 2147483647 you get the maximum amount of streaming time of 3 hours 6 minutes and 24 seconds.

To get around the 3 hour limit I think you can just set that stream to repeat in the mini control window on the ps3. You can repeat 1 or infinite times. I haven't tried this yet, but I think that would work.

Ray
raybero
 
Posts: 5
Joined: Sun Jul 28, 2013 5:01 am

Re: 1:45:32 Stream Time Limit

Postby Raptor399 » Sun Jul 28, 2013 10:04 am

Thanks for sharing this, Ray.

I have committed a fix that might help. You can try a snapshot build and see if it helps increasing the stream time to 3 hours 6 minutes and 24 seconds.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: 1:45:32 Stream Time Limit

Postby raybero » Sun Jul 28, 2013 10:32 am

Thanks! I didn't try a 1.90 build test, but this change does work in 1.82 just fine. In case it matters, I also posted something here about this fix...

https://code.google.com/p/ps3mediaserve ... il?id=1639


Finally, since you were so quick on this one I also want to point out another problem I worked out. It's posted here...

https://code.google.com/p/ps3mediaserve ... il?id=1495

My stuff is at the bottom. The fix itself (ie. the use of the caffeinate command) is pretty straight forward. But someone who knows more about the pms code might have a better way to implement this. Thanks again!

Ray
raybero
 
Posts: 5
Joined: Sun Jul 28, 2013 5:01 am


Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], geb724 and 16 guests