Author Topic: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)  (Read 5321 times)

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
If some are interested, a little gui to leechmp3 querycddb (as is) 
(you have to set parameters - leechmp3 path, a valid email address according gnudb  rules, specify drive letter and optional output file)
Rémy   

https://remydodin.levillage.org/doc/realisations/downloads/cddbgui.zip

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4813
  • Karma: +42/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #1 on: January 24, 2024, 09:51:03 pm »
Hello Remy.

I haven't work with CD Ripping to MP3 in years.
- Can you please explain me a little bit what does cddbGUI does?
- Does it requires LeechMP3_3-70.exe and QueryCDDB_2001-12-18.zip ?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #2 on: January 25, 2024, 01:35:05 am »
Hello Remy.

I haven't work with CD Ripping to MP3 in years.
- Can you please explain me a little bit what does cddbGUI does?
- Does it requires LeechMP3_3-70.exe and QueryCDDB_2001-12-18.zip ?

Regards

Hi Martin,

Only needs  LeechMP3_3-70.exe which includes under package 1 querycddb.exe
Rxutilex dll required

It only allow you to get metadatas / track tiltles with the possibility to select the right found entry of those existing into the database.
under parameters:
Update userid and host ( both together making it your email address - note: "anonymous" "yahoo.com" may work but this is out of gnudb rules and not be used )

Select for the output Use discid ( making the output file compatible as is with coming v2.1.0 AVxCAT or already compatible with v2 after edit/save of the output file copied under AVxCAT cddb lib folder - e.g. can be used instead of cdda2wav results )
or no change which will use default name cddb.out
If none is checked > output file can be renamed to any name using the corresponding field.
The result is saved under the specified "To path"
Specify leechmp3 path
Do not change gnudb database and its port used.
Set drive letter to the one you use for your CD player.
Insert CD
Press run -> querycddb is called
The list of found entries is listed.
If none ! nothing more to do
If one, verifiy entry (stop can be done or without action (tracks / metadatas are get after a max wait time of 5s)
If more than one entry !
Select the right one (the one which seems to be the correct entry for you) - click on the numbered line with title entry
In none are good, click on the abort line
Selection has to be done in a max time of 2'15 minutes or request is canceled to prevent put remote server into timeout state
(remote server has a timeout of 2'30)
Once done, all information are saved into the output file (click on the line having where saved INTO exist to view/edit the result)
A second file is created including the cddb query string usefull for other kind of queries (API, web services...)
This string has: FreeDB discid (usable on Brainz), number of tracks, tracks offsets and time as last number.

From the screen copy, I see that a miss alignment exist under you screen size (will correct it)
Regards
Remy

Note: If result seems to be helpfull and easy to use like this, a lighter code could be integrated into AVxCAT as an alternative cddb request choice or a get cover option into this GUI.
« Last Edit: January 25, 2024, 01:48:55 am by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #3 on: January 25, 2024, 02:28:59 am »
About next AVxCAT:
2.1.0.0  [ in test mode, available at request ]
         - Added Audio tracks supporting attached picture as well wav tracks get icon EAs for WPS rendering if jpg albumart
           exist or was downloaded (winico.exe required for this option - converts winico out of ffmpeg to os/2 ico 64:64)
         - New main popupmenu option (with wawe.exe installed) - Edit elligible audio file (cut, multi-cut, save etc...)
         - if discid cover was already downloaded thru add discid, the corresponding icon into the main list will change to
           the existing one at add time (can be disable/enabled using parm --imbai 0 or 1)
         - show downloaded discid cover thru add discid has now an integrated window instead of the drdialog prompt command
         - Added option to accept or ignore/reject found discid cover
         - Added option (if enabled --mbindex 0/1) to add discid index (limited number) from database if proposed album-art is rejected
         - Added New default path for downloaded covers using discid
         - Added parameter to change default path for downloaded covers to output path (--fld 0/1 [Disable/Enable])
         - Added option to switch from profile dropdown list to Icon pre-fixed profile buttons
         - Added Selected iconbutton profile is saved at AVxCAT file/exit
         - Added Possibility to use customize iconbutton profile (user of external cfg file)
         - Added last Audio/Video icon-profile used saved if using file/exit menu
         - Added [X] "delete" option for user created profiles under [New profile] button
         - Added "Create folder(s)" & "delete folder" under internal filemanager called by [Chg] button for target folder
         - Added "M4A" alac
         - Added "MOV"
         - Added MD5 package used to autocheck downloaded updates (through AVxCAT menu)
         - New ffmpegca.dll
         - Optimized parameters when involving leech (USB CD-ROM, grabbing private CDs)
         - corrected: a wrong video profile
         - corrected: some video option may use incorrect video extension
         - corrected: hung could occure when cdd2wav reads a track having lot of jitter (changed a fixed parameter)
         - included a process to prevent cdda2wav hung on very rare CD's having problems or difficulties with most cddb tools
         - Updated compatibility for metadatas/Tracks Titlle file generated under PM123 or querycddb
         - Somme minor corrections
         - changed a few webcam -> UDP initial settings
         - fix of webcam bug included

Not GA yet
Available athttps://remydodin.levillage.org/en/realisations.php?item=6900&id=realisations
Use bldlevel to get AVxCAT build level needed to report issues or suggestions.
« Last Edit: February 28, 2024, 03:24:04 am by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #4 on: January 25, 2024, 01:32:24 pm »
Text Miss alignment corrected as well word "query" into dialog (link refreshed)

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #5 on: February 13, 2024, 04:03:29 am »
link: GUI refreshed (some rexutil dll not loaded as expected under cddbgui.exe)

AVxCAT (minor update):  https://remydodin.levillage.org/doc/realisations/downloads/AVXCAT_S-2_1_0_3.wpi
Debug:
- AVxCAT isn't visible after start and init process is done => possible corrupted ini file, delete AVXCAT.INI and redo settings
- Some process not working as expected => try settings Threads to 1     

note: libcddb required - This package will be set as GA 2.1.0 build while future build may use querycddb as main cddb query process before current processes       

Update: Added FP2 (correcting incorrout when multilines for an album tittle or a track tittle exist into cddbGUI output file used as cddb database).   

FP5 available: Use help -> AVXCAT get update
« Last Edit: March 01, 2024, 09:33:02 pm by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #6 on: February 20, 2024, 12:42:08 am »
Updated: cddbgui.exe (same zip link)
- corrected from time to time incorrout when one match only

Note: An update should be available soon
« Last Edit: February 26, 2024, 01:12:31 am by Remy »

Remy

  • Hero Member
  • *****
  • Posts: 657
  • Karma: +9/-1
    • View Profile
Re: Wrote a little GUI to leech querycddb (test mode - build 0.0.9)
« Reply #7 on: February 28, 2024, 12:13:02 am »
Updated: cddbgui.exe (same zip link)
- corrected from time to time incorrout when one match only

Note: An update should be available soon

Update available (same link)
- corrected a bug (sometimes not all found matches - when >3 - are displaied making the selection not possible)
- added an eject button   

02032024> corrected a "@cdrom..." error message.    V0.1.5 fp1
(optionnal: cdrom.exe https//hobbes.nmsu.edu/download/pub/os2/util/optical/CDROM_1997-06-01.zip - adds cdrom close at cddbgui start)
« Last Edit: March 02, 2024, 10:37:25 am by Remy »