weso / CWR-DataApi

CWR-DataApi
MIT License
34 stars 29 forks source link

CWRFileDecoder only decodes the new filename format #52

Closed Bernardo-MG closed 9 years ago

Bernardo-MG commented 9 years ago

The CWRFileDecoder class only decodes the filename into a FileTag if it follows the new naming format.

It should try to decode the new format, but if it fails then it should try again with the old format. A second failure means the filename can't be decoded.

Bernardo-MG commented 9 years ago

Fixed, now it checks both formats. If none fits then an empty file tag is created.