haiviet2011 Posted April 6, 2014 Posted April 6, 2014 This Code Not Support Unicode Tag. Can AnyOne Help???
BrewManNH Posted April 6, 2014 Posted April 6, 2014 ID3V1 tag or V2 tag? Because V1 tags don't support unicode. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
haiviet2011 Posted April 8, 2014 Posted April 8, 2014 (edited) ID3v2 and Not Show Album Art. ID3V1 tag or V2 tag? Because V1 tags don't support unicode. Edited April 8, 2014 by haiviet2011
BrewManNH Posted April 8, 2014 Posted April 8, 2014 Are you trying to read them or write them? Does the file have a v2 tag in it? If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
haiviet2011 Posted April 8, 2014 Posted April 8, 2014 Are you trying to read them or write them? Does the file have a v2 tag in it? Yes. But ID3 Not write =(. I using TagScaner write ID3.
KaFu Posted April 10, 2014 Posted April 10, 2014 (edited) Now, that took a while ... and as always the attached proof-of-concept* lacks any sensible error checking * Edit: And if anyone wonders what it does, it writes a unicode ID3v2 tag. The call to "ID3V2SetFormatAndEncodingW" is missing in the original UDF. expandcollapse popup#include <AudioGenie3_v2.au3> ; provide "_in.mp3" in scriptdir for testing ; Copy original file to test file FileCopy(@ScriptDir & "\_in.mp3", @ScriptDir & "\_out.mp3", 1) Local $sFile = @ScriptDir & "\_out.mp3" _AudioGenie3_Start() ; Unicode test string Local $sString_org = "Кириллица-Test" #region Set ID3V2 Unicode String Local $rc = DllCall($_AudioGenie3DLLHandle, "int", "AUDIOAnalyzeFileW", "wstr", $sFile) ; open file DllCall($_AudioGenie3DLLHandle, "uint", "ID3V2SetFormatAndEncodingW", "uint", 0, "uint",1) ; <<< !!!! this needs to be set explicitly ; ID3V2SetFormatAndEncodingW - Parameters ; #1 = format ; 0=bestehendes Format 1=id3v2.2 2=id3v2.3 3=id3v2.4 ; #2 = encoding ; 0= ISO-8859-1 1=UTF-16 mit BOM 2=UTF-16 ohne BOM 3=UTF-8 DllCall($_AudioGenie3DLLHandle, "none", "ID3V2SetTextFrameW", "uint", String(Dec(_StringToHex("TALB"))), "wstr", $sString_org) ; write string $rc = DllCall($_AudioGenie3DLLHandle, "int", "ID3V2SaveChangesW") ; save and close file #endregion ; Read Test output Local $s_Output For $x = 1 To 15 $s_Output &= _AudioGenie3_ReadID3Tag($sFile, $x) & @CRLF Next MsgBox(0,"AudioGenie Test", $s_Output) _AudioGenie3_Stop() _AudioGenie_v2.zip Edited April 11, 2014 by KaFu haiviet2011 1 OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
AndreyS Posted May 20, 2014 Posted May 20, 2014 Hello everyone and thank you for the useful UDF! My task and the problem in the following. I need to tag Comment was visible in the list of files in Windows Explorer. The problem is that wherever I did not write the data in the program ID3_Example_GUI_v3.4.au3 they still are not visible in Windows Explorer. Although if I change in the Explorer, the data field is a comment in the program ID3_Example_GUI_v3.4.au3 appears only 30 characters in the field Comment (group ID3v1). How to fix this discrepancy? My OS: Widows 8.1
careca Posted July 12, 2014 Posted July 12, 2014 Hi, the example provided on the first post is not working for me, in terms of retrieving the album art. Mp3 files load, and play, but not album art.. it shows in other players like wmp though, any thoughts on what it could be? Could it be the SciTe version? The example im talking about is the GUI one. What i did: downloaded the udf + the example, ran example in scite, opened mp3 file, no album art. Best regards. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
TheSaint Posted July 16, 2014 Posted July 16, 2014 @careca - I've only now just looked into this topic for the first time in a long time, and so are not up-to-date with more recent changes. In the past, it was always the existence of APE tags that caused me issues, especially with artwork. I still haven't updated my program to the improvements here, so I'm still using MP3Tag to strip out APE tags and convert back to ID3v2.3. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
careca Posted July 16, 2014 Posted July 16, 2014 I had used that same program MP3Tag to do some changes in the files, could it be that? in gonna download from somewhere and test, btw the APE tags are all blank, and the version is already ID3v2.3. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
TheSaint Posted July 17, 2014 Posted July 17, 2014 (edited) Does your artwork show up in other programs (besides WMP)? MP3Tag Tagscanner etc. Do you have any image files in your MP3 folder, like Folder.jpg? Hidden perhaps? What does MP3Tag say about the status of your files? Doesn't say BAD in the ID3 version field does it? Edited July 17, 2014 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
guinness Posted July 17, 2014 Posted July 17, 2014 TheSaint,They already have a discussion going on this subject >> '?do=embed' frameborder='0' data-embedContent>>. Just best not to takeover this UDF thread. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
TheSaint Posted November 12, 2014 Posted November 12, 2014 Win 8.1 cannot write id3 That's not much to go on, and I cannot test what you say with that version of Windows, however, if you provided some code and detail like AutoIt version, we might be able to see if something else is the real issue. NOTE - No-one else to-date, has complained of this UDF not working in Win 8 or 8.1, so I would be a little surprised if what you say, is actually the case. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
BrewManNH Posted November 13, 2014 Posted November 13, 2014 Could you please post the script you're using when you attempt to do this? It would GREATLY help in coming up with an answer. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
TheSaint Posted November 13, 2014 Posted November 13, 2014 cannot write id3v2 id3v1 ok Are you writing statements or seeking help? If seeking help, then help is a two way thing .... you help us to help you, else it is like trying to get blood from a stone. We, the unpaid volunteers, are not here for your pleasure, we are here to support and promote AutoIt, which we cherish. One or two very short sentences, are about as useful as teets on a bull. jaja714 1 Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
htclub Posted November 14, 2014 Posted November 14, 2014 I try to install AutoIt Previous Versions but demo (ID3_Example_GUI_v3.4.au3) cannot write id3v2 my system: window 8.1 32bit
KaFu Posted November 14, 2014 Posted November 14, 2014 Well, maybe you give my posting >here a try? OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
careca Posted November 14, 2014 Posted November 14, 2014 Im happy to report that this updated version works, in terms of showing album art. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now