fairyliquidizer;632279 Wrote: 
> void sp_session_set_cache_size        (       sp_session *    session,
>               size_t          size     
>       )                       
> 
> Set maximum cache size.
> 
> Parameters:
> [in]  session         Your session object
> [in]  size    Maximum cache size in megabytes. Setting it to 0 (the
> default) will let libspotify automatically resize the cache (10% of
> disk free space) 
> 
> Does this not enable the changing of the cache size?

Yes thats supported with the recent libspotify versions, however I've
not implemented it yet as I was not convinced many users would want to
tune it.  I think by default it use up to 10% of the available disk. 
If there is no valid writable disk at the cache location it should
fallback to streaming without using any cache.


-- 
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to