maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [M4+5] oscp - multiplatform player for (almost) any file format and network streams (using libav/ffmpeg and others), now with pygtk GUI (https://talk.maemo.org/showthread.php?t=94590)

KotCzarny 2015-03-09 16:47

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9.7-20:
* remote config is now in ~/.oscp-remote.conf (will be created if missing or old version)
* remote now autodetects device type, so if something goes wrong see above file
* oscc - new tool, remote will automatically use it to cut winamp classic .zip skin into ~/.oscp/skin/.
* you can now change skin on-the-fly (press top-left button in style_me=3 window)

what does it mean? grab some skins in .zip format and have fun!

ps. also updated oscp-pkg-x86-linux.tar.gz on sf page

KotCzarny 2015-03-09 19:52

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9-7-21:
* Fixed core mp3(lav) duration bug (seeking works for mp3s now)

KotCzarny 2015-03-10 17:20

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9.7-23:
* Reworked gui and config. Added few iconsets.

config file (~/.oscp-remote.conf) has grown quite a bit, so it's no longer needed to set options in /opt. also it will reinit if missing or old version. check iconset=-4 and iconset=-5 options. you can also create your own iconset now, put it in /opt/oscp/share/images/icons6 and set with iconset=-6.

KotCzarny 2015-03-10 17:40

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@endsormeans, everyone: have you tested your skin collection with oscp? it's been a while and no one commented if there are any issues

KotCzarny 2015-03-10 17:52

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
you don't have to uninstal when installing new version of the same package, system takes care of that (and it doesn't matter if you install via dpkg -i or app manager). also, waiting for reviews, thanks in advance :)

nokiabot 2015-03-11 03:20

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by endsormeans (Post 1463643)
hahaha
I've been waiting for a lull in the updated version releases ...:D
Every time I go to mess with it ... you release a new and improved version!
So I wait for it to show ...uninstall the existing version and install the new one...it's been a bugger keeping up with the whirlwind pace you set! :D
Good thing too...my n8x0 skillz were atrophying I swear. :D
So yeah... I haven't had a chance to test out the last couple... yet.
I promise to do so this evening Kot. ....pinky-swear.

same with me here keeping pace with updates is nightmare :p
downloading new version

KotCzarny 2015-03-11 05:43

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
well, someone on irc said 'make package, release early, release often', so i did

endsormeans 2015-03-11 06:00

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
actually concerning the skins...
which directory did you say the original pygtk skin was in again?
I've trapped myself in a maze of my own winamp skins!

KotCzarny 2015-03-11 06:04

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
well, i have written osc (audio visualizer with pixel engine where you can write your own algos and convert math to eye candies), oscv (picture viewer that can show animated gifs and browse through pdfs), kccp (tiny http/https/ftp proxy with url matching to block ads/unwanted stuff). and some more. just haven't released them to the world yet. early version of osc (with osc-pix) is in repo. needs some instructions to dive into all features. some videos of it https://www.youtube.com/user/cowbot2/videos but it's just a tiny bit of what it can do

KotCzarny 2015-03-11 06:09

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
2 Attachment(s)
Quote:

Originally Posted by endsormeans (Post 1463697)
actually concerning the skins...
which directory did you say the original pygtk skin was in again?
I've trapped myself in a maze of my own winamp skins!

you can always delete ~/.oscp-remote.conf. and the original dir has already cutted and prepared skin. i've attached it there as a zip. ariel-clean-skin was entirely created by me and has one tiny bug i'll brush out later

KotCzarny 2015-03-11 06:12

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
and if you don't want to recreate config, you can do cp /opt/oscp/share/images/skin/* ~/.oscp/skin/

totalizator 2015-03-11 16:33

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
1 Attachment(s)
LOOK! It's Winamp... It's XMMS... Naaah, it's oscp!

KotCzarny 2015-03-11 16:39

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9.7-24:
* Options panel added.
* Fixed missing gtk stock icons on n900.

options are now clickable. no excuses, try them all, review them all. and spread the word

KotCzarny 2015-03-11 16:51

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
ok. falstart. 0.9.7-25. forgot to change one word that broke skin mode. works now

