[Samba] Automatic conversion of files

Peter Andersson peter at legio.mine.nu
Wed Aug 30 17:12:59 GMT 2006


Thanks for the reply!
Unfortunatley i can't write a single line of code. I was looking for some
way to perhaps use a script or pipe the file being transfered through
existing converters like mpg123.

/Peter
> You might be able to do that developing a vfs module.
> Simo.
>
> On Wed, 2006-08-30 at 12:38 +0200, Peter Andersson wrote:
>> Hi,
>> I am setting up a samba server where i intend to store audio files.
>> Since
>> they require quite a lot of disk space i thought of compressing them in
>> the flac audio format. The thing is that flac is not supported in many
>> programs we use here. So here are my questions:
>>
>> 1.) Is it possible to configure samba to display .flac files as .wav?
>> 2.) Is it possible to convert the .flac files to wav on the fly when
>> they
>> are transfered from the server.
>>
>> Basically i want to be able to copy flac, mp3, ogg files to the samba
>> server without conversion. From the windows clients they should show up
>> as
>> wav files. And when they are copied from the smb server to the windows
>> client they will be converted to wav files.
>>
>> Any input you have on this will be very appreciated.
>>
>> Thanks
>>
>> /Peter
>>
> --
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: idra at samba.org
> http://samba.org
>
>
>




More information about the samba mailing list