# Tags retrieval fails for netstreams with undefined length and custom filesystem

**URL:** <https://qa.fmod.com/t/tags-retrieval-fails-for-netstreams-with-undefined-length-and-custom-filesystem/15205>\
**Category:** FMOD Engine\
**Created:** [November 10, 2019, 10:54pm UTC](https://qa.fmod.com/t/tags-retrieval-fails-for-netstreams-with-undefined-length-and-custom-filesystem/15205 "2019-11-10T22:54:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![r618](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/r618/32/36_2.png) [@r618](https://qa.fmod.com/u/r618)\
**Post date:** [November 10, 2019, 10:54pm UTC](https://qa.fmod.com/t/tags-retrieval-fails-for-netstreams-with-undefined-length-and-custom-filesystem/15205/1 "2019-11-10T22:54:36Z")

</div>

As per title: tags retrieval don’t seem to work for me when playing netstream e.g. `http://ice1.somafm.com/spacestation-128-mp3` which is being retrieved separately and provided to FMOD via custom filesystem  
[`sound.getNumTags` returns 0 and `sound.getTag` `FMOD_ERR_TAGNOTFOUND` all the time]

Tags _do_ work, however, when a finite size file is played from a network location - using the _same_ code/custom filesystem

The only practical difference seems to be setting filesize to retrieved content length or being undefined (`uint.MaxValue`) in opening callback  
Is this something which might be causing this behaviour ?  
(the sound plays without problems otherwise, i.e. no stutters when loading/playing)

Thank you

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [November 17, 2019, 10:14pm UTC](https://qa.fmod.com/t/tags-retrieval-fails-for-netstreams-with-undefined-length-and-custom-filesystem/15205/2 "2019-11-17T22:14:58Z")

</div>

> [@Is it possible to prevent FMOD scanning the whole OGG/VORBIS file while opening it?](https://qa.fmod.com/t/is-it-possible-to-prevent-fmod-scanning-the-whole-ogg-vorbis-file-while-opening-it/15086/11):
>
> I don’t believe there is anything ‘hidden’ that you need to do that, if you want to upload your implementation we can take a look for you.
