12-06-2012, 07:37 PM | #61 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Why did you convert your repository to private? Nobody was spying on you...
|
12-06-2012, 07:38 PM | #62 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
evidently they were...
|
Advert | |
|
12-06-2012, 07:47 PM | #63 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
12-06-2012, 09:01 PM | #64 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
: )
Yep that would have been sensible but we were just trying to get stuff scratched together. In retrospect a public facing version would make more sense when it is ready for release. Thanks for your kind pointers. |
12-06-2012, 10:02 PM | #65 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Maybe we could have a devel release? We might need to remove the secret client id from the file though...
|
Advert | |
|
12-06-2012, 10:28 PM | #66 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Code:
[soundkloud] id = USER_API_ID secret = USER_API_SECRET Then you'll lose a neccessity to store private, sensitive information in repository. |
|
12-06-2012, 10:31 PM | #67 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
12-06-2012, 11:04 PM | #68 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
12-07-2012, 12:16 AM | #69 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Yeah I'm happy with that.
Toying with using Kindlets for interface. Because Python interface was implemented and is now done. : ) |
12-07-2012, 10:55 AM | #70 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Hmm... So yeah. I got python to launch via a kindlet.
reused the CR3runner command structure for now. Got some thread issues though. Kindlets don't like not being serviced (a very short fuse ) so the call (["mplayer", "{0}".format(stream_url.location)]) makes it grumpy... is this a backgrounded call? can it be made one? EDIT: subprocess.Popen didn't do the trick either... will keep digging I did get the python bits to start spitting out music via a kindlet - the details are a bit messy right now, but it maybe a solution Last edited by twobob; 12-07-2012 at 11:39 AM. |
12-07-2012, 11:53 AM | #71 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
try os.exec instead of the subprocess.call maybe?
|
12-07-2012, 02:08 PM | #72 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
okay . I thought one replaced the other. but I will
|
12-07-2012, 03:46 PM | #73 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
|
|
12-07-2012, 04:08 PM | #74 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
ooooh looks fancy. how far along is the kindlet?
|
12-07-2012, 05:01 PM | #75 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
yeah.. hmm... not that far really. I spend much of the time wrestling with making it not die.
I can pass a few arguments to the kindlet via a static command.txt (this could be created dynamically of course) This could be Tracks / Sets / Search / Artist / Upload / Dashboard / Last played Track... etc. etc. or something I can also pass an argument to the shell that call the python and an argument to the python from that so the cascade for information is slowly being put in place. It's a overhead to invoke it via this method. I suspect there is an easier wasy but meh. at least the thing seems to not want to crash all the time now Will feedback when I have more... (some screenies maybe) |
Thread Tools | Search this Thread |
|