Results 1 to 5 of 5

Thread: Can PBO Log?

  1. #1
    Join Date
    Mar 2010
    Posts
    16

    Default Can PBO Log?

    Hello,

    I'm trying to get my PBO to play youtube videos served by mediatomb. All I get is "Invalid File!!". Yet sample videos
    preloaded by the mediatomb author play ok. Unfortunately,
    my interest in Russian military hardware is somewhat limited .

    Using the mediatomb control webpage, I can see that his
    videos are external links, gotten via http-get, class object.item.videoitem ( this last gets the PBO to recognize that it's a video ) and Mimetype: video/mp4.

    I set mine the same as his, but no joy - "Invalid File!!".

    Sure would be nice to get a bit more detailed information. Is there any way I can get the PBO to do some logging so I could telnet in and view a logfile?

    I see that there is a directory: /var/log/dvdplayer. And it's writable. My PBO has a hard drive, there's plenty of space....

    - Jerry Kaidor ( jerry@tr2.com )

  2. #2
    Join Date
    Mar 2010
    Posts
    16

    Default

    Got some logging:

    by executing the command

    find / > /tmp/found

    ...I got a list of all the files in the pbo. I then grepped that
    list for various interesting things, went and looked at the things, and found

    /etc/init.d/syslog.rcS

    which is just a shell script.

    by saying

    /etc/init.d/syslog.rcS -p /var/log

    logging was immediately begun to /var/log/messages

    - Jerry

  3. #3
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by jerryk1234 View Post
    Hello,
    I'm trying to get my PBO to play youtube videos served by mediatomb. All I get is "Invalid File!!". Yet sample videos
    preloaded by the mediatomb author play ok. Unfortunately,
    my interest in Russian military hardware is somewhat limited .
    You Tube has just change the way they present their feed and you need to last version to be able to view You Tube videos "mediatomb ver: 0.12.1. Make sure you have that version. I am streaming You tube here from three standard feed and my favorites without any problems. Here's a look at some of my config.xml:

    Code:
     <YouTube enabled="yes" refresh="28800" format="mp4" hd="yes" update-at-start="yes" purge-after="604800" racy-content="exclude">
            <favorites user="*******"/>
            <playlists user="********"/>
            <uploads user="*********"/>
            <standardfeed feed="most_viewed" time-range="today"/>
            <standardfeed feed="top_rated" time-range="this_week"/>
    	<standardfeed feed="recently_featured" time-range="today"/>
          </YouTube>
    No transcoding is required; PBO is quite happy with the stream as is using firmware 02 and firmware 04.

    Code:
     <transcoding enabled="no">
    I did not have to make any changes to the parsing done by the script that come with mediatomb to automatically create the Youtube database feed.
    Just click on the "refresh You Tube Content" in mediatomb web interface.

    Hope this help.

    Cheers!

  4. #4
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default

    Quote Originally Posted by snappy46 View Post
    I am streaming You tube here from three standard feed and my favorites without any problems.
    Is that mediatomb installed on your PBO via IPKG ? or installed on a Linux media server ?!

  5. #5
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by aasoror View Post
    Is that mediatomb installed on your PBO via IPKG ? or installed on a Linux media server ?!
    Unfortunately I am still running it from my Linux (Ubuntu) Desktop. I did installed it to the PBO using ipkg but was not successful in running it. It call up some error (can't remember which one) when you launch it. I did not spend any time on the problem; just install and tried it about a month ago. Something else I might work on latter if PM does not come up with any impressive firmware that provides some internet streaming capability. To be honest I do not use it much for YouTube; mainly for those avi that for some reason causes an invalid file when played from the HDD/NET but work fine when using UPNP.

    EDIT: Ok aasoror; just for you see newly created post. I guess I was going about it the wrong way when dealing with the installation of mediatomb.
    Last edited by snappy46; 04-26-2010 at 04:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •