2013-04-10, 18:58
Hello devs,
As i have no experience/skill on C++ language, I need help.
I want to see and play my untagged audio files (wav / mlp / etc..) from the library.
I am not sure to have correctly read the source code but:
- in the file xbmc/music/tags/TagLoaderTagLib.cpp
- in the function CTagLoaderTagLib:arseGenericTag
If at the end of the function I add a check to detect if tags are ok,
then if it's not ok, set something like :
Will it be ok to xbmc to add the file into the library ?
I don't know how to do that nor how to get strFilename from here...
so if a developper can point me to good direction, It would be great.
As i have no experience/skill on C++ language, I need help.
I want to see and play my untagged audio files (wav / mlp / etc..) from the library.
I am not sure to have correctly read the source code but:
- in the file xbmc/music/tags/TagLoaderTagLib.cpp
- in the function CTagLoaderTagLib:arseGenericTag
If at the end of the function I add a check to detect if tags are ok,
then if it's not ok, set something like :
Code:
tag.SetTitle(strFileName);
SetArtist(tag, "");
tag.SetAlbum("");
tag.SetTrackNumber("");
tag.SetYear("");
SetGenre(tag, "")
tag.SetComment("");
Will it be ok to xbmc to add the file into the library ?
I don't know how to do that nor how to get strFilename from here...
so if a developper can point me to good direction, It would be great.