March 25, 2010, 09:13:01 pm
News:
Pages: 1 2 3 [4] 5
Print
Author Topic: OSD-ng - 3rd party firmware for OSD  (Read 8345 times)
bmc
Newbie
*
Posts: 26


View Profile
« Reply #45 on: July 16, 2009, 03:20:30 pm »

yanvrno,

  Doing the audio cable loopback and using the video recorder is not the best option here, as you found.

  Your wget strategy could work, but you'd want to start wget up in the background "wget --quiet ...  > /dev/null 2>&1  &" or something along those lines.

  A better (but requiring compilation) strategy would be to use something like streamripper:

    http://streamripper.sourceforge.net/tutorialconsole.php

  This would let you optionally listen to the stream while it' s being saved, pre-set the amount of time to record, optionally separate the songs into tracks, etc.

  Are you able to compile code for your OSD?
Logged
yanvrno
Full Member
***
Posts: 110


View Profile
« Reply #46 on: July 16, 2009, 04:28:47 pm »

bmc-----You need to change your name to "Merlin" or the "Wizard"
That worked I can now record and then stop it via my added menu options.

I have not run a compiler on the OSD, guess I didn't know it had one.
but have done some programming in C for Dos in the past
I will attempt about anything, I spend my time programming machines. Gcode
Also the play function is automatic starts as soon as you get to your favorite.
I will look into streamripper but I can listen to the stream as I record now.
So was a little confused by that one.

Question on how can I create a unique filename for the record feature?
It would be nice to use either the track info and/or  date and time The first issue is it doesn't know the track name till it plays so Its the cart ahead of the horse issue. So would need a sleep till track found before it could create a filename.
-----------------------------------------
I edited this file:
/usr/local/bin/shoutcast
----------------------------------------

Need something like this, but of course this does not work. Replacing the variable '$filename' with a name works.
   $filename='system("$track-$(date +%F-%T)")';
   $outfile  = '/media/USB/shoutcast/'$filename'.mp3';

This works:
   $outfile - '/media/USB/shoutcast/comedy-$(date +%F-%T).mp3';

   print "Name=[Record]|Type=System|Command=sh -c 'wget --quiet $url -O $outfile >/dev/null 2>&1 &'\n";
   print "Name=[EndRec]|Type=System|Command=sh -c 'sleep 2 ; killall wget'\n";

I will be working on scheduling recordings now.
Again thanks for the direction and help.
It is Fun again to use this box.

Also added a '; sleep 4' to your ipkg.menu on the refresh and upgrade, It finishes faster than this old man could read.
« Last Edit: August 22, 2009, 05:19:53 pm by yanvrno » Logged
bruxe
Newbie
*
Posts: 32


View Profile
« Reply #47 on: July 17, 2009, 07:54:07 pm »

The ShoutCast upgrade is a major improvement in convenience. And I still can't over the fact that in a matter of days, you fixed everything that I've been trying to make work for almost 6 months: YouTube, Audio, everything! This should be the official firmware.
Now a couple of questions that may have meaning for other people, too:

1. Is there a way to add more categories to the ShoutCast choices, or at least more stations? I can't find any classical, for example.

2.  I've been playing the Audio the regular way, you know, by "Enqueue Music," with my own music on an SD card; and suddenly, the same thing that used to happen has come back. I start the audio program, choose Enqueue Music and then choose the SD folder. When it asks me whether it's "only the files in this folder," "recursive, etc.," or "just open," I choose "just open," and that is when an icon of a folder with no name comes up, and when I click on that folder, it says it has no files, even though the SD card has four folders full of music.

The only way I can correct this is by getting out of the Audio program, then browsing files and getting to the music folder on the SD card that way, then pressing the Xim button on my remote, and choosing Enqueue Music. Then, the Audio program starts again, but doesn't accept the music in the folder I choose. BUT, once in the Audio program again, when I go to Enqueue Music this time , it will take me back to the same folder I chose when I was file browsing,  but ONLY that folder, and it will enqueue music from it. If I try to enqueue from a new folder (after clearing the tracks that were playing), I end up with that SAME icon of the no-name folder again, which is empty inside.

Is my description clear? And is this happening to anybody else?
Logged
bradparks
Newbie
*
Posts: 10


View Profile
« Reply #48 on: August 01, 2009, 10:50:13 am »

Hi there... thanks for release your upgraded firmware for the Neuros
OSD... Sounds great.... I got it installed on my 1.0 OSD, and when I
refresh the packages list to see a list of packages, it refreshes
almost instantly, and when I browse the "Available Packages" list,
nothing shows up.... Do you have any idea why this is? I saw the url
it was trying to use to load the package info, and went and checked it
out, and it's still putting out reasonable looking results... I found
the IPK files on your server too, and tried to install them by
browsing/playing them like normal UPK files, but the OSD wouldn't let
me execute them. Is there some way to do this manually?

Thanks!

Brad.
Logged
bmc
Newbie
*
Posts: 26


View Profile
« Reply #49 on: August 11, 2009, 07:24:57 pm »

Brad: If you're seeing nothing under "available packages", it sounds like your writable partition is totally full.

  Sounds like you ran out of space.  Did you install OSDng with a minimal storage area, or have you been saving large files into the OSDng storage partition?

  What does it show in the OSDng status page (or equivalently, what do you see when you run "df" in a telnet session?)

  Try asking OSDng to grow itself to give you more room to install packages...
Logged
bradparks
Newbie
*
Posts: 10


View Profile
« Reply #50 on: August 12, 2009, 09:02:00 pm »

I tried growing my available space.... I'd already allocated 100 meg to it, and I allocated another 30 meg, and still the same results....

I took a screenshot of my status page and put it here:

http://dl.getdropbox.com/u/274922/error.jpg

I also took a screencut of what the error is when it tries to do a "Refresh Packages"...

http://dl.getdropbox.com/u/274922/error2.jpg

It looks to me like there's enough storage space, but I'm sure you can tell much more than I can!

Thanks in advance,

Brad.
Logged
bmc
Newbie
*
Posts: 26


View Profile
« Reply #51 on: August 13, 2009, 12:20:17 am »

I agree, you've got oodles of space.

An error code of "1" from wget means your OSD can't resolve the hostname "osd.oddren.com".

Sounds like your OSD isn't connected/configured to your network properly.

Are you able to do anything from your OSD that requires network access (youtube, for example).

Other troubleshooting tasks:

Can you telnet into your OSD from your home network?

Once in your OSD, can you "ping osd.oddren.com" ?

From your OSD can you even "ping www.google.com" ?

I'm pretty sure one of the above tests will help you isolate the problem, but the ultimate test would be to telnet into your OSD and try to run the wget command exactly as is shown in the error screen in your second screenshot.

Logged
bradparks
Newbie
*
Posts: 10


View Profile
« Reply #52 on: August 13, 2009, 06:55:47 pm »

Hey there... thanks for the fast reply... i tried searching for wget error codes, but couldnt find what "1" meant...

I checked, and it was a DNS problem. I didn't really think of this as the OSD connects to shares on my local network totally fine.

I checked though, and pinging your site and google, etc, failed.  I checked my /etc/resolv.conf file and it was empty, so I put in DNS entries for OpenDNS and it's working good...

Thanks so much for your help and for OSD NG! Looks great!

Brad.
Logged
Frenchie Newbie
Newbie
*
Posts: 32


View Profile
« Reply #53 on: September 01, 2009, 10:47:37 am »

Hi,

Just a little post to thank bmc.

I installed OSDng last weekend without any issue, the install slide show was very helpful to reassure me at each step.

I particularly like the mount USB feature that compensate for the bad auto detection of most my USB drives ; It prevents me from rebooting each time. I have also installed the Shoutcast program.

As some people said, I am impressed you did that in so little time. I am no developer but it looks like you have also reduced the efforts required to create new features (Shoutcast being a proof of concept). This should have been one of the Neuros' targets if the wanted to have more third party apps. I hope they will learn from that for their next products ; Their openness concept is nice but it looks too hard to modify, you have corrected that.

Regards,
Greg
« Last Edit: September 01, 2009, 10:56:33 am by Frenchie Newbie » Logged
krispy
Newbie
*
Posts: 21


View Profile
« Reply #54 on: September 14, 2009, 07:58:36 am »

Anyone have any luck getting osdng running on a 1.5 model?  I got the firmware to upgrade, but can not get it to run after the setup.  CF load obviously does not work.  Using USB, I've tried two different USB keys and a HDD, which seem to go through all the loading process normally.  On the reboot step, they all time out and fall back to the regular menu.
« Last Edit: September 14, 2009, 08:11:05 am by krispy » Logged
SCMCHATT
Newbie
*
Posts: 5


View Profile
« Reply #55 on: September 18, 2009, 11:55:32 am »

Got OSD-ng up and running, so far so good. What I don't understand is the patch process going forward. I need confirmation that I just need the OSD-ng updates and nothing further on the Arizona Base ?
Logged
ChadV
Administrator
Hero Member
*****
Posts: 1229


View Profile WWW
« Reply #56 on: September 19, 2009, 02:21:35 pm »

Got OSD-ng up and running, so far so good. What I don't understand is the patch process going forward. I need confirmation that I just need the OSD-ng updates and nothing further on the Arizona Base ?

Right.  Think of a fork in the road... Any updates to Arizona are going down one fork, updates to OSD-ng are on the other.  You can go back and switch back to Arizona later, or keep following OSD-ng.
Logged
bmc
Newbie
*
Posts: 26


View Profile
« Reply #57 on: September 27, 2009, 11:33:04 am »

Hi,

Just a little post to thank bmc.

I installed OSDng last weekend without any issue, the install slide show was very helpful to reassure me at each step.

I particularly like the mount USB feature that compensate for the bad auto detection of most my USB drives ; It prevents me from rebooting each time. I have also installed the Shoutcast program.

As some people said, I am impressed you did that in so little time. I am no developer but it looks like you have also reduced the efforts required to create new features (Shoutcast being a proof of concept). This should have been one of the Neuros' targets if the wanted to have more third party apps. I hope they will learn from that for their next products ; Their openness concept is nice but it looks too hard to modify, you have corrected that.

Regards,
Greg

Greg,

  Thanks for the kind note.  You hit the nail on the head - the big drive for OSDng was to lower the bar for developers (myself included), and make it very easy to fix things or develop a new application or script and distribute it without being a hardcore embedded hacker.  Unfortunately, it might be too little too late for OSD, since it doesn't seem like there are many developers contributing to the OSD (vanilla or OSDng) even with the better development environment now. 

I'm spending more time on other (tech and real-world) projects at the moment, but still tinker with the OSD on occasion.

Thanks again for the note.  I do hope Neuros, and other open-source/open-hardware attempts learn about investing time and energy upfront to make their "firmware" less firm and monolithic, and more piecemeal updateable if they want to encouraging outside development. 

Logged
bmc
Newbie
*
Posts: 26


View Profile
« Reply #58 on: September 27, 2009, 11:36:18 am »

Anyone have any luck getting osdng running on a 1.5 model?  I got the firmware to upgrade, but can not get it to run after the setup.  CF load obviously does not work.  Using USB, I've tried two different USB keys and a HDD, which seem to go through all the loading process normally.  On the reboot step, they all time out and fall back to the regular menu.

I think you probably were successful upgrading.  See the FAQ entry at osd.oddren.com that starts:

Q: After I the the upk install, I don't see an OSDng menu!

A: Change your language setting to “English”. Do this even if your menus currently appear to be in English...

Logged
bmc
Newbie
*
Posts: 26


View Profile
« Reply #59 on: September 27, 2009, 11:40:59 am »

Got OSD-ng up and running, so far so good. What I don't understand is the patch process going forward. I need confirmation that I just need the OSD-ng updates and nothing further on the Arizona Base ?

Right.  Think of a fork in the road... Any updates to Arizona are going down one fork, updates to OSD-ng are on the other.  You can go back and switch back to Arizona later, or keep following OSD-ng.

Under the hood, OSDng and Arizona are very similar.  If any great improvements are made to "Arizona" which produce a new upk, I'll make sure they appear as package-based updates in OSDng.

That said, I'm pretty sure there isn't any release date for a new Arizona upk from Neuros.

As such, I'd encourage any developers out there to roll up their changes or contributions as an ipk package for inclusion with the OSDng update process.
Logged
Pages: 1 2 3 [4] 5
Print
Jump to: