Active Topics

 



Notices


Reply
Thread Tools
Posts: 182 | Thanked: 84 times | Joined on Jul 2010 @ Jordan
#11
/home/user # ./install_mediaplayer.sh --desktop-file
--23:17:06-- http://mohammadag.xceleo.org/mediaplayer
=> `/usr/local/bin/mediaplayer'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 640,728 (626K) [text/plain]

100%[================================================== ====>] 640,728 64.89K/s ETA 00:00

23:17:19 (54.99 KB/s) - `/usr/local/bin/mediaplayer' saved [640728/640728]

--23:17:19-- http://mohammadag.xceleo.org/entertainmentview.qml
=> `/opt/mediaplayer/qml/entertainmentview.qml'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14,164 (14K) [text/plain]

100%[================================================== ====>] 14,164 44.36K/s

23:17:20 (44.35 KB/s) - `/opt/mediaplayer/qml/entertainmentview.qml' saved [14164/14164]

--23:17:21-- http://mohammadag.xceleo.org/Slider.qml
=> `/opt/mediaplayer/qml/Slider.qml'
Resolving mohammadag.xceleo.org... 69.163.135.251
Connecting to mohammadag.xceleo.org|69.163.135.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,372 (3.3K) [text/plain]

100%[================================================== ====>] 3,372 --.--K/s

23:17:22 (120.56 KB/s) - `/opt/mediaplayer/qml/Slider.qml' saved [3372/3372]

./install_mediaplayer.sh: line 49: cannot create /usr/share/applications/hildon: Is a directory
Open MediaPlayer, version: 0.1 Running with PID:8701
Copyright (C) 2010-2011 Mohammad Abu-Garbeyyeh
Licensed under GPLv3
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; visit http://www.gnu.org/licenses/gpl.txt for details.
MediaPlayer startup took 441 ms
/home/user #
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#12
Originally Posted by ScarCow View Post
Nice Job! Just before trying it out - is there a way to revert back to stock mediaplayer, if i ever want to?

-sc
It runs alongside it, the stock player will work fine with it since they both talk to mafw.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#13
Looks great MAG. Is it just me or no portrait for entertainment view?
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
Posts: 8 | Thanked: 3 times | Joined on Oct 2010
#14
wow thanks for this preview
the flipping side in entairtainment view is funny
very nice gui
thanks
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#15
Originally Posted by Bratag View Post
Looks great MAG. Is it just me or no portrait for entertainment view?
Nah it's not you, it actually disables portrait mode (but if you have forcedrotation active in the CSSU, then that's ignored anyway )
My QML skills suck, it was a first attempt and less than a day's work.
 
Posts: 114 | Thanked: 109 times | Joined on Nov 2010 @ Finland
#16
Originally Posted by MohammadAG View Post
Yeah, right, sorry, rm install_mediaplayer.sh and rerun the steps.
Now there's no error message, but still no desktop icon is seen in the menu.

Looked at the omp.desktop and noticed that the file misses [Desktop Entry] at the beginning, after adding that the desktop file appeared in the menu.

The install_mediaplayer.sh should be

Code:
...
if [ "$1" = "--desktop-file" ]; then
	echo "[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=OMP
X-Text-Domain=mediaplayer
Exec=/usr/local/bin/mediaplayer
Icon=tasklaunch_media_player
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
MimeType=video/quicktime;video/x-msvideo;audio/x-mp3;video/mpeg;audio/x-wav;audio/x-m4a;audio/mp4;audio/x-amr;audio/AMR;video/mp4;video/x-mp4;video/3gpp;audio/mp2;audio/x-mp2;audio/x-ms-wma;audio/x-ms-asx;video/x-ms-asx;video/x-ms-wmv;video/x-ms-wm;audio/x-mpegurl;audio/mpegurl;audio/x-mpeg;audio/x-scpls;video/x-ms-asf;video/x-ms-asf-plugin;application/x-ms-asx;audio/x-ms-wax;video/x-ms-wvx;video/x-ms-wax;video/x-ms-wmx;application/vnd.ms-wpl;application/pls;application/smil;application/m3u;audio/mp3;video/avi;audio/wav;audio/mpeg;application/x-mplayer2;audio/AMR-WB" >> /usr/share/applications/hildon/omp.desktop
...

Last edited by Keneraali; 2011-04-14 at 20:55.
 

The Following 2 Users Say Thank You to Keneraali For This Useful Post:
Posts: 182 | Thanked: 84 times | Joined on Jul 2010 @ Jordan
#17
Originally Posted by MohammadAG View Post
Yeah, right, sorry, rm install_mediaplayer.sh and rerun the steps.
still no icon
 
Posts: 156 | Thanked: 29 times | Joined on Jul 2010 @ Pakistan
#18
MAG i guessing that you are left handed...am i right?
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#19
Originally Posted by MohammadAG View Post
Nah it's not you, it actually disables portrait mode (but if you have forcedrotation active in the CSSU, then that's ignored anyway )
My QML skills suck, it was a first attempt and less than a day's work.
Hey dont get me wrong man - I love it ... just wanted to be sure I wasnt being thick
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#20
Originally Posted by SalmanAbbas View Post
MAG i guessing that you are left handed...am i right?
Nope :P
Why?
 
Reply

Tags
libplayback, mag 4 prez, media, open source, player, portrait mode, re-write, remake, reverse


 
Forum Jump


All times are GMT. The time now is 09:56.