Notices


Reply
Thread Tools
proprog's Avatar
Posts: 41 | Thanked: 159 times | Joined on Jul 2012
#211
FYI I've now managed to create a service that register as mediaplayer and uses oscp via tmp.

Works like a charm for local files (at least from gpodder). I haven't got urls to work though which would have been much better/easier. Will try some more tomorrow.

I can upload the service if anyone is interested. Just need to do some cleanup and also would like to get the urls to work first.
 

The Following 4 Users Say Thank You to proprog For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#212
nice if you set debug=9 in ~/.oscp.conf it will create /tmp/oscp.log which could help you debugging things, just dont forget to set it back to 0 later as /tmp space is limited
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 5 Users Say Thank You to KotCzarny For This Useful Post:
Posts: 92 | Thanked: 144 times | Joined on Apr 2014
#213
Originally Posted by proprog View Post
FYI I've now managed to create a service that register as mediaplayer and uses oscp via tmp.

Works like a charm for local files (at least from gpodder). I haven't got urls to work though which would have been much better/easier. Will try some more tomorrow.

I can upload the service if anyone is interested. Just need to do some cleanup and also would like to get the urls to work first.
Would love to test this
 

The Following User Says Thank You to Dongle Fongle For This Useful Post:
proprog's Avatar
Posts: 41 | Thanked: 159 times | Joined on Jul 2012
#214
Quick update of progress. The http urls now works (don't ask what I had missed) but file urls are still not working.

My interpretation of the debug log is that the file url is appended to the current directory.

[669 9 4 remoted_parse: sock:-77 r_sock0:5 r_sock:-1 br:70 br0:71 bl0:5 b:LOAD2 file:///home/user/MyDocs/Podcasts/Brainy%20Gamer/bgpodcast38.mp3 bp:file:///home/user/MyDocs/Podcasts/Brainy%20Gamer/bgpodcast38.mp3]
[669 9 4 /home/user/MyDocs/.sounds/Christian Gabel/1900/file:///home/user/MyDocs/Podcasts/Brainy%20Gamer/bgpodcast38.mp3]

With local files the log looks like this and the music starts:

[1230 9 4 remoted_parse: sock:-77 r_sock0:5 r_sock:-1 br:61 br0:62 bl0:5 b:LOAD2 /home/user/MyDocs/Podcasts/Brainy Gamer/bgpodcast38.mp3 bp:/home/user/MyDocs/Podcasts/Brainy Gamer/bgpodcast38.mp3]
[1230 9 4 /home/user/MyDocs/Podcasts/Brainy Gamer/bgpodcast38.mp3]

As http now works the service is quite functional for my use cases and I will upload it after some cleanup.
 

The Following 2 Users Say Thank You to proprog For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#215
hmm, that's because i didnt implement file:// urls. hum, gonna add parsing tomorrow, as im away from my build env (regular paths starting from / should work. current dir is added because code thinks its just relative path.)
note to self: urldecode local links
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny

Last edited by KotCzarny; 2015-09-13 at 18:08.
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#216
oscp (0.9.7-47) stable; urgency=low

* added support for file:// links in LOAD2

@proprog: could you test and report?
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post:
proprog's Avatar
Posts: 41 | Thanked: 159 times | Joined on Jul 2012
#217
Originally Posted by KotCzarny View Post
oscp (0.9.7-47) stable; urgency=low

* added support for file:// links in LOAD2

@proprog: could you test and report?
Tested now and file urls works.

My service is updated and now uses only urls.
 

The Following User Says Thank You to proprog For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#218
oscp (0.9.7-48) stable; urgency=low

* updated to libsc68 3.0.0b (sndh modules)
* updated to libxmp 4.3.9
* fixed stopping on uninitialized midi library
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#219
oscp (0.9.7-49) stable; urgency=low

* on start clip is set to last playing position (even without autoplay)
* rootmenu /.. containing some shortcuts (last file, favs, etc. step toward internet stations browser)
* small bugfixes
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 2 Users Say Thank You to KotCzarny For This Useful Post:
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#220
oscp (0.9.7-50) stable; urgency=low

* fixed namespace bug (inflate() from libxmp collided with libz and zziplib)

in other words, due to some changes in -49 i've triggered a bug where zip files caused segfault. luckily the bug is no more, yay!
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post:
Reply


 
Forum Jump


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