View previous topic :: View next topic |
Author |
Message |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Sat Oct 12, 2019 12:25 am Post subject: Extracting MP3 Information |
|
|
How to extract some information from mp3, such as size, album pictures, singers and so on, and then display it on the form
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Oct 12, 2019 12:54 am Post subject: |
|
|
It's depending on the mp3 source. How it saved on local disk or online storage.
example to get mp3 file name / song title :
Code: | ...
local pathname, songname = file:match('(.*\\)(.*)%.mp3')
... |
I believe I had a posted about complete 'mp3 player using Lua' here, somewhere in this forum.
EDIT:
Check here : https://forum.cheatengine.org/viewtopic.php?t=607021
Description: |
CRDR CE MP3 Player Ver.5.1 |
|
Filesize: |
51.26 KB |
Viewed: |
4652 Time(s) |

|
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Last edited by Corroder on Sat Oct 12, 2019 1:00 am; edited 1 time in total |
|
Back to top |
|
 |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Sat Oct 12, 2019 12:59 am Post subject: |
|
|
Corroder wrote: | It's depending on the mp3 source. How it saved on local disk or online storage.
example to get mp3 file name / song title :
Code: | ...
local pathname, songname = file:match('(.*\\)(.*)%.mp3')
... |
I believe I had a posted about complete 'mp3 player using lua' here, somewhere in this forum. | Then how to extract file size and MP3 built-in pictures
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Oct 12, 2019 1:02 am Post subject: |
|
|
.lua wrote: | Corroder wrote: | It's depending on the mp3 source. How it saved on local disk or online storage.
example to get mp3 file name / song title :
Code: | ...
local pathname, songname = file:match('(.*\\)(.*)%.mp3')
... |
I believe I had a posted about complete 'mp3 player using lua' here, somewhere in this forum. | Then how to extract file size and MP3 built-in pictures |
Check the given link provided.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Sat Oct 12, 2019 1:13 am Post subject: |
|
|
Corroder wrote: | Check the given link provided. | I've read this article before. Unfortunately, I can't download your CT link.
Can you re-upload CT to my post if it's convenient for you?
And what you mentioned in that article:
On future update (plan) :
- Added 'media seek = fast forward / back'
- Added 'sound visualization'
Have you achieved fast forward and fast backward?
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Oct 12, 2019 4:00 am Post subject: |
|
|
No problem with the link. Also, download links available on a youtube channel.
https://www.youtube.com/watch?v=pwBsDrFQEic
Quote: | And what you mentioned in that article:
On future update (plan) :
- Added 'media seek = fast forward / back'
- Added 'sound visualization'
Have you achieved fast forward and fast backward? |
-- media seek = fast/backward or seek the specific position of mp3 durations.
-- sound visualization = displaying sounds by their channels with graphics.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Sat Oct 12, 2019 4:23 am Post subject: |
|
|
Corroder wrote: | No problem with the link. Also, download links available on a youtube channel.
https://www.youtube.com/watch?v=pwBsDrFQEic
-- media seek = fast/backward or seek the specific position of mp3 durations.
-- sound visualization = displaying sounds by their channels with graphics. | I like your 5.1 version of the player, I think your interface design is very beautiful, can you download a CT link?
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Oct 12, 2019 5:04 am Post subject: |
|
|
Did you mean mega nz links?
You have to select, copy and paste them into browser. Forum script doesn't like ! in URLs.
_________________
|
|
Back to top |
|
 |
.lua Expert Cheater
Reputation: 1
Joined: 13 Sep 2018 Posts: 202
|
Posted: Mon Oct 14, 2019 3:47 am Post subject: |
|
|
mgr.inz.Player wrote: | Did you mean mega nz links?
You have to select, copy and paste them into browser. Forum script doesn't like ! in URLs. | Now I can drag the slider to adjust the playback position of the MP3 player. Code: |
function seekMP3()
if not initializeMP3Player() then return end local P1=2000 --Or slide position * 1000 (depending on your use)
MP3PlayerSendCommand('play MediaFile FROM '..P1..' to '..lengthMP3())
end- |
|
|
Back to top |
|
 |
|