virtual tags only operate on a single file<Time> and <Play Count> both are not virtual tags. Since I'm using two native tags to make calculations, shouldn't the virtual tag that's displaying that calculation work accordingly? I mean currently it does see multiple highlighted files; it just performs the wrong calculation because it thinks every files' play count is that of the first.
$Split($Div($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),3600),.,1) hours $Mod($Split($Div($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),60),.,1),60) minutes $Mod($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),60) seconds
If I may...@SonicRings is actually onto something here. There is some inconsistency in the way MB treats native tags when dealing with multiple files.Yes Mayibongwe, it is inconsistent.
I would expect it not to work when using a virtual tag, but when directly using the formula it should workI don't quite understand there. Isn't that the same thing? Whether I directly use a formula in the 'Track Info' panel or I use a virtual tag (e.g <virtual1>) to represent said formula defined in Tags(1), shouldn't either method work just the same?
MB is currently summing the time and size, so why not playcount as well?Yeah. And to emphasize again, it only sums up size in the summary stats. For some reason, it does not do the same in the 'Track Info' panel.
If I may...@SonicRings is actually onto something here. There is some inconsistency in the way MB treats native tags when dealing with multiple files. In the screenshot below, I have not used any virtual tags.
(https://i.imgur.com/Z6KoAdj.png)
Notice how the tags are treated in both the details panel and the summary statistics.
Summary Stats
<Time> collected data from all selected files and accurately added their durations.
<Size> collected data from all selected files and accurately added their sizes.
Details Panel
<Time> collected data from all selected files and accurately added their durations.
<Size> however, did not collect data from all selected files. It only took the first.
<Play Count> behaves the same as <size>...It also does not collect data from all selected files
So what @SonicRings was asking here was if there's any chance <play count> (and size) could also be made to behave like <time>. That way, his virtual tag would accurately perform his calculation.
If I may...@SonicRings is actually onto something here. There is some inconsistency in the way MB treats native tags when dealing with multiple files.Yes Mayibongwe, it is inconsistent.
I would expect it not to work when using a virtual tag, but when using the track details panel and directly using the formula it should work when using the 'selected' tracks panel.
MB is currently summing the time and size, so why not playcount as well?
maybe you think it should behave a certain way but whether its a virtual tag or a formula directly in the track info panel, it only operates using one file.
Any summing done for multiple files for specific fields is because there is specific logic built in MB to do that but that is not supported otherwise.
You could add this to the wishlist