DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2007-08-21 19:34:50

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Erostiff,

are there any advantages with openshowcenter compared to Oxyl?
I'm having some trouble finding a good feature description or screenshots of openshowcenter.

Cheers,

Emacs

Offline

 

#27 2007-08-21 20:43:26

erostiff
Member
Registered: 2007-07-14
Posts: 30

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Will test it in the days to come, but it seems as responsive as oxyl.

Downloaded openshowcenter, extracted the files into /mnt/HD_a2/www/openshowcenter, pointed lighttpd.conf in that direction and configured some openshowcenter settings (explained in INSTALLATION file):

in /mnt/HD_a2/www/openshowcenter, i made a dir: media
in media, made dir movie, music and photo

make symbolic links from your media-archives
    e.g.:         ln -s /mnt/HD_a2/SERIES ./media/movie
            ln -s /mnt/HD_a2/MUSIC ./media/music


set all config.ini files in the modules subdir to rwxrwxrwx
    chmod 777 ./modules/movie/config.ini
    chmod 777 ./modules/music/config.ini
    chmod 777 ./modules/photo/config.ini
    chmod 777 ./modules/streamcast/config.ini

booted the showcenter and that was it (same settings as oxyl, so same ip and port)

now i can switch between showcenter and oxyl, just by changing 1 line in the lighttpd.conf file

Offline

 

#28 2007-08-27 00:55:55

toni
Member
Registered: 2007-08-26
Posts: 41

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi there!

1. I was following your installation instruction and got Oxyl run on my new DNS-323 and SC200 with no problems, so thanks all of you for that, great job!!!
2. I found a small mistake in the functions.inc, that is casuing the error (Fatal error: Call to undefined function utf8_decode() in /mnt/HD_a2/www/oxyl/common/functions.inc ) described here, so I think I share this with you and with others googling for that just as I did:

In the functions.inc for me line 717 (but others can have different functions.inc) the function is called utf8_encode, but the function utf8_decode is meant (and is defined later: //|FUNKTION: OXYL_UTF8_DECODE) . This is a mistake, you don't need to encode anythink to resolve filenames, so just change the function call from utf8_encode to utf8_decode and it will work also for files and folders with special caracters.

Here is the correct section:

         //wenn unbekannter Webserver
    {
      if( remote_file_exists(SpecialCharReplace($thefile)) )                               //prüfen ob webkompatible Zeichen genügen
        return SpecialCharReplace($thefile);
      elseif ( remote_file_exists(SpecialCharReplace(utf8_decode($thefile))) )             //oder ob UTF8 verwendet werden muss, CHANGED to utf8_decode!!!
        return SpecialCharReplace(utf8_decode($thefile));          //CHANGED to utf8_decode
    }

Here is the original from this thread (file.tar - functions.inc)

          //wenn unbekannter Webserver
    {
      if( remote_file_exists(SpecialCharReplace($thefile)) )                               //prüfen ob webkompatible Zeichen genügen
        return SpecialCharReplace($thefile);
      elseif ( remote_file_exists(SpecialCharReplace(utf8_encode($thefile))) )             //oder ob UTF8 verwendet werden muss, UNDEFINED FUNCTION is called!!! utf8_decode was meant!!!
        return SpecialCharReplace(utf8_encode($thefile));            //UNDEFINED FUNCTION is called!!! utf8_decode was meant!!!
    }


Emacs wrote:

erostiff wrote:

Fatal error: Call to undefined function utf8_decode() in /mnt/HD_a2/www/oxyl/common/functions.inc on line 745

i'm also @ work now, so i can't test it with the showcenter, but i'm guessing something is still wrong...
any ideas?

Yes, I remember that one - vaguely ;-)

There are two functions in the Oxyl "functions.inc". One is "utf8_decode()" and on is "utf8_encode()".
If I'm not mistaken the content of both functions needed to be removed (or commented out).

Found something on the net: add the following lines to the functions.inc


Code:

    function utf8_decode($text)
    {
         return $text;
    }

    function utf8_encode($text)
    {
         return $text;
    }

This is basically creating dummy functions for utf8 encoding which do essentially nothing but returning the unconverted string.


Cheers,

Emacs

Last edited by toni (2007-08-27 00:58:02)

Offline

 

#29 2007-09-16 14:01:31

hwazlewood
Member
Registered: 2007-09-16
Posts: 22

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

hello

thanks for the info, i tried setting this up and im getting the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107

the happens on all pages other then setup, any suggestions?

cheers
Max

Offline

 

#30 2007-09-16 21:50:31

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

You sure it#s not utf8_decode() - see post above for that one!

Cheers,

Emacs

Offline

 

#31 2007-09-17 00:21:29

hwazlewood
Member
Registered: 2007-09-16
Posts: 22

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

I had the utf8_decode error and i updated the file as stated bellow, now i get the error.

Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?

this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107

cheers
Max

Offline

 

#32 2007-09-17 15:38:53

toni
Member
Registered: 2007-08-26
Posts: 41

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi!

First you should check, what you have in line 107 (open it with vi, and go to that specific line, unfortunately I don't have access to the DNS at the moment). Based on the line number the error happens far earlier than we have utf8 functions defined.

Toni

hwazlewood wrote:

I had the utf8_decode error and i updated the file as stated bellow, now i get the error.

Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?

this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107

cheers
Max

Offline

 

#33 2007-09-18 01:15:30

hwazlewood
Member
Registered: 2007-09-16
Posts: 22

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Toni, thanks for the reply.

Actually i was getting the utf8_decode error first, i fixed that (with comments pasted here) and then i started getting this. So even though i might be happening earlier in the file it is later in the process flow.

I did check the line number before, but i forget what it said now, will look again when i get home.
cheers
Max

toni wrote:

First you should check, what you have in line 107 (open it with vi, and go to that specific line, unfortunately I don't have access to the DNS at the moment). Based on the line number the error happens far earlier than we have utf8 functions defined.
Toni

hwazlewood wrote:

I had the utf8_decode error and i updated the file as stated bellow, now i get the error.

Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?

this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107

cheers
Max

Offline

 

#34 2007-12-25 11:53:09

HerbertH
Member
Registered: 2007-08-16
Posts: 14

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi,
during the holidays I wanted to install OXYL on my DNS but I have problem with lighttp "config file" and the "functions.inc" can anybody send me an example.

Thanks

Offline

 

#35 2007-12-25 14:55:57

merlin2010
New member
Registered: 2007-12-25
Posts: 1

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi All,

first at all, big thanks to Emacs!! :-)

The download-link of "files.tar" is corrupt, can you fix it or can you post a new download?
(from the post of 2007-08-16 18:16:35)

Thx
Merlin
(I use Oxylbox since 2.0)

Offline

 

#36 2007-12-26 13:26:18

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi Herbert, Merlin,

yep, the old file seems to be lost. Attached to this post is a new one.

Cheers and a happy new year,

Emacs


Attachments:
Attachment Icon files.tar, Size: 123,392 bytes, Downloads: 340

Offline

 

#37 2007-12-27 12:27:12

HerbertH
Member
Registered: 2007-08-16
Posts: 14

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi,

thanks for the files. To be honest my expirience with this things is very low so I have still problems. I cannot acess the WEB-server. When adding the line

ln -s /mnt/HD_a2/fun_plug.d/lib/libformat.so /mnt/
HD_a2/www/oxyl/bin/libformat.so

I get:
ln: /mnt/HD_a2/www/oxyl/bin/libformat.so: File exists

Is this good or bad?

I do also not get the log message in \fun_plug.d\log - there is also no www-directory. I have attatched the LOG-messages I found - it looks like  lighttp is started.

In lighttpd.conf I have changed only the IP adress
I have nothing changed in the functions INC
I have also added the PHP-add on.

Many Thanks for your help and

a HAPPY NEW YEAR too.

Last edited by HerbertH (2007-12-27 12:29:06)


Attachments:
Attachment Icon fun_plug.log, Size: 8,046 bytes, Downloads: 407

Offline

 

#38 2007-12-28 00:20:47

erostiff
Member
Registered: 2007-07-14
Posts: 30

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

HerbertH wrote:

Hi,

thanks for the files. To be honest my expirience with this things is very low so I have still problems. I cannot acess the WEB-server. When adding the line

ln -s /mnt/HD_a2/fun_plug.d/lib/libformat.so /mnt/
HD_a2/www/oxyl/bin/libformat.so

I get:
ln: /mnt/HD_a2/www/oxyl/bin/libformat.so: File exists

Is this good or bad?

Hi HerbertH,
it seems you have already created this file earlier or it got created. Just remove the file and remake the link or force the link to be made with ln -sf instead of ln -s


Happy New Year...

Last edited by erostiff (2007-12-28 00:21:06)

Offline

 

#39 2007-12-28 10:16:05

HerbertH
Member
Registered: 2007-08-16
Posts: 14

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Thanks erostiff,
with option -sf there is no error displayed but the WEB-server is still not starting and I can only see the libformat.so in the oxyl/bin directory. There is nothing in fun_plug.d/lib.
The log looks ok ( lighttpd is started ) but there is still no www directory in "logs".

any ideas what I am doing wrong?

Thanks again!

Offline

 

#40 2007-12-29 02:13:51

HerbertH
Member
Registered: 2007-08-16
Posts: 14

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi,

many thanks to all  - looks like it is working now! I created the WWW directory in LOG´s by myself  - and suddenly it was working! By some reason I thought the this directory will be created automatically.

greetings

Offline

 

#41 2008-01-17 01:55:05

hurricane
New member
Registered: 2008-01-17
Posts: 2

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hello @all,

I used this manual (http://dns323.kood.org/howto:php:oxyl?s=oxyl) and all runs fine...

...but there is still one small problem: nconvert does not run!

Code:

/mnt/HD_a2/www/oxyl/bin/nconvert
line 1: syntax error: "(" unexpected

Somebody an idea?


Kind Regards

Hurri

Offline

 

#42 2008-01-26 06:47:34

hurricane
New member
Registered: 2008-01-17
Posts: 2

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

First, sorry for push up...

Second, somebody an idea?

Offline

 

#43 2008-01-26 13:39:21

Emacs
Member
Registered: 2007-06-24
Posts: 110

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Nconvert has never been ported to the DNS.
Picture resizing is way too CPU intense for the small box anyway.

Let go of any thought of using the DNS for picture scaling ;-)

Cheers,

Emacs

Offline

 

#44 2008-02-11 13:59:30

toni
Member
Registered: 2007-08-26
Posts: 41

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi,

I try to put Oxyl on a DNS-313 (NOT on the DNS-323, there is everything fine), has anypody tried it? My problem is that lighttpd is not starting (I start it, but it is not running, not even creating a log file or anything). Is there anything I need to know to get this running on the DNS-313?

Tóni

Offline

 

#45 2008-02-23 03:17:46

saturn2001
New member
From: Australia
Registered: 2008-02-14
Posts: 4

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

hi

Does anyone have the attachment that emacs had on installing this called files.tar, i have tried unsuccessfuly to get this to working but need these files, please pm or email them to me

thanks
saturn

Offline

 

#46 2008-12-09 16:34:37

bigster
Member
Registered: 2008-11-29
Posts: 5

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi all,

I´ve follow all the instruction posted and the Oxyl Server is working, i can browse all the media files (.mp3, .avi, etc...), bu i can execute them, nor in my Showcenter nor in the browser.

I´ve look at the error-log file and i get a "File not found" error.
The strange thing is the directory that the log says the file suppose to be : /mnt/HD_a2/www/oxyl/root/mnt/HD_a2/Stuff/Media/Musica/<file>.
This directory don´t exist, i´ve checked the "tutorial" and no mentions of this directory were told to create.

Small extract of the log...

2008-12-08 14:49:08: (response.c.530) -- file not found
2008-12-08 14:49:08: (response.c.531) Path         : /mnt/HD_a2/www/oxyl/root/mnt/HD_a2/Stuff/Media/Musica/Ani Di
Franco/Red Letter Year (2008)/06-ani_difranco-emancipated_minor.mp3

Can anyone help me with this error?

cheers

Offline

 

#47 2008-12-22 14:01:50

bigster
Member
Registered: 2008-11-29
Posts: 5

Re: Success: Oxyl media-server for Pinnacle ShowCenter 200 runs fine

Hi,

Still no answers to my question, no one have this kind of issue??

cheers

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB