David Armstrong wrote:

Hi,

Can the "BufferSize" setting for livetv be changed to specify size in MB instead of GB? On my MythTV box I have a EPIA M10k 512MB box running both front and backends; livetv buffer is on a tmpfs partition to eliminate the hard drive ticking, and buffersize set to 384MB. I have been running this way since v0.17 with no problems, aside from the obvious limitation on how long I can pause.

Attached is a patch against 0.18 that achieves the above, with two TODOs. Firstly i'm not sure my default and max sizes will suit everyone (128MB default, 128MB increments on the slider, 4096MB max), secondly how to handle upgrades. Clearly simply changing the meaning (from GB to MB) of this setting where existing users have something like "1" wont be very helpful. I'm aware there must be code somewhere that detects a version upgrade and sorts out the database accordingly, if someone could point me in the right direction i'll get to work on adding something.

I would appreciate any feedback or suggestions.
thanks,
David.

Feedback:
This is exactly what I wanted to do, as I dont need a large buffer for watching TV, and it always seems a "shame" to have the disk chattering away !
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to