Author Topic: Sharp Musicplayer 2.0  (Read 12500 times)

chrget

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Sharp Musicplayer 2.0
« Reply #30 on: March 31, 2005, 04:06:20 am »
Quote
This is a good player to port, it doesnt have an equaliser yet but looks promising. Do you have the build you made anywhere that i can download. Which plugins did you include with the build?[div align=\"right\"][a href=\"index.php?act=findpost&pid=72829\"][{POST_SNAPBACK}][/a][/div]

I built oss output; wav, ac3, speex, vorbis, playlist, mp3 and mp4/aac input (the latter two of which I decided to butcher a bit, since by default they were depending on C++ libraries which caused them to inflate to ridiculous sizes -- in the current state this  solution is little more than a proof of concept to myself, would have to do some work on that to re-enable tag handling as well as seek support for MP4). Also enabled libcurl support so it can play network streams.

I also built a really really tiny control plugin so I could control it via a pipe, and then decided to bolt my decidedly unacceptable QT/E frontend  (which started out as an attempt to do a minimal Qtopia integration for VLC) onto it.

All of this does the minimal job I want my Z to do when listening to music on the road so far, but leaves lots of room for improvement

Some mysterious bugs in there as well, most of which are certainly not LAMIPs fault but rather the frontends and/or the quick-and-dirty control plugins'.

The frontend is basically controlled solely via the Zaurus keys (Danger, Will Robinson, Danger! Uses grabKeyboard()  ), with the key assignment as follows:

Cancel -> Exit
Center -> Pause (Toggle)
Up/Down -> Volume Up/Down
Left/Right -> Playlist Previous/Next
OK -> Play
Mail -> Toggle random shuffle
Home -> Blank LCD

So if you're brave enough, you may want to give the attached code a try (hey, even went out on limb here and built an .ipk this time  ) -- just don't come running to me complaining if your Z goes up in flames should you decide to run it

Best regards,
Chris.
SL-5500G running a modified 3.13 Sharp ROM
Extrememory 1GB SD / Netgear MA701 WLAN
Audiovox RTM-8000 GSM/GPRS CF Card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Sharp Musicplayer 2.0
« Reply #31 on: March 31, 2005, 04:29:49 am »
Quote
Quote
This is a good player to port, it doesnt have an equaliser yet but looks promising. Do you have the build you made anywhere that i can download. Which plugins did you include with the build?[div align=\"right\"][a href=\"index.php?act=findpost&pid=72829\"][{POST_SNAPBACK}][/a][/div]

I built oss output; wav, ac3, speex, vorbis, playlist, mp3 and mp4/aac input (the latter two of which I decided to butcher a bit, since by default they were depending on C++ libraries which caused them to inflate to ridiculous sizes -- in the current state this  solution is little more than a proof of concept to myself, would have to do some work on that to re-enable tag handling as well as seek support for MP4). Also enabled libcurl support so it can play network streams.

I also built a really really tiny control plugin so I could control it via a pipe, and then decided to bolt my decidedly unacceptable QT/E frontend  (which started out as an attempt to do a minimal Qtopia integration for VLC) onto it.

All of this does the minimal job I want my Z to do when listening to music on the road so far, but leaves lots of room for improvement

Some mysterious bugs in there as well, most of which are certainly not LAMIPs fault but rather the frontends and/or the quick-and-dirty control plugins'.

The frontend is basically controlled solely via the Zaurus keys (Danger, Will Robinson, Danger! Uses grabKeyboard()  ), with the key assignment as follows:

Cancel -> Exit
Center -> Pause (Toggle)
Up/Down -> Volume Up/Down
Left/Right -> Playlist Previous/Next
OK -> Play
Mail -> Toggle random shuffle
Home -> Blank LCD

So if you're brave enough, you may want to give the attached code a try (hey, even went out on limb here and built an .ipk this time  ) -- just don't come running to me complaining if your Z goes up in flames should you decide to run it

Best regards,
Chris.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=72922\"][{POST_SNAPBACK}][/a][/div]

i'll give it a try. I'll get you if my precious zaurus goes up in flames . You may not need to make a QT frontend as Maslovsky's Kino2 could be modified to inlcude lamip support.

Anton, what say about lamip support in the future.


tovarish

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #32 on: April 01, 2005, 08:12:40 am »
Quote
So if you're brave enough, you may want to give the attached code a try (hey, even went out on limb here and built an .ipk this time  ) -- just don't come running to me complaining if your Z goes up in flames should you decide to run it

Best regards,
Chris.
Good job Chris!

It installed and tested on my 5600 (Sharp rom v1.32) without problems and sounds very good with mp3s. The key commands work and I like that 'Home-> Blank LCD' feature.

The only problem is that it won't add oggs to playlist and has removed them from my sharp media player playlist... maybe a problem with your postinst script and mime types?

Thanks

Greg

chrget

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Sharp Musicplayer 2.0
« Reply #33 on: April 01, 2005, 10:58:14 pm »
Quote
Good job Chris!
Thanks. But it really is just a quick (and, oh boy, really dirty  ) hack.
Quote
It installed and tested on my 5600 (Sharp rom v1.32) without problems and sounds very good with mp3s. The key commands work and I like that 'Home-> Blank LCD' feature.
Heh, and here I thought I was the only one that thinks an audio player doesn't necessarily need a display all the time. I'm paranoid about battery draw when on the road, so I usually clock my Z down and turn off the LCD when listening to music. In that state, it will happily play for quite a few hours before eventually folding.
Quote
The only problem is that it won't add oggs to playlist and has removed them from my sharp media player playlist... maybe a problem with your postinst script and mime types?
Bah, that's what I get for following standards, probably

But you're right, of course -- mea culpa.

AFAIK xiph.org says the MIME type for OGG is application/ogg, and that's what I'm adding to $QPEDIR/etc/mime.types. Dunno how QP/E evaluates that file, but most likely there's two entries for OGG now, audio/x-vorbis (which, again AFAIK, should only be used for raw Vorbis audio without OGG container, something usually never found in the wild  ) and the one I'm adding. Seems like they happily conflict there in strange ways.

Removing the application/ogg entry from mime.types (and replacing the one in zlamip.desktop with audio/x-vorbis) should do the trick -- just checked, and silly me completely forgot to add application/ogg for the file dialog in the frontend, which of course is the reason you don't get them there (just audio/* -- dunno what I was thinking  ).

The again I usually just build my playlists manually (using the command line and an editor) and play those directly from the documents tab. Just build plain text files containing the exact filenames and save them as .m3u (i.e. audio/x-mpegurl). The frontend registered itself for those as well and should play them just fine.
Quote
Thanks
You're quite welcome!

Best regards,
Chris.
SL-5500G running a modified 3.13 Sharp ROM
Extrememory 1GB SD / Netgear MA701 WLAN
Audiovox RTM-8000 GSM/GPRS CF Card

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #34 on: April 02, 2005, 08:43:41 am »
Quote
Removing the application/ogg entry from mime.types (and replacing the one in zlamip.desktop with audio/x-vorbis) should do the trick

That was an easy fix. Now all my playlist for the Sharp media player, zlamip and Kino2 are correct and working properly.

I really like this media player... maybe someday it will be in OE.

Thanks again,

Greg

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #35 on: May 09, 2005, 09:07:09 am »
Quote
The problem is that when I run musicplayer from the console, I get the following fatal error message:

musicplayer: error while loading shared libraries: musicplayer: undefined symbol: getRootPath__15SlStorageInfoExi

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I was never able to get MusicPlayer2 to run on my Sharp ROM SL-C760 even with the patched version from Maslovsky.

Quote
Try this package:

[a href=\"http://cacko.oesf.org/downloads/musicplayer-C3000_2.0.0_arm.ipk]http://cacko.oesf.org/downloads/musicplaye...0_2.0.0_arm.ipk[/url]

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I discovered that the cause of the above error message is libsl.so.1.1.0. You need to have a newer version of the library file from the SL-C3000/1000/860. You can fix the problem by deleting the old libsl files in the /home/QtPalmtop/lib/ directory and replacing them with the ones from these newer models. I expect that the Cacko ROM must use the newer version of libsl since everyone with Cacko has reported no problems running MusicPlayer2. You can download the newest version of libsl by extracting it from the SL-C3000 image file as the URL below.

[a href=\"http://support.ezaurus.com/sl-c3000/update/c3000update/card_update_3000111.exe]http://support.ezaurus.com/sl-c3000/update...ate_3000111.exe[/url]

I expect that this should help the Sharp ROM people, like myself, with SL-C760/750/700 who have had trouble running this program.
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #36 on: May 11, 2005, 12:52:22 am »
IMPORTANT: I've discovered that installing the newer libsl files on older molder zaurus causes numerous problems with other applications. I strongly advise against messing with your libsl files. Still, how is it then that MusicPlayer2 runs on Cacko without screwing up all the other programs (including qpe)?

https://www.oesf.org/forums/index.php?showtopic=11284&hl
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #37 on: May 28, 2005, 08:42:00 am »
My efforts to get MusicPlayer 2.0 to run on Sharp ROM SL-C7X appears to not be a priority for many.
However, I've discovered that one can preload the libsl from the SL-C3000 and get the program to run. However, other programs will have problems while you are running MusicPlayer2. In addition, MusicPlayer2 is not able to properly locate files from internal menus such as when building a Library and selecting graphics for Effect Images. I believe this is because the SL-C3000 libsl file is optimized for systems with a built-in HD. It is looking for an HD file directory.
As an alternative, the libsl file from the SL-C860 appears to work (according to others), but I have not been able to confirm this. Like the SL-C7X, the SL-C860's libsl file is not optimized for systems with a built-in HD, so it works better on these models.
I was wondering if someone might send me their /usr/QtPalmtop.rom/lib/libsl.so.1.1.0 file from their Sharp ROM SL-C860? I can't find it on the Sharp Developer website. Please message me if you can help. Thanks.
« Last Edit: May 28, 2005, 08:51:59 am by jagrka »
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #38 on: May 28, 2005, 09:06:09 am »
Quote
My efforts to get MusicPlayer 2.0 to run on Sharp ROM SL-C7X appears to not be a priority for many.
However, I've discovered that one can preload the libsl from the SL-C3000 and get the program to run. However, other programs will have problems while you are running MusicPlayer2. In addition, MusicPlayer2 is not able to properly locate files from internal menus such as when building a Library and selecting graphics for Effect Images. I believe this is because the SL-C3000 libsl file is optimized for systems with a built-in HD. It is looking for an HD file directory.
As an alternative, the libsl file from the SL-C860 appears to work (according to others), but I have not been able to confirm this. Like the SL-C7X, the SL-C860's libsl file is not optimized for systems with a built-in HD, so it works better on these models.
I was wondering if someone might send me their /usr/QtPalmtop.rom/lib/libsl.so.1.1.0 file from their Sharp ROM SL-C860? I can't find it on the Sharp Developer website. Please message me if you can help. Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81908\"][{POST_SNAPBACK}][/a][/div]

This is the libsl.so.1.1.0 from the latest SL-C860 rom available at ezaurus.com

I flashed the rom to my C760, and dumped the Rom to hard disk after my C760 died, so hopefully it will work fine.

<deleted attachment as it didn't work>

Stu
« Last Edit: May 30, 2005, 07:56:59 am by Stubear »
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #39 on: May 28, 2005, 05:29:35 pm »
Quote
Try this package:

http://cacko.oesf.org/downloads/musicplaye...0_2.0.0_arm.ipk

It works on my C750 with Cacko ROM.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=71601\"][{POST_SNAPBACK}][/a][/div]

This is great! It works just fine on my SL-6000 with the standard sharp ROM as well.

Thanks!

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

ninjafoo

  • Newbie
  • *
  • Posts: 36
    • View Profile
Sharp Musicplayer 2.0
« Reply #40 on: May 28, 2005, 05:57:27 pm »
Quote
The new Sharp Musicplayer 2.0 is now available for public download at the website noted below. Perhaps, like Photostorage, this program can be tweaked to work on older SL-CXXX models.

http://www.zaurusworld.ne.jp/menu21/music/...0_2.0.0_arm.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=70772\"][{POST_SNAPBACK}][/a][/div]

This is the same version that comes with the C1000

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #41 on: May 28, 2005, 07:44:15 pm »
Thanks Stubear for posting your libsl file, but it appears to be the same as the one included with my stock Sharp ROM SL-C760. It produces the same error message that I noted in my post on p.1.  I've listed the byte size differences in the libsl files below for comparison:

SHARP ROM SL-C760 = 1055516 bytes
SHARP ROM SL-C3000 = 1527480 bytes

Perhaps someone with a Cacko ROM or SL-6000 could post their libsl files since it appears to work on these models. They must have different libsl files.
Could someone also with a Sharp ROM SL-C860 confirm whether or not this program works on their model. Thanks.
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

tovarish

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Sharp Musicplayer 2.0
« Reply #42 on: May 30, 2005, 02:01:55 am »
it does NOT work on my c860 running cacko 1.22a

tovarish

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #43 on: May 30, 2005, 07:39:18 am »
Quote
Thanks Stubear for posting your libsl file, but it appears to be the same as the one included with my stock Sharp ROM SL-C760. It produces the same error message that I noted in my post on p.1.  I've listed the byte size differences in the libsl files below for comparison:

SHARP ROM SL-C760 = 1055516 bytes
SHARP ROM SL-C3000 = 1527480 bytes

Perhaps someone with a Cacko ROM or SL-6000 could post their libsl files since it appears to work on these models. They must have different libsl files.
Could someone also with a Sharp ROM SL-C860 confirm whether or not this program works on their model. Thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81979\"][{POST_SNAPBACK}][/a][/div]

It would appear that not all libsl's are created the same. On my SL-6000 (with a stock sharp rom) the length is: 1095816

However, it is easy to see if the libsl in question will work by checking the file on a "desktop" linux machine with the following command:
strings libsl.so.1.1.0 | grep getRootPath__15SlStorageInfoExi
getRootPath__15SlStorageInfoExi

The Zaurus doesn't have a strings command (which displays charactor strings in a binary file).

I hope this helps,

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Sharp Musicplayer 2.0
« Reply #44 on: May 30, 2005, 08:00:22 am »
Quote
it does NOT work on my c860 running cacko 1.22a

tovarish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82095\"][{POST_SNAPBACK}][/a][/div]

that's cause cacko 1.22a is built on the C760 ROM, that was my mistake before, I grabbed the libsl from my cacko dump not the C860 dump.

Here is the libsl.so.1.1.0 taken from a C860 rom

 [ Invalid Attachment ]

It contains getRootPath__15SlStorageInfoExi, so hopefully it will work

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card