Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sebastian Stehle
    @SebastianStehle

    hi, I am testing out to integrate taglib into squidex: https://squidex.io

    What is the difference between tags and properties? Would I need to check all different tag types? I basically have a dictionary with metadata: https://support.squidex.io/t/asset-media-functions/1483/6

    Sebastien Mouy
    @Starwer
    Hi @SebastianStehle, basically the properties are read-only informations on the media content, like the duration of a music, the frame-rate of the video, the encoding... changing it would mean change the stream itself. Tags are read-write informations that the user can add/remove/change without altering the stream content, like title, authors or album cover... changing these has no effect on the movie or music the file represents.
    Stephen Shaw
    @decriptor
    @Starwer when you are around can you ping me
    Sebastien Mouy
    @Starwer
    Hi @decriptor, I 'm now arround, but I have the feeling that we have very different time-zones, so little chance to sync on chats...
    Stephen Shaw
    @decriptor
    @Starwer you still around? :)
    Sebastien Mouy
    @Starwer
    yeha !
    Hello @decriptor !
    Stephen Shaw
    @decriptor
    I just private messaged you
    startup-001-steve
    @startup-001-steve
    hello, I need the latest dll for use in an app named RadioDJ. I've tried to install VS2019Community, but using MSBuild, I get these errors: TaglibSharp.csproj : error MSB4236: Th
    e SDK 'Microsoft.NET.Sdk' specified could not be found. I assume I had the SDK installed from the VS installed, but I'm not sure where to go next...
    startup-001-steve
    @startup-001-steve
    success! I google a bunch, and found out I did not have the correct version of an SDK, or maybe no SKD installed. So I re-ran the VS installer, and this time in the workflow section, I selected EVERYTHING. which is probably overkill, but I was able to open the project in VS without those errors, and I was able to run msbuild and get a debug flavor of the dll ! Next I will figure out how to build a release flavor. If a newbie has any influence, it would be nice if these steps were described in the readme, but if you don't want this kind of power in the hands of newbies, then I understand.
    /t:Build /p:Configuration=Release
    Stephen Shaw
    @decriptor
    With absolutely no real scientific proof... it looks like the unit tests run a fair bit faster with .netcore :)
    image.png
    If anyone wants to comments and throw some feedback on this: mono/taglib-sharp#215
    Stephen Shaw
    @decriptor
    merged
    Vawlpe
    @Vawlpe
    would taglib# lemme convert different audio format files in a program for example?
    Mayen
    @MayenStudios
    image.png
    Hi, i tried to use Taglib to get the album art of .wav song for Unity with this
    but i dont understand why i have errors
    image.png
    Sebastian Stehle
    @SebastianStehle
    You are creating an empty array of IPicture with one element, but IPicture[1] is nullk
    Mayen
    @MayenStudios
    I fix this but now i have:
    image.png
    image.png
    what I'm looking for is to extract the bytes from the album art, and then from Unity create an image by code according to the data of those bytes.
    awilcockson
    @awilcockson
    Hi, firstly thanks for writing this awesome package. I am trying to use it to write metadata to wav files that I am creating. I can get it to take Title, Year, Copyright, but it fails if I try and set Album. Any ideas? The code I am using is fairly simple, based off suggestions I have found on:
    var file = new TagLib.Riff.File(fileName);
    file.Tag.Clear();
    file.Tag.Album = album;
    file.Tag.Title = title;
    file.Tag.Year = (uint)DateTime.Now.Year;
    file.Save();
    I have also tried:
    var file = TagLib.File.Create(fileName);
    file.Tag.Album = album;
    file.Tag.Title = title;
    file.Tag.Year = (uint)DateTime.Now.Year;
    file.Save();
    tmilker
    @tmilker
    @decriptor Is there a way to read custom ID3v2 tags (TXXX frames)? So far, the only way I can determine it can be done is using reflection to call GetUserTextAsString which is private for some reason.
    3 replies
    tmilker
    @tmilker
    GetUserTextAsString and SetUserTextAsString are really useful for custom tag work. I suggest making them public. I got around it without reflection by just recreating them as extension methods.
    Benjamin Russell
    @benrr101
    Quick question - I've been working on porting taglib-sharp to node.js for ... oh about a year now :sweat_smile: (benrr101/node-taglib-sharp) and I noticed this inconsistency in the code: Mpeg.File.GetTag has a comment saying Id3v2 tags go at the front of the file (NonContainer.File.StartTag), but the switch statement shows it going in at the end of the file (NonContainer.File.EndTag). Bug or intentional?
    7 replies
    I know there's a lot of copy/paste in the comments, so it wouldn't be surprised if that was intentional :)
    Icarus
    @yika-aixi
    mkv file duration returns zero
    image.png
    Has anyone encountered it?
    Helmut Wahrmann
    @hwahrmann
    @decriptor looks like that the Automated build for Windows Pull requests are failing due to some packages missing
    Stephen Shaw
    @decriptor
    @hwahrmann hey, I'm out in the middle of no where with very limited internet connection/speed. I'm trying to see what I can do, but I'm very limited right for the next week or 2 :(
    Stephen Shaw
    @decriptor
    Weird, I wonder what the deal is with nunit missing
    Stephen Shaw
    @decriptor
    @hwahrmann ok, I think I've fixed the Windows build
    Stephen Shaw
    @decriptor
    @hwahrmann I just merged your two PRs
    Stephen Shaw
    @decriptor
    I'm going to (slowly) work through the remaining PRs and try to get them all merged and then push out a release
    (at least over the next couple weeks)
    Stephen Shaw
    @decriptor
    @hwahrmann if you are up for it and don't mind reviewing the other PRs, I'd apreciate the extra eyes
    Adryzz
    @adryzz
    Is it possible to retrieve a VideoHeader object from a MPEG-4 file?
    Helmut Wahrmann
    @hwahrmann
    @decriptor same with me. away from a dev machine for the next week, but will be able to help afterwards
    Benjamin Russell
    @benrr101
    @adryzz Not exactly. You can access the codecs for any File class via Properties.Codecs. For MPEG-4, the Mpeg4.Boxes.IsoVisualSampleEntry class implements IVideoCodec and provides the video properties to the Properties class. But, accessing the IsoVisualSampleEntry class doesn't give you any more information than the Properties class would. So, it's not really necessary to dig this deep.
    Helmut Wahrmann
    @hwahrmann

    What would be the best separator for multiple entries in a string?
    Should we use ";" or "/" or something else?

    Our current implementation of the MusicBrainzArtistId is ignoring multiple entries.
    In an ID3 frame it is stored as "firstartistid/secondartistid"
    in FLAC it is a XIPH frame with 2 entries
    In MPEG4 the Box contains 2 entries.

    For FLAC and MPEG4 we are returning only the first entry

    So i am thinking of either modifying the existing method to return a string with multiple entries separated by one of the separator characters.

    The second option could be a new method called e.g. MusicBrainzArtistIds (notice the "s" at the end for plural), which would return a sting array, like Performers.

    What do you think?

    Helmut Wahrmann
    @hwahrmann
    @decriptor i was going over the recent PRs and verified them. Added 2 new PRs myself.
    I guess we could put another release together. What do you think?
    Stephen Shaw
    @decriptor
    @hwahrmann I saw that. Thank you! I'm just trying to catch up on life and then I want to go through a bunch of it and get a newer release out
    Between moving and work I've been a bit slammed
    Helmut Wahrmann
    @hwahrmann
    sure. np, just wanted to make sure that you are still there. :-)
    Stephen Shaw
    @decriptor
    Sorry, I'm still trying to dig myself out a hole at work. Hopefully in the next few weeks I'll free up some time