taglib-devel Digest, Vol 135, Issue 1

Thomas Sellmaier thomas.sellmaier at gmail.com
Mon Jan 11 00:34:11 UTC 2016


maybe your Problem is here:

TagLib::PropertyMap Prop1 = audioFile.tag()->properties();


try this instead:

TagLib::PropertyMap Prop1 = FileRef.file()->properties();


BTW: in the "examples" folder of the taglib source distribution is a short
demo programm called "tagwriter.cpp". All your questions can be cleared if
you read and understand the code in there.

thomas



2016-01-10 13:04 GMT+01:00 Priya Krishnan <priya.salman at gmail.com>:

> Yes I done that as well See the following code snippet.
>
> TagLib::PropertyMap Prop1 = audioFile.tag()->properties();
> Prop1.insert(it->first, str);
> audioFile.tag()->setProperties(Prop1);
> audioFile.save()
>
> Even not saved the file with new properties.
>
> LEt me know what to do. Even I have ran the application run as
> administrator.
>
>
> On Sat, Jan 9, 2016 at 5:30 PM, <taglib-devel-request at kde.org> wrote:
>
>> Send taglib-devel mailing list submissions to
>>         taglib-devel at kde.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://mail.kde.org/mailman/listinfo/taglib-devel
>> or, via email, send a message with subject or body 'help' to
>>         taglib-devel-request at kde.org
>>
>> You can reach the person managing the list at
>>         taglib-devel-owner at kde.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of taglib-devel digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Set / Get any tag (Priya Krishnan)
>>    2. Re: Set / Get any tag (Thomas Sellmaier)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 9 Jan 2016 11:50:17 +0530
>> From: Priya Krishnan <priya.salman at gmail.com>
>> To: taglib-devel at kde.org
>> Subject: Set / Get any tag
>> Message-ID:
>>         <CACQDtj0cWT=
>> SF93nhnQmzOJH-2DiMgdPcYhQRFQ5O2M2vSJ8Gg at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> How to add TLAN tag and save. I attempted to adding to propertiesmap and
>> calling set properties and saved.
>>
>> Save was successful , but it is not reflected in real file.
>>
>> Can you explain how to add any tag (other than basic tags)?
>>
>> Regards
>> Priya
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://mail.kde.org/pipermail/taglib-devel/attachments/20160109/1dc43dba/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sat, 9 Jan 2016 11:14:34 +0100
>> From: Thomas Sellmaier <thomas.sellmaier at gmail.com>
>> To: taglib-devel at kde.org
>> Subject: Re: Set / Get any tag
>> Message-ID:
>>         <CAOY4Ov5HXCPCEUx70i=
>> SHAcwAGZJi3mRr7ng9CeT3_Jb1GBUjQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> maybe you forgot
>>
>> fileRef.file()->setProperties(props);
>>
>>
>> before you saved the file?
>>
>>
>>
>>
>> 2016-01-09 7:20 GMT+01:00 Priya Krishnan <priya.salman at gmail.com>:
>>
>> > How to add TLAN tag and save. I attempted to adding to propertiesmap and
>> > calling set properties and saved.
>> >
>> > Save was successful , but it is not reflected in real file.
>> >
>> > Can you explain how to add any tag (other than basic tags)?
>> >
>> > Regards
>> > Priya
>> >
>> > _______________________________________________
>> > taglib-devel mailing list
>> > taglib-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/taglib-devel
>> >
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://mail.kde.org/pipermail/taglib-devel/attachments/20160109/ce9f6539/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>>
>>
>> ------------------------------
>>
>> End of taglib-devel Digest, Vol 135, Issue 1
>> ********************************************
>>
>
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20160111/4ac37f4c/attachment-0001.html>


More information about the taglib-devel mailing list