12-03-2006, 07:33 AM | #1 |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Safe and Easy MP3 for your iLiad
Attached you will find some easy launchers, enabling you to play music (or audiobooks!) on your iLiad while reading. As of yet, there is no proper mp3-player (afaik), but this work adequately for me.
Warning: This is an extremely primitive interface. Start the music (in shuffle mode) and go on reading or whatever, or stop the music. No song selection, no title display etc. Prerequisites: As usual, you need 2.7.1 with the execute-.sh extension. Step 1: Gather some nice music or audiobooks, put in _one_ suitable folder (no sub-dirs) e.g. on your CF card. Extract the attached zip-file in the same folder. This means that you should have a folder "A-Play" in your mp3-folder. (My folders can be renamed if you wish, I just called them A-... to make sure they were listed on top). Step 2: On your iLiad, navigate to the mp3 folder. Press "Play", plug in your headset and enjoy. You can navigate and read books as usual. When finished, go back to the folder and select "Stop". Todo: Must add some icons I haven't tried this on any iliads but mine, but I hope it works for everybody. If you try it out, let me know if it works or not. Cudos to the developers that compiled madplay for ARM. See https://www.mobileread.com/forums/showthread.php?t=7186 for more info. |
12-03-2006, 09:26 AM | #2 | |
Groupie
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
|
Thank you, it is nice to have some music now.
BUT... (it seems other people already noticed) I can only hear the left channel !! Henk Quote:
|
|
Advert | |
|
12-03-2006, 09:54 AM | #3 |
Groupie
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
|
MP3 player
To be able to hear the MP3's, I had to switch on the sound on the iLiad (I had switched it off earlier). Now I also hear the clicks for the buttons.
When no headphones are plugged in, the sound is heard through the built-in speaker. Theory: the speaker is using one channel (the left channel) of the sound output, so for the moment only one channel can be switched on, the other is permanently switched off. This would explain why there is sound only from one channel (for now). Can anybody affirm this? iRex ? (Please come with your own MP3-player with a nice graphical interface and control icons with volume control, mute, etc) |
12-03-2006, 05:39 PM | #4 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
If one channel is indeed missing, there are two possibilities: - One is closed down, and we need iRex or a hardware-guy/hardcore developer to open it - We've got ourselves a mono device... Did the specs explicitly say stereo sound? |
|
12-04-2006, 03:50 AM | #5 | |
Junior Member
Posts: 7
Karma: 79
Join Date: Nov 2006
Location: Germany
Device: Irex Iliad
|
Mono or Stereo?
Quote:
|
|
Advert | |
|
12-04-2006, 06:17 AM | #6 |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Good, so we only need to open the missing channel? Does anyone have any ideas at all?
|
12-04-2006, 08:55 AM | #7 |
Pac-Man caught my iLiad.
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Thanks narve.
I updated narve's scripts: # added a png file [foobar 2000's mp3 icon] # one combined entry in contentlister [for starting & stopping playback] # removed creation of file _is_running [narve, what was the function of this?] What do I have to do? Handling as above described. [1] Copy the folder 00_madplay [in zipfile] to your mp3 folder. [Why the "00_" in front? I will be the first entry in contentlister. You can change the name of the folder anyway. ;-)] [2] Click on the entry "Click on me for starting playback." [EDIT] # uploaded madplay's -h output # I tried the -m option [mono output]; but it didn't change status: the left channel is much louder than the right one. Last edited by yokos; 12-04-2006 at 12:33 PM. Reason: -m option |
12-04-2006, 12:54 PM | #8 |
Groupie
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
|
Madplay
It works, but you have to put the MP3 files one level up.
|
12-04-2006, 02:43 PM | #9 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
Btw, by modifying the line ./madplay -z ../mp3/*.mp3 & to something like ./madplay -z /media/cf/mp3/*.mp3 & you can put the madplay folder where you want, e.g. in the newspapers folder, so that it is easier to access. |
|
12-05-2006, 12:18 AM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Nov 2006
Device: iRex iLiad
|
I think it's better to keep the two scripts separate. With the combined entry, if you start the player and then switch off the iLiad, I think you are stuck.
|
12-05-2006, 03:54 AM | #11 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
|
|
12-05-2006, 03:55 AM | #12 |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Btw, I sometimes get "segmentation fault" when starting madplay (one of the reasons I sometimes hate unix/linux!). Anybode else gotten this error?
|
12-05-2006, 04:06 AM | #13 | |
Evangelist
Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
|
|
12-05-2006, 08:05 AM | #14 |
Pac-Man caught my iLiad.
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
The first line in shell script "export DISPLAY=:0" is superfluous, because we don't start a X Window program.
|
12-05-2006, 10:50 AM | #15 | |
iLiad fan
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
|
Quote:
No, I hate it because whenever an c++ application fails I get a segfault and I have no idea of what went wrong. I also hate the "user-friendly" corresponding dialogbox in Windows. But I am more skilled in Windows, so this happens rarely. So I guess what I really hate is programs that crash without some sensible error messages... which is why I love Java |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iliad-regutils: Easy editing of the iLiad registry | Martijn | iRex | 7 | 09-04-2010 07:12 AM |
iLiad open source iLiad V2 easy to handle? | hapipiko | iRex Developer's Corner | 2 | 09-30-2009 01:12 PM |
iLiad Easy and safe SSH access to your iLiad | narve | iRex Developer's Corner | 15 | 11-30-2006 06:14 PM |