Coder Social home page Coder Social logo

Fehlermeldung beim nutzen in App about taglib-sharp HOT 3 OPEN

mono avatar mono commented on July 22, 2024
Fehlermeldung beim nutzen in App

from taglib-sharp.

Comments (3)

Ollowain87 avatar Ollowain87 commented on July 22, 2024

Hallo,
has nobody a answer?

from taglib-sharp.

decriptor avatar decriptor commented on July 22, 2024

Sorry, I don't understand what you are asking.

from taglib-sharp.

Ollowain87 avatar Ollowain87 commented on July 22, 2024

Hi, I want to program a UWP app, where I read the metadata of music files. I have included taglip and in a normal program the code work but in the app he didnt work.
Here is the Code, the error is on this part.
"Dim Musikdatei As TagLib.File = TagLib.File.Create(Datei.Path)"

Dim folder As StorageFolder
Private Async Sub menuItem_Open_Explorer()
Dim ordnerAuswählen = New Pickers.FolderPicker()
ordnerAuswählen.SuggestedStartLocation = Pickers.PickerLocationId.Desktop
ordnerAuswählen.FileTypeFilter.Add("*")
folder = Await ordnerAuswählen.PickSingleFolderAsync()
txtOrdner.Text = folder.Path
End Sub

Private Async Sub Button_Click(sender As Object, e As RoutedEventArgs)
Dim titel, Interpret, Jahr As String
Dim Dateienliste As IReadOnlyList(Of StorageFile)
Dateienliste = Await folder.CreateFileQuery(1).GetFilesAsync()
For Each Datei As StorageFile In Dateienliste

Dim Musikdatei As TagLib.File = TagLib.File.Create(Datei.Path)

titel = Musikdatei.Tag.Track
lblDateien.Items.Add(Datei.Name)

Next
End Sub
End Class

This is the error message
An Exception Typ "System.UnauthorizedAccessException" is in taglib-sharp.dll occurred, but this was not processed in user code.
Is there a solution for this? Or can't I use the library in apps?

from taglib-sharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.