Mp3Tags extension

Oups...corrected.
Sorry !

1 Like

mp3 path is not getting, i getting error file not found. please help or share aia file to better understand.

1 Like

here it is

Mp3Tags.aia (73.2 KB)

1 Like

Thank you for this extension.
Works very well - it can also get tags from FLAC files and from external SD card.

Thank you for this return...i'm happy it can helps you.

1 Like

A post was split to a new topic: Cannot resolve symbol 'appinventor'

There is a problem: The file i posted here was working, but it doesn't works any more..I have a runtime error !

someone have an idea of what happened ?
is something changes ans i have to modify in my extension ?

I tried it on my old phone and it return : "Attempt to invoke virtual method 'java.lang.String java.io.File..getAbsolutePath()' on a null object reference....but i have no .getAbsolutePath() in my code !

Have you used FileUtil?

no. what is it ?

Maybe you don't have READ permission.

yes you were right...thanks

Here is version2 which use new app directory and so don't need to copy image file any more

There is an update of my extension to catch mp3' Tags.

you need READ_EXTERNAL_STORAGE to make it works.

you will find here :
-extension aix
-exemple aia
-source code iff it can be usefull for someone

jml.Mp3tags.aix (8.8 KB)
Mp3Tags.aia (67.2 KB)
Mp3Tags.txt (7.1 KB)

I hope you will enjoy !

1 Like

please use your existing thread to post new versions...
I now merged the 2 threads...
you additionally could edit your first post and upload version 2 additionally there and update the documentation...
see also this thread as example about how to work with different versions [Paid] Alarm Manager Extension with Notification

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

2 Likes

but i cann't edit my firs post !
have a look:
image

please try again,
I changed your user settings, you are now trust level 2...
Taifun

no..I can't !

sorry, I just found out, that trust level 2 only enables you to edit you own post up to 30 days after posting...
I now added a note into your first post ...

Taifun

ok thank you

In order to complete my needs, I improve this extension.
you will find here version 3 with much more Tags to get and possibility to Edit most of them.

About Rating: All apps don't use same values. this is what i fond here https://www.mediamonkey.com/forum/viewtopic.php?t=40532&start=45

Rating   WMP 12           Win 8.1 Explor   Winamp v5.666    foobar2000 1.3.2   MediaMonkey 4.1.2.1706         Proposed reading
stars    writes (reads)   writes (reads)   writes (reads)   writes (reads)     writes (reads)                 for MediaMonkey
-------  ------------------------------------------------------------------------------------------------     ----------------

0        ---              ---              ---              ---                  0 (          0,     2-8)  |  0             0
0.5      ---              ---              ---              ---                 13 (       9-18,   30-39)  |  0.5        2-22
1          1    (1-31)      1    (1-31)      1    (1-31)      1    (1-32)        1 ( 1,   19-28,   40-49)  |  1      1, 23-31
1.5      ---              ---              ---              ---                 54 (29,   50-59,   70-90)  |  1.5       32-63
2         64   (32-95)     64   (32-95)     64   (32-95)     64   (33-96)       64 (      60-69,  91-113)  |  2         64-95
2.5      ---              ---              ---              ---                118 (    114-123, 134-141)  |  2.5      96-127
3        128  (96-159)    128  (96-159)    128  (96-159)    128  (97-159)      128 (    124-133, 142-167)  |  3       128-159
3.5      ---              ---              ---              ---                186 (             168-191)  |  3.5     160-195
4        196 (160-221)    196 (160-223)    196 (160-223)    196 (160-223)      196 (             192-218)  |  4       196-223
4.5      ---              ---              ---              ---                242 (             219-247)  |  4.5     224-254
5        255 (222-255)    255 (224-255)    255 (224-255)    255 (224-255)      255 (             248-255)  |  5           255

I built formulas to convert stras number (N) to Rate (R): R=(N-1)63+1 (doesn't work for 0)
And Rate to Number of stars : N=Round((0,0157060054
B2+0,9974137071)*2)/2
you can find it in .aia

Group is use for you to sort your file's with some criterion of your choice

I hope you will enjoy.

Mp3Tags.aix (16,6 Ko)
Mp3Tags_v3.aia (86,3 Ko)
Mp3Tags.txt (7,1 Ko) (Source code)

1 Like