xes 2015-03-12 08:21

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
2 Attachment(s)
Skin? For me, since years, xmms has only one skin: Frozen!

endsormeans 2015-03-12 11:44

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
1 Attachment(s)
I have soooo many of the oldies-but-goodies ...
lot of hard to find ones too.
I just threw 3 of my fav's up in a zip
colossus
caesaramp
and cathedral
another classic...don't know where I put the silly thing ...
is "manuscript"
...lovely one.
got a lot of modern, retro, classic, antique, and old amplifier skins too.

as well for the jaded there is ..
duh-duh-duh....
Skinamp...
yay! :D
one of my fav progs.
turn anything into a skin.
great lil' quick program.
do some pretty good ones with it too.

http://www.saschahlusiak.de/skinamp/

KotCzarny 2015-03-12 12:05

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
those skins are nice. gonna find out the glitches in endsormeans's ones. totalizator wondered why bother with winamp skin feature, but it appears they are still used and faved

KotCzarny 2015-03-12 12:34

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
btw. uploaded oscp package (i586mmx) to sourceforge that will run on pentium-mmx linux. having old dusty thinclient box? now you can turn it into audio/network radio player and control it from n900 via oscp-remote :)

KotCzarny 2015-03-12 17:24

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@endsormeans: two of your skins have empty monoster.bmp which results in glitched display. maybe i should add some code to make things transparent in such case

KotCzarny 2015-03-12 19:36

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@endsormeans: upped 0.9.7-27. missing images should be now transparent

endsormeans 2015-03-12 20:12

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
On the same kinda topic.
Anyone interested in a few skins...

http://talk.maemo.org/showthread.php...99#post1463899

KotCzarny 2015-03-14 18:37

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9.7-28:
winamp skin cutter and engine fixes. also added action to randomly load skin from the list in ~/.oscp/skins.dat (click the clutter bar)

tip: put the skins in some dir (fe. /home/user/MyDocs/skins/) then do:
Code:

find /home/user/MyDocs/skins/ -type f \( -iname "*.wsz" -o -iname "*.zip" \) > ~/.oscp/skins.dat

loex 2015-03-14 20:06

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
ty again and again :cool:

xes 2015-03-14 23:31

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@KotCzarny
Out of curiosity... Why don't you tag your builds with the version number?
It would be easier to check if there are updates or not.

Then, i'm still hoping you would prepare a deb for the extras-devel repo ;-)

KotCzarny 2015-03-15 06:03

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@xes: i don't understand what do you mean by "i'm still hoping you would prepare a deb for the extras-devel repo":
http://repository.maemo.org/extras-d...n-free/o/oscp/
http://repository.maemo.org/extras-d...n-free/o/oscp/
i'm updating it quite often, so check those links if you don't want to repeatedly do apt-get update

also, you can check your pc build with: oscp -h|grep build:
oscp by ariel/KotCzarny v0.9.7 build: 20150307_195529

also, it would be nice to know how many people installed it and tell what they like and what they don't

KotCzarny 2015-03-15 06:31

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@endsormeans: good to hear, which features do you like? what do you stll miss? have you tried random skin feature?

saponga 2015-03-15 07:03

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1464097)
also, it would be nice to know how many people installed it and tell what they like and what they don't

The big issue to me is that remote (and its gorgeous skins, BT buttons etc) doesn't launch (and close) the core automatically. So, I need either to let core demonized all the time, which is a waste of resourses, or starting and closing it manually every time, which is a bit annoying. BTW, how I can launch core from a winamp skin ?
Other than that its just perfect. Starts fast, doesn't eat much resources , all interfaces are clean, configureable keyboard shortcuts rules, easy playlists handle and so on.
@kotCzarny, your motivation and coding skills are pretty amazing. Thank you very much for all that.

KotCzarny 2015-03-15 07:03

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
remember that random skin mode doesn't need them organized, just full paths of the files you want it to choose from so you can simply create bunch of smaller lists then cat them together into ~/.oscp/skins.dat

album art: maybe, personally i just run the player in shuffle mode and do other things, but as i said 'maybe', don't know how it would display without hogging the screen too much
equalizer: maybe, it eats cpu and is easily available when you connect to hifi, but is viable with headphones. but it's in the TODO list already
visualizations: osc integration is also in the TODO
fireworks: see visualizations
popcorn: video play is a bonus, but you can play vids with core on pc connected to tv and control it from n900/n8x0

KotCzarny 2015-03-15 07:08

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@saponga: when core is in STOP state it doesn't eat many resources and linux happily can swap it out when not used, so you don't need to launch/kill it repeatedly. when you launch it from gui it's already starting in daemonize mode so you can close gui and it will reconnect after relaunch
as for launching from winamp skin. hum, i'll have to find the place for the button. but as i said, it connects automatically to the last core it was using, so don't kill the core every time and it will be as you want

xes 2015-03-15 11:52

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1464097)
http://repository.maemo.org/extras-d...n-free/o/oscp/
http://repository.maemo.org/extras-d...n-free/o/oscp/
i'm updating it quite often, so check those links if you don't want to repeatedly do apt-get update
also, it would be nice to know how many people installed it and tell what they like and what they don't

I'm very sorry for the confusion but your builds don't appear in the latest packages page:
http://maemo.org/packages/
i have to check why.

KotCzarny 2015-03-15 12:13

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
i've observed that they do appear, diablo around XX:15 and fremantle XX:28, but yes, sometimes uploader has some hiccups and can take up to few hours. also, while you are at it, can you send errors about package uploading/building/parsing sent to uploader person?

xes 2015-03-15 12:18

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
That is the second part of the problem: no email notifications..

KotCzarny 2015-03-15 12:20

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
btw. if you talk about the 'latest packages' most likely it only scans 'free' tree (or is updated by the builder and not uploader). also, i can offer my help with the website

saponga 2015-03-15 14:09

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1464103)
@saponga: when core is in STOP state it doesn't eat many resources and linux happily can swap it out when not used, so you don't need to launch/kill it repeatedly.

Yeah... you're right. I made some battery drain tests and the consuming is insignificant when in STOP. But that way last position isn't saved and the file restarts from the begining. Not a big deal for music files but a little problem for listening podcasts. It seems that core saves last position only when you kill it.

KotCzarny 2015-03-15 14:19

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
@saponga: it's saving, but using STOP makes it forget (unload file, set cur time to 0, etc). you might also use PAUSE, which is very similar to STOP, and do some test (but if i remember correctly it just sits there, waiting for user input). unless pulseaudio is a B*TCH and does some nefarious looping even when idle

saponga 2015-03-15 14:56

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1464144)
@saponga: it's saving, but using STOP makes it forget (unload file, set cur time to 0, etc). you might also use PAUSE, which is very similar to STOP, and do some test (but if i remember correctly it just sits there, waiting for user input). unless pulseaudio is a B*TCH and does some nefarious looping even when idle

PA keeps eating 8 to 13 CPU% continously when remote is closed after PAUSE. That's quite unacceptable. :)

KotCzarny 2015-03-15 14:58

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
PA is an abomination and should die in fire

saponga 2015-03-15 15:11

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by kotczarny (Post 1464146)
pa is an abomination and should die in fire

:d :d lol :d :d

KotCzarny 2015-03-15 15:14

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
0.9.7-29:
* Skin fixes (contd)
* unzip TMP to /tmp/ by default and ~/.oscp/ on MAEMO

skins look even nicer and cutter now tries to autodetect optimal text color

xes 2015-03-15 15:24

Re: oscp - multiplatform player for (almost) any file format and network streams, now with pygtk GUI
 
Quote:

Originally Posted by KotCzarny (Post 1464135)
btw. if you talk about the 'latest packages' most likely it only scans 'free' tree (or is updated by the builder and not uploader). also, i can offer my help with the website

Yep. It seems i missed it was in "non-free" repo. (what a pity)
I downloaded the sources of version 0.9.6 and i can remember there was a GPL license inside the package so i was expecting the same for version 0.9.7.

One side note:
Sincerely, considering that oscp can listen for commands on a network port i would prefer to know how is working the network part and have the possibility to restrict that service to one ip or a socket.


All times are GMT. The time now is 08:11.

vBulletin® Version 3.8.8