简体   繁体   中英

How can I make some file visible for processes and when some process access it then feed content of some internet stream?

One process (Twonky – DLNA server) check directory for files to feed them on demand through DLNA to TV. When I put to this directory .mpeg file Twonky updates it's database.

I want to put into directory something like file but when it will be accessed by Twonky to feed it's content to TV feed content stream from internet.

It will be brilliant if that will be shell-programmable solution but c programming is welcome too.

如果您希望将某些http内容显示为本地文件,则可能需要检查一下fuse的httpfs之类的内容

您可能还会考虑使用FIFO

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM