LightMP3 PSP: Difference between revisions

From GameBrew
(Created page with "{{Infobox PSP homebrew | title = LightMP3 | image = https://dlhb.gamebrew.org/psphomebrew/LightMP3.jpg|250px | type = Media players | version = v2.0.0 RC4 661 | licence = Mixe...")
 
m (Text replacement - "Category:PSP homebrew applications" to "")
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox PSP homebrew
{{#seo:
| title = LightMP3
|title=PSP Homebrew Apps (Media players) - GameBrew
| image = https://dlhb.gamebrew.org/psphomebrew/LightMP3.jpg|250px
|title_mode=append
| type = Media players
|keywords=PSP Homebrew Apps, PSP media players
| version = v2.0.0 RC4 661
|image_alt=LightMP3
| licence = Mixed
}}
| author = sakya
{{Infobox PSP Homebrews
| website = https://github.com/ErikPshat/lightmp3
|title=LightMP3
| download = https://dlhb.gamebrew.org/psphomebrew/LightMP3.rar
|image=lightmp3.jpg
| source = https://github.com/ErikPshat/lightmp3
|description=A MP3/OGG Vorbis/FLAC/Atrac3+/WMA player designed to drain little energy from your battery.
|author=sakya, ErikPshat
|lastupdated=2017/05/03
|type=Media Players
|version=2.0.0 RC4 661
|license=Mixed
|download=https://dlhb.gamebrew.org/psphomebrew/lightmp3.7z
|website=https://github.com/ErikPshat/lightmp3
|source=https://github.com/ErikPshat/lightmp3
}}
}}
<youtube>jRE4VqvCExc</youtube>
LightMP3 is a MP3/OGG Vorbis/FLAC/Atrac3+/WMA player designed to drain little energy from your battery.
LightMP3 is a MP3/OGG Vorbis/FLAC/Atrac3+/WMA player designed to drain little energy from your battery.


It can decode MP3 and ATRAC3+ via Media Engine with CPU set at 20Mhz, OGG Vorbis with CPU set at 50Mhz, MP3 via libMAD with CPU set at 70Mhz, FLAC with CPU set at 100Mhz.
It can decode MP3 and ATRAC3+ via Media Engine with CPU set at 20Mhz, OGG Vorbis with CPU set at 50Mhz, MP3 via libMAD with CPU set at 70Mhz, FLAC with CPU set at 100Mhz. With battery at 100% and display set to minimum brightness it should last 9 hours; display turned off it should last more than 11 hours.


With battery at 100% and display set to minimum brightness it should last 9 hours; display turned off it should last more than 11 hours.
Originally developed by sakya and this is an updated version by ErikPshat to add support for FW 6.xx.


It was submitted to the Neo Spring Coding Compo 2008 (PSP Applications, 2nd place).
LightMP3 Version 2.0.0 BETA 1 was submitted to the Neo Spring Coding Compo 2008 (PSP Applications, 2nd place).


Features
==Features==
- Bookmark function for audiobook.
* Bookmark function for audiobook.
- Skinnable and multilanguage (English, Italian, Portuguese, French, Polish, Dutch).
* Skinnable and multilanguage (English, Italian, Portuguese, French, Polish, Dutch).
- Support for kernel 3.x and Slim&Light.
* Support for kernel 3.x and Slim&Light.
- Support for MP3, OGG Vorbis, ATRAC3+ (AA3, OMG, OMA), FLAC, WMA.
* Support for MP3, OGG Vorbis, ATRAC3+ (AA3, OMG, OMA), FLAC, WMA.
- File browser.
* File browser.
- Support for m3u playlist.
* Support for m3u playlist.
- Playlist Editor.
* Playlist Editor.
- Retrieve track's information from ID3v1/ID3v2 or Vorbis Comments.
* Retrieve track's information from ID3v1/ID3v2 or Vorbis Comments.
- Coverart retrieved from ID3v2 (only MP3) [image formats: jpeg, png].
* Coverart retrieved from ID3v2 (only MP3) [image formats: jpeg, png].
- Works with remote controller.
* Works with remote controller.
- Playing mode: Normal, Repeat Track, Repeat All, Shuffle, Shuffle/Repeat.
* Playing mode: Normal, Repeat Track, Repeat All, Shuffle, Shuffle/Repeat.
- Equalizers (only for MP3 played via libMAD).
* Equalizers (only for MP3 played via libMAD).
- Audioscrobbler log (you can upload your log to your last.fm's account with this page http://paulstead.com/scrob/).
* Audioscrobbler log (you can upload your log to your last.fm's account with [http://paulstead.com/scrob this page].
- Sleep mode (the PSP will shutdown automatically at the end of a track or directory/playlist).
* Sleep mode (the PSP will shutdown automatically at the end of a track or directory/playlist).
- Media Library: scan your ms for media and then browse them by Artist, Album, Genre or make your search.
* Media Library: scan your ms for media and then browse them by Artist, Album, Genre or make your search.


Installation
==Installation==
===Installing===
Copy the LightMP3 directory under either one of the following path depending on your Custom Firmware.
Copy the LightMP3 directory under either one of the following path depending on your Custom Firmware.
 
* ms0:/PSP/GAME3xx/
ms0:/PSP/GAME3xx/
* ms0:/PSP/GAME4XX/
ms0:/PSP/GAME4XX/
* ms0:/PSP/GAME5XX/
ms0:/PSP/GAME5XX/


The src directory contains source code that is not required to run the application.
The src directory contains source code that is not required to run the application.


Note on CPU Clock:
Please note that default CPU clocks are higher than it needs. This is because if you have some plugins running you can encounter problems due to CPU clock too low. If you don't have any cpu-hungry plugin running try to set the clock with the following values.
Please note that default CPU clocks are higher than it needs. This is because if you have some plugins running you can encounter problems due to CPU clock too low. If you don't have any cpu-hungry plugin running try to set the clock with the following values.


MP3 with libMad = 65
MP3 with libMad = 65
MP3 with Media Engine = 19
MP3 with Media Engine = 19
OGG Vorbis = 45
OGG Vorbis = 45
Atrac3+ = 19
Atrac3+ = 19
WMA = 19
WMA = 19
 
===Dependencies===
To compile LightMP3 you will need the following.
* OldSchool Library MOD (OSLib MOD).
* libMad.
* libTremor.
* libFLAC (built without OGG support).
* SQLite3.


User guide
==User guide==
Volume Boost:
===Volume Boost===
Please note that by using volume boost (DPAD UP while listening to a track) to raise too much the volume you can damage the PSP speakers. Use it at your own risk.
Please note that by using volume boost (DPAD UP while listening to a track) to raise too much the volume you can damage the PSP speakers. Use it at your own risk.


Libmad Equalizers:
===Libmad Equalizers===
Equalizer works only with MP3s played through libMAD! If you want to add your own preset or change the standard ones you have to edit the file equalizers.
Equalizer works only with MP3s played through libMAD. If you want to add your own preset or change the standard ones you have to edit the file equalizers.
- This file contains one row for each preset.
* This file contains one row for each preset.
- Every row contains 34 columns separated by ";".
* Every row contains 34 columns separated by ";".
- The first column is the equalizer's long name.
* The first column is the equalizer's long name.
- The second column is the equalizer's short name.
* The second column is the equalizer's short name.
- Then 32 columns with the equalizer's values (in dB).
* Then 32 columns with the equalizer's values (in dB).  
**Example: User EQ n.1;U1;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;


User EQ n.1;U1;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;
===Audioscrobbler Log===
LightMP3 can save a .scrobbler.log file that you can then upload to your [http://www.last.fm last.fm] account.  


Audioscrobbler Log:
This feature is disabled by default. To enable scrobbler go to the options screen.
LightMP3 can save a .scrobbler.log file that you can then upload to your last.fm account (http://www.last.fm). This feature is disabled by default. To enable scrobbler go to the options screen.


Coverart:
===Coverart===
LightMP3 will look for cover with any of the following conditions.
LightMP3 will look for cover with any of the following conditions.
- In ID3v2 info (only for MP3 files).
* In ID3v2 info (only for MP3 files).
- For a file named like the file + JPG (e.g. fileName.mp3 -> fileName.mp3.jpg).
* For a file named like the file + JPG (e.g. fileName.mp3 -> fileName.mp3.jpg).
- For a file named as the album title (from ID3 info) with JPG extension (e.g. Album Title.jpg).
* For a file named as the album title (from ID3 info) with JPG extension (e.g. Album Title.jpg).
- For a file folder.jpg in the same directory.
* For a file folder.jpg in the same directory.
- For a file named cover.jpg in the same directory.
* For a file named cover.jpg in the same directory.
 
===Media Library===
You can choose the media library root directory (the directory that will be scanned when you choose Scan MS for media).  


Media Library:
Open the settings file and change the below settings.
You can choose the media library root directory (the directory that will be scanned when you choose Scan MS for media). Open the settings file and change the below settings.


ML_ROOT=ms0:/
ML_ROOT=ms0:/
to
to
ML_ROOT=ms0:/MUSIC/
ML_ROOT=ms0:/MUSIC/


Bookmarks:
===Bookmarks===
You can create a bookmark while listening to a track. It also quits the application, the next time you start the player will ask if you want to load the saved bookmark. Once loaded, the bookmark will be deleted.
You can create a bookmark while listening to a track. It also quits the application, the next time you start the player will ask if you want to load the saved bookmark. Once loaded, the bookmark will be deleted.


If you want the application to shut down after creating a bookmark edit the settings file as follows.
If you want the application to shut down after creating a bookmark edit the settings file as follows.


SHUTDOWN_AFTER_BOOKMARK=0
SHUTDOWN_AFTER_BOOKMARK=0
to
to
SHUTDOWN_AFTER_BOOKMARK=1
SHUTDOWN_AFTER_BOOKMARK=1


Starting Tab:
===Starting Tab===
You can choose the starting tab by changing the setting START_TAB. There's no setting in the setting tab for this, so you'll have to manually modify the settings file.
You can choose the starting tab by changing the setting START_TAB. There's no setting in the setting tab for this, so you'll have to manually modify the settings file.


START_TAB possible values.
START_TAB possible values.
0 = File browser
0 = File browser
1 = Playlist
1 = Playlist
2 = Playlist editor
2 = Playlist editor
3 = Media Library
3 = Media Library
4 = Settings
4 = Settings
 
===Skin and Language===
LightMP3 is totally skinnable. More skins are available from the [http://sakya.altervista.org/new/index.php?mod=none_lightmp3skins&view=list developer's webpage].
 
Note for Korean or Japanese, you must have flash0:/font/kr0.pgf or flash0:/font/jpn0.pgf (not all PSP has these 2 fonts). Follow these steps to use.
* Set in the setting tab the default_KOR or default_JPN skin.
* Set in the setting tab the Korean language or Japanese language.


Dependencies:
==Controls==
To compile LightMP3 you will need the following.
'''General:'''
- OldSchool Library MOD (OSLib MOD).
- libMad.
- libTremor.
- libFLAC (built without OGG support).
- SQLite3.


Skin:
L/R - Previous/next function
LightMP3 is totally skinnable. More skins are available from the developer's webpage.


Language:
L+R - Show help
Note for Korean or Japanese, you must have flash0:/font/kr0.pgf or flash0:/font/jpn0.pgf (not all PSP has these 2 fonts). Follow these steps to use.
- Set in the setting tab the default_KOR or default_JPN skin.
- Set in the setting tab the Korean language or Japanese language.


Controls
'''File Browser:'''
General:
L-Trigger - Previous function
R-Trigger - Next function
L-Trigger+R-Trigger - Show help


File Browser:
Cross - Enter directory/play file
Cross - Enter directory/play file
Square - Play directory
Square - Play directory
Circle - Go up one level
Circle - Go up one level
Start - Add directory/file to current playlist
Start - Add directory/file to current playlist
Select - Toggle USB mode
Select - Toggle USB mode


Playlist Browser:
'''Playlist Browser:'''
 
Cross - Play selected playlist
Cross - Play selected playlist
Square - Load selected playlist
Square - Load selected playlist
Circle - Remove selected playlist
Circle - Remove selected playlist
Start - Add selected playlist to current one
Start - Add selected playlist to current one


Playlist Editor:
'''Playlist Editor:'''
 
Cross - Move selected track down
Cross - Move selected track down
Square - Move selected track up
Square - Move selected track up
Circle - Remove selected track from playlist
Circle - Remove selected track from playlist
Triangle - To check files (removes dead links)
Triangle - To check files (removes dead links)
Note - Play playlist
Note - Play playlist
Start - Save playlist
Start - Save playlist
Select - Clear playlist
Select - Clear playlist


Media Library:
'''Media Library:'''
 
Cross - Enter selection (genre/artist...)
Cross - Enter selection (genre/artist...)
Circle - Exit selection
Circle - Exit selection
Square - Play selection
Square - Play selection
Start - Add selection to current playlist
Start - Add selection to current playlist
Triangle - Sort tracks
Triangle - Sort tracks


Player:
'''Player:'''
 
Cross - Pause/Resume
Cross - Pause/Resume
Circle - Stop
Circle - Stop
R-Trigger - Next track
 
L-Trigger - Previous track
R/L - Next/previous track
 
Triangle - Change sleep mode
Triangle - Change sleep mode
Start - Toggle economy mode (display off)
Start - Toggle economy mode (display off)
Select - Change play mode
Select - Change play mode
D-Pad Up - Raise volume boost
 
D-Pad Down - Lower volume boost
D-Pad Up/Down - Raise/lower volume boost
Analog Up - Raise CPU clock
 
Analog Down - Lower CPU clock
Analog Up/Down - Raise/lower CPU clock
 
Note - Change equalizer (if supported)
Note - Change equalizer (if supported)
Cross+D-Pad Up - Raise track rating
Cross+D-Pad Up - Raise track rating
Cross+D-Pad Down - Lower track rating
Cross+D-Pad Down - Lower track rating
L-Trigger+Circle - Create a bookmark and exit (or shut down, see the settings file)


Changelog
L+Circle - Create a bookmark and exit (or shut down, see the settings file)
Version 2.0.0 RC4 661
==Screenshots==
- Added: Support for 6.20/6.35/6.39/6.60/6.61 (by ErikPshat).
https://dlhb.gamebrew.org/psphomebrew/lightmp32.png
- Source code: https://github.com/ErikPshat/lightmp3
 
https://dlhb.gamebrew.org/psphomebrew/lightmp33.png
 
==Media==
'''How To Get LightMp3 On Your Psp''' ([https://www.youtube.com/watch?v=jRE4VqvCExc superwackythings]) <br>
<youtube>jRE4VqvCExc</youtube>
 
==Changelog==
'''Version 2.0.0 RC4 661/RC6''' (by ErikPshat)
* Added: Support for 6.20/6.35/6.39/6.60/6.61.


Version 2.0.0 RC5
'''Version 2.0.0 RC5'''
- Added: Support for AAC.
* Added: Support for AAC.
- Fixed: Crash using Japanese language and skin.
* Fixed: Crash using Japanese language and skin.
- Fixed: tags were not read on some FLAC files.
* Fixed: tags were not read on some FLAC files.
- Fixed: some input bugs (like: pressing note in the playlist editor also changed the equalizer).
* Fixed: some input bugs (like: pressing note in the playlist editor also changed the equalizer).
- Fixed: entering a genre in the media library will show an album list (and not a songlist).
* Fixed: entering a genre in the media library will show an album list (and not a songlist).


Version 2.0.0 RC4
'''Version 2.0.0 RC4''' (by Sakya)
- Added: Scrolling text when string is too long in all menues and song title.
* Added: Scrolling text when string is too long in all menues and song title.
- Added: Setting to choose the tab to start from (START_TAB) Values:
* Added: Setting to choose the tab to start from (START_TAB) Values:
-- 0 = File browser.
** 0 = File browser.
-- 1 = Playlist.
** 1 = Playlist.
-- 2 = Playlist editor.
** 2 = Playlist editor.
-- 3 = Media Library.
** 3 = Media Library.
-- 4 = Settings.
** 4 = Settings.
- Added: Total number of frames red from Xing frame (faster opening of VBR MP3 file, if Xing is found).
* Added: Total number of frames red from Xing frame (faster opening of VBR MP3 file, if Xing is found).
- Fixed: Crash when seeking FLAC files.
* Fixed: Crash when seeking FLAC files.
- Fixed: Navigation in the Media Library (when pressing circle you'll be taken to the previous selection, not to the main menu).
* Fixed: Navigation in the Media Library (when pressing circle you'll be taken to the previous selection, not to the main menu).
- Fixed: Added setting to set CPU clock for WMA.
* Fixed: Added setting to set CPU clock for WMA.
- Fixed: Track restart when pressing L on WMA, FLAC, ATRAC3(+), MP3 when played with libMad.
* Fixed: Track restart when pressing L on WMA, FLAC, ATRAC3(+), MP3 when played with libMad.
- Fixed: Suspend and resume for WMA.
* Fixed: Suspend and resume for WMA.
- Fixed: Changed the default setting to play MP3 with Media Engine.
* Fixed: Changed the default setting to play MP3 with Media Engine.
- Fixed: X/O button swap (please note that help screen will always say X=Confirm, O=Cancel, I din't changed it).
* Fixed: X/O button swap (please note that help screen will always say X=Confirm, O=Cancel, I din't changed it).
- Fixed: Bug when creating playlist from Media Library (the first 500 tracks were repeated).
* Fixed: Bug when creating playlist from Media Library (the first 500 tracks were repeated).


Version 2.0.0 RC3
'''Version 2.0.0 RC3''' (by Sakya)
- Added: When pressing L the song will restart if more than 2% has been played.
* Added: When pressing L the song will restart if more than 2% has been played.
- Added: support for relative path in playlists.
* Added: support for relative path in playlists.
- Added: support for WMA (Windows Media Audio) Many thanks to cooleyes and hrimfaxi for the sample.
* Added: support for WMA (Windows Media Audio) Many thanks to cooleyes and hrimfaxi for the sample.
- Added: "Sleep Timer" feature (kurian2z5).
* Added: "Sleep Timer" feature (kurian2z5).
- Fixed: standardized the fast forward/rewind speed for the different codecs (kurian2z5).
* Fixed: standardized the fast forward/rewind speed for the different codecs (kurian2z5).
- Fixed: Conflict with Hold+ (kurian2z5) Added a setting to disable the "display off on hold". If you use Hold+ please disable this in LightMP3.
* Fixed: Conflict with Hold+ (kurian2z5) Added a setting to disable the "display off on hold". If you use Hold+ please disable this in LightMP3.


Version 2.0.0 RC2
'''Version 2.0.0 RC2''' (by Sakya)
- Added: Bookmark function (for audiobook): press L+Circle while listening to a track.
* Added: Bookmark function (for audiobook): press L+Circle while listening to a track.
- There's a new option in the settings file:
* There's a new option in the settings file:
-- SHUTDOWN_AFTER_BOOKMARK=0.
** SHUTDOWN_AFTER_BOOKMARK=0.
-- The default is 0, if set to 1 the PSP will shut down after creating a bookmark.
** The default is 0, if set to 1 the PSP will shut down after creating a bookmark.
-- The next time you'll start LightMP3 will ask you if you want to load the saved bookmark.
** The next time you'll start LightMP3 will ask you if you want to load the saved bookmark.
- Fixed: Korean language support.
* Fixed: Korean language support.
- Fixed: shuffle (always the same number were generated in RC1).
* Fixed: shuffle (always the same number were generated in RC1).
- Fixed: Added sql transaction to playPlaylist (faster change of track).
* Fixed: Added sql transaction to playPlaylist (faster change of track).
- Fixed: Bug in ID3v2.2 parsing.
* Fixed: Bug in ID3v2.2 parsing.
- Fixed: Bug in scrobbler log (time saved to file was the end of the track).
* Fixed: Bug in scrobbler log (time saved to file was the end of the track).


Version 2.0.0 RC1
'''Version 2.0.0 RC1''' (by Sakya)
- Added: You can sort records in the Media Library (press TRIANGLE).
* Added: You can sort records in the Media Library (press TRIANGLE).
- Added: support for filename with foreign characters (��.) Many thanks to cooleyes for the FAT driver.
* Added: support for filename with foreign characters (àèìòù...) Many thanks to cooleyes for the FAT driver.
- Added: CPU clock set to minimum value when music is paused.
* Added: CPU clock set to minimum value when music is paused.
- Added: French, German, Polish, Spanish language.
* Added: French, German, Polish, Spanish language.
- Added: Smoother progress bar.
* Added: Smoother progress bar.
- Added: Icons for folder/music in file browser and media library.
* Added: Icons for folder/music in file browser and media library.
- Added: New ICON0.PNG and PIC1.PNG (many thanks to dario1crisafulli).
* Added: New ICON0.PNG and PIC1.PNG (many thanks to dario1crisafulli).
- Added: Display will turn off when HOLD is set to ON, and will turn on when HOLD is set to off.
* Added: Display will turn off when HOLD is set to ON, and will turn on when HOLD is set to off.
- Added: In Media Library when you select an artist you see an album's list (not a song list).
* Added: In Media Library when you select an artist you see an album's list (not a song list).
- Added: You can add a playlist to the current one by pressing start in the file browser (or square on the directory containing the playlist).
* Added: You can add a playlist to the current one by pressing start in the file browser (or square on the directory containing the playlist).
- Added: Option to change the media library root dir (look at the file "settings", this option doesen't appear in the settings tab).
* Added: Option to change the media library root dir (look at the file "settings", this option doesen't appear in the settings tab).
- Fixed: Crash with some album art (switched to libjpeg, thanks to Kevin Kim).
* Fixed: Crash with some album art (switched to libjpeg, thanks to Kevin Kim).
- Fixed: Better Korean support (thanks to Kevin Kim).
* Fixed: Better Korean support (thanks to Kevin Kim).
- Fixed: Strings are limited inside the menu area.
* Fixed: Strings are limited inside the menu area.
- Fixed: Sleep bug for MP3 and ATRAC3+ files (doesen't work with OGG).
* Fixed: Sleep bug for MP3 and ATRAC3+ files (doesen't work with OGG).
- Fixed: Some crash in the Media Library.
* Fixed: Some crash in the Media Library.
- Fixed: Bug in audioscrobbler log (wrong UTC time).
* Fixed: Bug in audioscrobbler log (wrong UTC time).


Version 2.0.0 BETA2
'''Version 2.0.0 BETA2''' (by Sakya)
- Added: Switched to OSLib MOD, now supports intraFont.
* Added: Switched to OSLib MOD, now supports intraFont.
- Added: New skin system (now all the elements can be moved, see skin.cfg) Font is defined in the skin.cfg file.
* Added: New skin system (now all the elements can be moved, see skin.cfg) Font is defined in the skin.cfg file.
- Added: In the Media Library you can play a track pressing CROSS (like in the file browser).
* Added: In the Media Library you can play a track pressing CROSS (like in the file browser).
- Added: You can rate your tracks in the Media Library (CROSS + DPAD UP/DOWN).
* Added: You can rate your tracks in the Media Library (CROSS + DPAD UP/DOWN).
- Added: english, italian, portuguese, russian language. Many thanks to fabiom, coach777, Magic PSP.
* Added: english, italian, portuguese, russian language. Many thanks to fabiom, coach777, Magic PSP.
- Added: help (press L + R).
* Added: help (press L + R).
- Added: you can add selected playlist to the current one (press START in the playlist browser).
* Added: you can add selected playlist to the current one (press START in the playlist browser).
- Added: Directories are marked with a leading "/" in the file browser.
* Added: Directories are marked with a leading "/" in the file browser.
- Added: You can check a playlist with triangle (removes dead-links).
* Added: You can check a playlist with triangle (removes dead-links).
- Added: option for keys autorepeat interval.
* Added: option for keys autorepeat interval.
- Added: "Top 100" in media library.
* Added: "Top 100" in media library.
- Added: Option to enable/disable splash screen.
* Added: Option to enable/disable splash screen.
- Added: "Borwse All" in media library.
* Added: "Borwse All" in media library.
- Added: Cover displayed in file browser and in Media Library (stay 0.5 seconds on an item). Works only with folder.jpg and cover.jpg (doesen't read coverart from ID3v2).
* Added: Cover displayed in file browser and in Media Library (stay 0.5 seconds on an item). Works only with folder.jpg and cover.jpg (doesen't read coverart from ID3v2).
- Added: Display now fades in and out when you toggle economy mode.
* Added: Display now fades in and out when you toggle economy mode.
- Added: Music pause if you remove the headphones while listening to a track.
* Added: Music pause if you remove the headphones while listening to a track.
- Fixed: Playback of mono MP3 using libMAD.
* Fixed: Playback of mono MP3 using libMAD.
- Fixed: Faster navigation between functions.
* Fixed: Faster navigation between functions.
- Fixed: crash in playlist editor when press UP, RIGHT or NOTE on an empty list.
* Fixed: crash in playlist editor when press UP, RIGHT or NOTE on an empty list.
- Fixed: stop FLAC playback.
* Fixed: stop FLAC playback.
- Fixed: Analog was working also in HOLD.
* Fixed: Analog was working also in HOLD.
- Fixed: Minor bugs.
* Fixed: Minor bugs.


Version 2.0.0 BETA1
'''Version 2.0.0 BETA1''' (by Sakya)
- *libMAD is now streamed, no more file size limit (based on Ghoti MusicEngine.c in pspStacklessPython).
* libMAD is now streamed, no more file size limit (based on Ghoti MusicEngine.c in pspStacklessPython).
- *Added FFWD and REW to libMAD.
* Added FFWD and REW to libMAD.
- *Added volume boost to ATRAC3/ATRAC3+ format.
* Added volume boost to ATRAC3/ATRAC3+ format.
- *Added volume boost to MP3 format via Media Engine.
* Added volume boost to MP3 format via Media Engine.
- Added "Browse dy rating" in Media Library.
* Added "Browse dy rating" in Media Library.
- Added: Coverart from folder.jpg and albumTitle.jpg.
* Added: Coverart from folder.jpg and albumTitle.jpg.
- Fixed: USB connection.
* Fixed: USB connection.
- Fixed button autorepeat time.
* Fixed button autorepeat time.
- *Fixed many crash (hopefully).
* Fixed many crash (hopefully).
- Fixed minor bugs.
* Fixed minor bugs.
* = version 1.8.0
* = version 1.8.0.


Credits
==Credits==
sturatt for the original ID3v1 tag code.
* sturatt for the original ID3v1 tag code.
John_K for the original mp3player.c and mp3player.h.
* John_K for the original mp3player.c and mp3player.h.
Smerity for his audio tutorial.
* Smerity for his audio tutorial.
crazyc for his useful patch.
* crazyc for his useful patch.
John_K & adresd (PSPMediaCenter authors).
* John_K & adresd (PSPMediaCenter authors).
Xart for the original ID3v2 tag code.
* Xart for the original ID3v2 tag code.
joek2100 for the Media Engine functions (taken from Music prx 0.55 and adapted).
* joek2100 for the Media Engine functions (taken from Music prx 0.55 and adapted).
JLF65 for the FLAC playback function and testing.
* JLF65 for the FLAC playback function and testing.
Ghoti for the libMad streaming code.
* Ghoti for the libMad streaming code.
fabiom, borgqueenx, Mizou93, coach777, Magic PSP for tanslations.
* fabiom, borgqueenx, Mizou93, coach777, Magic PSP for tanslations.
nextos for help with unicode and libiconv.
* nextos for help with unicode and libiconv.
cooleyes for the fat driver.
* cooleyes for the fat driver.
dario1crisafulli for the skins, ICON0 and PIC1 images.
* dario1crisafulli for the skins, ICON0 and PIC1 images.
Kevin Kim for his work for better Korean language support and other fixes/improvements.
* Kevin Kim for his work for better Korean language support and other fixes/improvements.
cooleyes and hrimfaxi for the WMA decode sample.
* cooleyes and hrimfaxi for the WMA decode sample.


References
==External links==
Author's webpage, http://sakya.altervista.org/new/index.php?mod=none_lightmp3
* Author's website (sakya) - http://sakya.altervista.org/new/index.php?mod=none_lightmp3
GitHub, https://github.com/ErikPshat/lightmp3
* Google Code (sakya) - https://code.google.com/archive/p/lightmp3
NeoFlash, https://www.neoflash.com/forum/index.php?topic=4970.0
* NeoFlash (sakya), https://www.neoflash.com/forum/index.php?topic=4970.0
Wololo, https://wololo.net/talk/viewtopic.php?t=48108
* GitHub (ErikPshat) - https://github.com/ErikPshat/lightmp3
* Wololo (ErikPshat) - https://wololo.net/talk/viewtopic.php?t=48108

Latest revision as of 10:57, 8 May 2024

LightMP3
Lightmp3.jpg
General
Authorsakya, ErikPshat
TypeMedia Players
Version2.0.0 RC4 661
LicenseMixed
Last Updated2017/05/03
Links
Download
Website
Source

LightMP3 is a MP3/OGG Vorbis/FLAC/Atrac3+/WMA player designed to drain little energy from your battery.

It can decode MP3 and ATRAC3+ via Media Engine with CPU set at 20Mhz, OGG Vorbis with CPU set at 50Mhz, MP3 via libMAD with CPU set at 70Mhz, FLAC with CPU set at 100Mhz. With battery at 100% and display set to minimum brightness it should last 9 hours; display turned off it should last more than 11 hours.

Originally developed by sakya and this is an updated version by ErikPshat to add support for FW 6.xx.

LightMP3 Version 2.0.0 BETA 1 was submitted to the Neo Spring Coding Compo 2008 (PSP Applications, 2nd place).

Features

  • Bookmark function for audiobook.
  • Skinnable and multilanguage (English, Italian, Portuguese, French, Polish, Dutch).
  • Support for kernel 3.x and Slim&Light.
  • Support for MP3, OGG Vorbis, ATRAC3+ (AA3, OMG, OMA), FLAC, WMA.
  • File browser.
  • Support for m3u playlist.
  • Playlist Editor.
  • Retrieve track's information from ID3v1/ID3v2 or Vorbis Comments.
  • Coverart retrieved from ID3v2 (only MP3) [image formats: jpeg, png].
  • Works with remote controller.
  • Playing mode: Normal, Repeat Track, Repeat All, Shuffle, Shuffle/Repeat.
  • Equalizers (only for MP3 played via libMAD).
  • Audioscrobbler log (you can upload your log to your last.fm's account with this page.
  • Sleep mode (the PSP will shutdown automatically at the end of a track or directory/playlist).
  • Media Library: scan your ms for media and then browse them by Artist, Album, Genre or make your search.

Installation

Installing

Copy the LightMP3 directory under either one of the following path depending on your Custom Firmware.

  • ms0:/PSP/GAME3xx/
  • ms0:/PSP/GAME4XX/
  • ms0:/PSP/GAME5XX/

The src directory contains source code that is not required to run the application.

Please note that default CPU clocks are higher than it needs. This is because if you have some plugins running you can encounter problems due to CPU clock too low. If you don't have any cpu-hungry plugin running try to set the clock with the following values.

MP3 with libMad = 65
MP3 with Media Engine = 19
OGG Vorbis = 45
Atrac3+ = 19
WMA = 19

Dependencies

To compile LightMP3 you will need the following.

  • OldSchool Library MOD (OSLib MOD).
  • libMad.
  • libTremor.
  • libFLAC (built without OGG support).
  • SQLite3.

User guide

Volume Boost

Please note that by using volume boost (DPAD UP while listening to a track) to raise too much the volume you can damage the PSP speakers. Use it at your own risk.

Libmad Equalizers

Equalizer works only with MP3s played through libMAD. If you want to add your own preset or change the standard ones you have to edit the file equalizers.

  • This file contains one row for each preset.
  • Every row contains 34 columns separated by ";".
  • The first column is the equalizer's long name.
  • The second column is the equalizer's short name.
  • Then 32 columns with the equalizer's values (in dB).
    • Example: User EQ n.1;U1;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;0.0;

Audioscrobbler Log

LightMP3 can save a .scrobbler.log file that you can then upload to your last.fm account.

This feature is disabled by default. To enable scrobbler go to the options screen.

Coverart

LightMP3 will look for cover with any of the following conditions.

  • In ID3v2 info (only for MP3 files).
  • For a file named like the file + JPG (e.g. fileName.mp3 -> fileName.mp3.jpg).
  • For a file named as the album title (from ID3 info) with JPG extension (e.g. Album Title.jpg).
  • For a file folder.jpg in the same directory.
  • For a file named cover.jpg in the same directory.

Media Library

You can choose the media library root directory (the directory that will be scanned when you choose Scan MS for media).

Open the settings file and change the below settings.

ML_ROOT=ms0:/
to
ML_ROOT=ms0:/MUSIC/

Bookmarks

You can create a bookmark while listening to a track. It also quits the application, the next time you start the player will ask if you want to load the saved bookmark. Once loaded, the bookmark will be deleted.

If you want the application to shut down after creating a bookmark edit the settings file as follows.

SHUTDOWN_AFTER_BOOKMARK=0
to
SHUTDOWN_AFTER_BOOKMARK=1

Starting Tab

You can choose the starting tab by changing the setting START_TAB. There's no setting in the setting tab for this, so you'll have to manually modify the settings file.

START_TAB possible values.

0 = File browser
1 = Playlist
2 = Playlist editor
3 = Media Library
4 = Settings

Skin and Language

LightMP3 is totally skinnable. More skins are available from the developer's webpage.

Note for Korean or Japanese, you must have flash0:/font/kr0.pgf or flash0:/font/jpn0.pgf (not all PSP has these 2 fonts). Follow these steps to use.

  • Set in the setting tab the default_KOR or default_JPN skin.
  • Set in the setting tab the Korean language or Japanese language.

Controls

General:

L/R - Previous/next function

L+R - Show help

File Browser:

Cross - Enter directory/play file

Square - Play directory

Circle - Go up one level

Start - Add directory/file to current playlist

Select - Toggle USB mode

Playlist Browser:

Cross - Play selected playlist

Square - Load selected playlist

Circle - Remove selected playlist

Start - Add selected playlist to current one

Playlist Editor:

Cross - Move selected track down

Square - Move selected track up

Circle - Remove selected track from playlist

Triangle - To check files (removes dead links)

Note - Play playlist

Start - Save playlist

Select - Clear playlist

Media Library:

Cross - Enter selection (genre/artist...)

Circle - Exit selection

Square - Play selection

Start - Add selection to current playlist

Triangle - Sort tracks

Player:

Cross - Pause/Resume

Circle - Stop

R/L - Next/previous track

Triangle - Change sleep mode

Start - Toggle economy mode (display off)

Select - Change play mode

D-Pad Up/Down - Raise/lower volume boost

Analog Up/Down - Raise/lower CPU clock

Note - Change equalizer (if supported)

Cross+D-Pad Up - Raise track rating

Cross+D-Pad Down - Lower track rating

L+Circle - Create a bookmark and exit (or shut down, see the settings file)

Screenshots

lightmp32.png

lightmp33.png

Media

How To Get LightMp3 On Your Psp (superwackythings)

Changelog

Version 2.0.0 RC4 661/RC6 (by ErikPshat)

  • Added: Support for 6.20/6.35/6.39/6.60/6.61.

Version 2.0.0 RC5

  • Added: Support for AAC.
  • Fixed: Crash using Japanese language and skin.
  • Fixed: tags were not read on some FLAC files.
  • Fixed: some input bugs (like: pressing note in the playlist editor also changed the equalizer).
  • Fixed: entering a genre in the media library will show an album list (and not a songlist).

Version 2.0.0 RC4 (by Sakya)

  • Added: Scrolling text when string is too long in all menues and song title.
  • Added: Setting to choose the tab to start from (START_TAB) Values:
    • 0 = File browser.
    • 1 = Playlist.
    • 2 = Playlist editor.
    • 3 = Media Library.
    • 4 = Settings.
  • Added: Total number of frames red from Xing frame (faster opening of VBR MP3 file, if Xing is found).
  • Fixed: Crash when seeking FLAC files.
  • Fixed: Navigation in the Media Library (when pressing circle you'll be taken to the previous selection, not to the main menu).
  • Fixed: Added setting to set CPU clock for WMA.
  • Fixed: Track restart when pressing L on WMA, FLAC, ATRAC3(+), MP3 when played with libMad.
  • Fixed: Suspend and resume for WMA.
  • Fixed: Changed the default setting to play MP3 with Media Engine.
  • Fixed: X/O button swap (please note that help screen will always say X=Confirm, O=Cancel, I din't changed it).
  • Fixed: Bug when creating playlist from Media Library (the first 500 tracks were repeated).

Version 2.0.0 RC3 (by Sakya)

  • Added: When pressing L the song will restart if more than 2% has been played.
  • Added: support for relative path in playlists.
  • Added: support for WMA (Windows Media Audio) Many thanks to cooleyes and hrimfaxi for the sample.
  • Added: "Sleep Timer" feature (kurian2z5).
  • Fixed: standardized the fast forward/rewind speed for the different codecs (kurian2z5).
  • Fixed: Conflict with Hold+ (kurian2z5) Added a setting to disable the "display off on hold". If you use Hold+ please disable this in LightMP3.

Version 2.0.0 RC2 (by Sakya)

  • Added: Bookmark function (for audiobook): press L+Circle while listening to a track.
  • There's a new option in the settings file:
    • SHUTDOWN_AFTER_BOOKMARK=0.
    • The default is 0, if set to 1 the PSP will shut down after creating a bookmark.
    • The next time you'll start LightMP3 will ask you if you want to load the saved bookmark.
  • Fixed: Korean language support.
  • Fixed: shuffle (always the same number were generated in RC1).
  • Fixed: Added sql transaction to playPlaylist (faster change of track).
  • Fixed: Bug in ID3v2.2 parsing.
  • Fixed: Bug in scrobbler log (time saved to file was the end of the track).

Version 2.0.0 RC1 (by Sakya)

  • Added: You can sort records in the Media Library (press TRIANGLE).
  • Added: support for filename with foreign characters (àèìòù...) Many thanks to cooleyes for the FAT driver.
  • Added: CPU clock set to minimum value when music is paused.
  • Added: French, German, Polish, Spanish language.
  • Added: Smoother progress bar.
  • Added: Icons for folder/music in file browser and media library.
  • Added: New ICON0.PNG and PIC1.PNG (many thanks to dario1crisafulli).
  • Added: Display will turn off when HOLD is set to ON, and will turn on when HOLD is set to off.
  • Added: In Media Library when you select an artist you see an album's list (not a song list).
  • Added: You can add a playlist to the current one by pressing start in the file browser (or square on the directory containing the playlist).
  • Added: Option to change the media library root dir (look at the file "settings", this option doesen't appear in the settings tab).
  • Fixed: Crash with some album art (switched to libjpeg, thanks to Kevin Kim).
  • Fixed: Better Korean support (thanks to Kevin Kim).
  • Fixed: Strings are limited inside the menu area.
  • Fixed: Sleep bug for MP3 and ATRAC3+ files (doesen't work with OGG).
  • Fixed: Some crash in the Media Library.
  • Fixed: Bug in audioscrobbler log (wrong UTC time).

Version 2.0.0 BETA2 (by Sakya)

  • Added: Switched to OSLib MOD, now supports intraFont.
  • Added: New skin system (now all the elements can be moved, see skin.cfg) Font is defined in the skin.cfg file.
  • Added: In the Media Library you can play a track pressing CROSS (like in the file browser).
  • Added: You can rate your tracks in the Media Library (CROSS + DPAD UP/DOWN).
  • Added: english, italian, portuguese, russian language. Many thanks to fabiom, coach777, Magic PSP.
  • Added: help (press L + R).
  • Added: you can add selected playlist to the current one (press START in the playlist browser).
  • Added: Directories are marked with a leading "/" in the file browser.
  • Added: You can check a playlist with triangle (removes dead-links).
  • Added: option for keys autorepeat interval.
  • Added: "Top 100" in media library.
  • Added: Option to enable/disable splash screen.
  • Added: "Borwse All" in media library.
  • Added: Cover displayed in file browser and in Media Library (stay 0.5 seconds on an item). Works only with folder.jpg and cover.jpg (doesen't read coverart from ID3v2).
  • Added: Display now fades in and out when you toggle economy mode.
  • Added: Music pause if you remove the headphones while listening to a track.
  • Fixed: Playback of mono MP3 using libMAD.
  • Fixed: Faster navigation between functions.
  • Fixed: crash in playlist editor when press UP, RIGHT or NOTE on an empty list.
  • Fixed: stop FLAC playback.
  • Fixed: Analog was working also in HOLD.
  • Fixed: Minor bugs.

Version 2.0.0 BETA1 (by Sakya)

  • libMAD is now streamed, no more file size limit (based on Ghoti MusicEngine.c in pspStacklessPython).
  • Added FFWD and REW to libMAD.
  • Added volume boost to ATRAC3/ATRAC3+ format.
  • Added volume boost to MP3 format via Media Engine.
  • Added "Browse dy rating" in Media Library.
  • Added: Coverart from folder.jpg and albumTitle.jpg.
  • Fixed: USB connection.
  • Fixed button autorepeat time.
  • Fixed many crash (hopefully).
  • Fixed minor bugs.
  • = version 1.8.0.

Credits

  • sturatt for the original ID3v1 tag code.
  • John_K for the original mp3player.c and mp3player.h.
  • Smerity for his audio tutorial.
  • crazyc for his useful patch.
  • John_K & adresd (PSPMediaCenter authors).
  • Xart for the original ID3v2 tag code.
  • joek2100 for the Media Engine functions (taken from Music prx 0.55 and adapted).
  • JLF65 for the FLAC playback function and testing.
  • Ghoti for the libMad streaming code.
  • fabiom, borgqueenx, Mizou93, coach777, Magic PSP for tanslations.
  • nextos for help with unicode and libiconv.
  • cooleyes for the fat driver.
  • dario1crisafulli for the skins, ICON0 and PIC1 images.
  • Kevin Kim for his work for better Korean language support and other fixes/improvements.
  • cooleyes and hrimfaxi for the WMA decode sample.

External links

Advertising: