Editor pairs Posted August 8, 2013 Editor Share Posted August 8, 2013 Merhaba arkadaşlar bugün sizlere mp3 dosyalarında tagları çekebilmek için kullanmak amacıyla bir dll yazdım ve bunun tanıtımını yapıcam.Normalde ams 7.5 de plugin vardı onun la yapılıyordu ama artık 8 kullanıldıgı için 8 de öyle bir plugin göremedim. Dll C# ile yazılmıştır.Kullanımına örnek olarak apz hazırladım dll proje içindedir ektende vereceğim. Dll in Kod içeriği.Yani dll den neler çekebilirsiniz hepsi burada. [DllExport("Album", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string Album(string mp3) { Tagger tag = new Tagger(mp3); return tag.Album; } [DllExport("Artist", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string Artist(string mp3) { Tagger tag = new Tagger(mp3); return tag.Artist; } [DllExport("Comment", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string Comment(string mp3) { Tagger tag = new Tagger(mp3); return tag.Comment; } [DllExport("FileSize", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static long FileSize(string mp3) { Tagger tag = new Tagger(mp3); return tag.FileSize; } [DllExport("GenreID", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string GenreID(string mp3) { Tagger tag = new Tagger(mp3); return tag.GenreID; } [DllExport("Title", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string Title(string mp3) { Tagger tag = new Tagger(mp3); return tag.Title; } [DllExport("TitleNumber", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string TitleNumber(string mp3) { Tagger tag = new Tagger(mp3); return tag.TitleNumber; } [DllExport("Year", CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] public static string Year(string mp3) { Tagger tag = new Tagger(mp3); return tag.Year; } Örnek Proje : https://www.dropbox.com/s/v3nqrncmhf0dgrr/ID3-Tag.apz Quote Link to comment Share on other sites More sharing options...
Kral__ Posted August 8, 2013 Share Posted August 8, 2013 Proje için saolun fakat bunu daha kolay bir yöntemle yapabiliriz plugin ile.... Plugin; id3MP3 Kintaronun plugin arşivinden ulaşabilirsiniz.. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 8, 2013 Author Editor Share Posted August 8, 2013 Alternatif bir yöntem zaten bu.Farklı çeşitlerlede yapılabilir. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted August 8, 2013 Share Posted August 8, 2013 Bu dll bi harika dostum :) Net Framework sürümü olarak hangisinde yazdın ? Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 8, 2013 Author Editor Share Posted August 8, 2013 2 kanka Quote Link to comment Share on other sites More sharing options...
HotSky Posted August 8, 2013 Share Posted August 8, 2013 2 kanka 2 ile yazdığını sanıyorsun ama 3.5 ile derliyor. 3.5 olmadan dll çalışmaz. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 8, 2013 Author Editor Share Posted August 8, 2013 Visual studio işi bilmiyor herhalde oraya neden 2 yaziyorki acaba Quote Link to comment Share on other sites More sharing options...
HotSky Posted August 8, 2013 Share Posted August 8, 2013 derlerken altta uyarı veriyor hatta bir bak istersen. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted August 10, 2013 Share Posted August 10, 2013 Windows 7 x86 sistemde denedim, çalıştı. Net4 yüklü sadece. Tabi mevcut NET2 de var. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 11, 2013 Author Editor Share Posted August 11, 2013 [font='trebuchet ms']Windows 7 x86 sistemde denedim, çalıştı. Net4 yüklü sadece. Tabi mevcut NET2 de var.[/font] Mp3 deki resim değiştirme işlemine bakıyorum şuanda.Onuda halledeyim güzel birşey olacagına inanıyorum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.