Help - Search - Members - Calendar
Full Version: Count total number of albums
Mp3tag Forums > Mp3tag - International > Development > Export
blake
Is there a simple way to use MP3tag to count the total number of albums in my tagged music collection? I have several hundred albums, all in one big directory. I need to count the total number of albums seen by MP3tag so I can compare that total with the total seen by my network music player via the music server in my NAS drive.
foo_peter
please try this I hope it helps

CODE
$filename(mp3.txt)$loop(%album%,1)$if($eql($strstr(%_extension%,mp3),0)
,,%_counter% - %album%)
$loopend()
blake
That worked perfectly. Thank you very much.
DJ Mucke
ZITAT(foo_peter @ Sep 10 2011, 13:35) *
$filename(mp3.txt)$loop(%album%,1)$if($eql($strstr(%_extension%,mp3),0)
,,%_counter% - %album%)
$loopend()


$filename(mp3.csv)$loop(%album%,1)$if($eql($strstr(%_extension%,mp3),0)
,,%_counter%|%album%)
$loopend()
Wie muss der Code aussehen für *.csv???
- Nummerierung;Album in getrennten Spalten???
verwenden von "|" oder "$char(9)"
bitte um hilfestellung

DetlevD
QUOTE (blake @ Sep 7 2011, 03:51) *
Is there a simple way to use MP3tag to count the total number of albums in my tagged music collection? ...

Use an export script.

$filename($getEnv('USERPROFILE')'\Desktop\AlbumCount.txt')
'Album list'
'----------'
$loop(%ALBUM%)%_counter%' - '%ALBUM%$char(13)$char(10)$loopend()
'All = '%_max_counter%
'----------'
$loop(%ALBUM%)$loopend()'Albums = '%_max_counter%
'----------'


DD.20131210.1435.CET


Load all related files into Mp3tag listview and apply the following Filter expression, then check the Mp3tag status line information how many files, i. e. how many albums, have been found.

ALBUM PRESENT AND "$num(%TRACK%,1)" IS 1

DD.20131223.1752.CET
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.