![]() |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
another update, apart from bugfixes, spawn-local-core is in! what does it mean? if you have oscp in path or configured it in remote.py, you can simply launch oscp-remote.py, spawn local core via button and connect to it automatically (no need to run two things separately, but you need recent oscp core build). please test, comment and enjoy!
ps. tested only with pc version, but should work with nit ones ps2. fixed oscp-remote.py again and it's working now |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
hah. update to oscp-remote.py. now hardware +/- are bound to next/prev track, thanks qwerty12!
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
how do i install it on n900
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
1/ grab oscp (on fremantle grab oscp-n8x0-n900.gz on another distro with pulseaudio grab oscp-n900-PA.gz)
2/ grab oscp-remote.py 3/ unpack and put on /opt/bin or somewhere in the PATH or anywhere where you can execute things 4/ chmod +x oscp oscp-remote.py 5/ configure oscp-remote.py 6/ run oscp-remote.py (or if you want ncurses version run oscp) later i'll prepare packages for diablo/fremantle |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
1 Attachment(s)
quick hint: want to turn n8x0/n900 into radio tuner? grab the attachment, unpack somewhere, navigate there with oscp, play!
credit: stations grabbed from http://www.screamer-radio.com/ app (which is also nice) |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
it has, right here, right now ;) why whould you need any other player than oscp?
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
how do i unpack the file tar -xvzf does not seem to work nither archieve manager
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
check if it downloaded ok, checked just now and it works. 241020 bytes, md5:
892de68f35f0904990e34ad918f5150e screamradio-stations-20150220.tar.gz |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
na na i am talking about the oscp file :
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
binaries are just gzipped single file, just use gzip -d (they have .gz extension right?) then chmod +x and it's done
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
na na i am talking about the oscp file :
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
did you just double post or having another question?
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
update: improved navigation in oscp-core and oscp-remote. also removed exact mp3 scanning because it was slowing down networked files (so total time displayed might be inaccurate)
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
update: softvolume is in. important mostly to n900-pa version, but can be enabled in n8x0 and linux too. did i mention that i hate pulseaudio api?
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
@saponga, i don't own a bluetooth headphone with keys, but you can check something for me though: if you press unknown key, there should be feedback on title bar "key_press_event: <number>" let me know the numbers and functions you want them to do
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
Thank you very much for your time and attention. |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
after reading a bit, they are most likely reported via dbus. i'm trying to find out how to use dbus with python (i'm a newbie in the matter), so once i get there i should add bt events
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
upped oscp-remote.py, when you uncomment id="n900" line it will enable code to listen for dbus event. right now i've configured it to following actions:
with hs-48: pressing button skips to next track pressing camera focus button halfway: - short: ffwd - long (>0.5s): pause/play if you have bluetooth headset and send me log of dbus-monitor --system when pressing buttons, i can try to add them |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
1 Attachment(s)
Quote:
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
mapped next/prev and pause (i think), resume and pick-a-call aren't showing, unless it's too early in the morning for me, and volume is probably handled internally by bt, so i prefer not to touch it. as always, grab the file, configure and test. if you want buttons to do anything else, just change the functions they call (they are set in handle_hsb() and available functions are further down the file)
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
@saponga: and? did it work?
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
Thanks again. |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
ahm, yes, i only changed it in remote, because it's more touch friendly than console version on n8x0/n900. just try it, you might like it. especially it now can spawn/close oscp-core via button. i've added example .desktop files (put them to /usr/share/applications/hildon/) then you can have icon directly on your n900's desktop
if not i'll see how much work would be needed to add dbus support to core |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
updated binaries with current wildmidi branch (fixes silence at the start/end)
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
update: fixed a bug where tcp listen was only enabled with daemonize mode (thx to totalizator for spotting it) now you can use ncurses interface AND pygtk gui from another machine at the same time. also is my player so good that no one has any issues or nobody bothers to report their experiences? if you like it, spread the word, if you don't, tell me why, if you find a bug, tell me too
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Alritey ...feedback?
want more people using it? put it up in extras - devel or testing pump it... get it in extras... if you think about it... it appears the evolution of a sub-community is such that when a new device/ platform comes out..it attracts many who are adept and new...they quickly all become masters and then move on to the next available device when it appears (excepting a few ...) ... then comes (for lack of a better term) the next generation of users for that device / platform ...that are new...with alot of research already done in writ in the forums for study ...but few actual people (who still use said devices and platform) around to help.... we have some of the greatest stuff ... but the learning curve may be cliff steep in some examples... with few or no one to help. For a more direct example...How many would be afraid to try something new if it were easy to install...less daunting...intimidating...or confusing. For example...look at the simplicity of installing easy debian. If it weren't that easy... fewer would have tried it ..fearing they would screw up their devices somehow. And hence fewer would be using it. That is the short and simple of it. I'm not saying that the best way to get new or established members to use stuff is to dumb stuff down for them...belittling people's intelligence is not the aim. But if it seems (from say ...the perspective of the noob ) a brain-eating,time-consuming herculean effort to understand how to do something and implement it. More oft than not the new member will pick the quickest most understandable and easiest method and / or service first before the more complex one. My advice... Get it into extras. Get it into the application manager. Then it's highly visible and people will be perpetually seeing it as an alternate player when they surf through the app man trying to figure out what to try next. Half the battle's won then. The easier to install and run the better. Especially for new people. Just my opinion. |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
@endsormeans, good, i'll move the 'make a .deb' to the top of the todo. i just wanted to polish it before so people won't stumble upon not working software on install. expect package today/tomorrow!
ps. it seems there is no freepats package for diablo, or i'm looking wrong? i'll make one too in such case |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Ah grand.
My lucid moment of sanity must have made sense. :D Y'know even if a program doesn't function initially (the way the developer would like)...I know it hasn't stopped me from hunting and investigating why and trying to find the answer to get it to work. And it never stopped me from attempting at a later date to try again. It's just that unless one has time, the desire to hunt through the posts on the forums, an insatiable curiosity and an overwhelming desire to try something off the beaten track that may or may not work. ..(which is cool and exciting method to find stuff btw...) Then having it accessible in the app man is the way to go. The more people using it...the more likelihood and the quicker people find those odd little hiccups or bugs that can identified and rectified...the sooner it is optimally working. hum...yea .. I can't say that in my time I've run into the freepats package for diablo to be able to deny your suspicions. Better safe than sorry if it's needed. |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
thanks again :) i'm not going to make freepats required, as only few users would want playing midi files. right now i've prepared extras-devel package and trying to make it show in repository
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
ok, oscp is now in fremantle extras-devel, woo-hoo! calling all the users, please test installing/using
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
@sohil876: what does volume thingy say? 0 or -1? if it's 0 then most likely you have to turn up the volume (in ncurses it's + or = key). in oscp-remote just click on the volume bar (which should also show 0% in such case)
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
|
Re: oscp - console player for (almost) any file format, now with pygtk GUI
1 Attachment(s)
i found out that there is native pygtk for windows, hoo-ray for oscp-remote.py!
http://www.pygtk.org/downloads.html -- |
Re: oscp - console player for (almost) any file format, now with pygtk GUI
Quote:
Thanks. |
Re: oscp - multiplatform console audio player for (almost) any file format, now with pygtk GUI
closing gui doesn't close core, if you want to end core there is a red x icon in the lower left part. think about it: you run core on the pc or n800 connected to hifi, you open gui on n900 select dir/playlist to play, and you can close remote. and later you can reopen it on another computer to change the track etc.
pause and resume should work with a single click, can you tell me more what exactly is happening? maybe it's just a bit of delay between push and reaction from core? |
Re: oscp - multiplatform console audio player for (almost) any file format, now with pygtk GUI
Quote:
Quote:
|
Re: oscp - multiplatform console audio player for (almost) any file format, now with pygtk GUI
weird, are you using package from extras-devel or some older build?
in other news: uploaded 0.9.7-4 (includes few bugfixes and integrated uade2 and mdxplay slaves). i hope it will show in repository eventually |
All times are GMT. The time now is 04:57. |
vBulletin® Version 3.8.8