Author Topic: Media Servers for OS/2 ?  (Read 11918 times)

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #15 on: April 03, 2015, 05:46:30 am »
Hi Greggory

The dropdown arrow on the UMS download page did not seem to do anything when I tried it last time. This time I remembered to allow scripts on that page - NoScript is useful but sometimes I forget it is in use and blocking scripts that I may want to allow  :-)

Thanks for the tips.


Regards

Pete


Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #16 on: April 03, 2015, 08:37:39 pm »
Hi All

Where do I check/set a multicast value? - mediatomb is complaining about this:-

===============================================================================
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2015-04-03 19:34:02    INFO: Loading configuration from: /mediatomb/home/.mediat
omb/config.xml
2015-04-03 19:34:02    INFO: Checking configuration...
2015-04-03 19:34:02    INFO: Setting filesystem import charset to US-ASCII
2015-04-03 19:34:02    INFO: Setting metadata import charset to US-ASCII
2015-04-03 19:34:02    INFO: Setting playlist charset to US-ASCII
2015-04-03 19:34:02 WARNING: You enabled the YouTube feature, which allows you
                             to watch YouTube videos on your UPnP device!
                             Please check http://www.youtube.com/t/terms
                             By using this feature you may be violating YouTube
                             service terms and conditions!

2015-04-03 19:34:02    INFO: Configuration check succeeded.
2015-04-03 19:34:02   ERROR: main: upnp error -208
2015-04-03 19:34:02   ERROR: Socket error.
2015-04-03 19:34:02    INFO: Please check if your network interface was configur
ed for multicast!
2015-04-03 19:34:02    INFO: Refer to the README file for more information.
2015-04-03 19:34:02   ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed

[K:\MEDIATOMB\BIN]


A hunt for multicast in local help files is not getting me very far and googling for "mulicast os/2" is no help...


Regards

Pete


Michael Holzapfel

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 47
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #17 on: April 03, 2015, 09:46:49 pm »
Don't have either the readme at hand nor an os/2 machine. But I remember you have to start mediatomb with something like -ip statement pointing to the IP address of the server machine.
Michael

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 417
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #18 on: April 03, 2015, 10:45:46 pm »
Don't have either the readme at hand nor an os/2 machine. But I remember you have to start mediatomb with something like -ip statement pointing to the IP address of the server machine.
Michael

Good memory Michael !  Yes create a program object with the paramenter:  --ip your ip address

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #19 on: April 04, 2015, 01:30:53 am »
Hi guys

Yes, I am starting mediatomb with the --ip address parameter which generates the previously posted error. Hence the multicast question.

I managed to find some useful multicast information in the tcpip readme file \TCPIP\HELP\README.TXT


On the off chance that the information may be of use to anyone else having problems getting mediatomb running:-

I added the multibc parameter into the setup.cmd file ie

ifconfig lan0 192.168.1.110 netmask 255.255.255.0 mtu 1500 multibc

Having saved the change I then opened a command window in \MPTN\BIN and ran

ifconfig lan0 down

to switch off tcpip followed by

setup.cmd

to restart tcpip with the new setting.

I then opened a command window in \mediatomb\bin and ran

mediatomb --ip 192.168.1.110


This seems to have been successful as the last few lines onscreen indicate all is working:-

2015-04-04 00:14:31    INFO: Configuration check succeeded.
2015-04-04 00:14:31    INFO: Initialized port: 49152
2015-04-04 00:14:31    INFO: Server bound to: 192.168.1.110
2015-04-04 00:14:32 WARNING: magic_load: could not find any magic files!
2015-04-04 00:14:32    INFO: MediaTomb Web UI can be reached by following this l
ink:
2015-04-04 00:14:32    INFO: http://192.168.1.110:49152/

Entering the above url displays the mediatomb browser interface so now to setup some video files and see if I can view them from my TV  :-)


NOTE: if using the above to setup mediatomb change ip address to suit your system.

Regards

Pete








Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #20 on: April 18, 2015, 06:45:15 pm »
Hi

Having been distracted for a little while by 2 PCs failing, both due to the AMD cpu cooler retention bracket breaking and subsequent repairs/upgrades, I am now back to investigating this software.

All seems to be *nearly* working, I can access Media Tomb from my TV - as long as the file type is WMV.

The TV can play most video types AVI,  MP4, MPG, FLV but cannot "see" these file types when using Media Tomb.

Looking at the Media Tomb server webpage I checked that I had added the files properly. It seems I have not - while I selected all files in a directory, \media, for use only the WMV files show in the Media Tomb directory /Database/Video/Directories/Media/

Checking the properties of the non-WMV files in Media Tomb I see that they are often of Class: object.item and MimeType: application/octet-stream.

I corrected the Class and MimeType but the non-WMV files still do not appear in the /Database/Video/Directories/Media/ so cannot be "seen" by the TV.

I guess I have missed a configuration step, or several, somewhere that allows Media Tomb to recognise non-WMV files but cannot find anything to suggest what.


Regards

Pete

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 417
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #21 on: April 19, 2015, 02:16:36 am »
Hi Pete,

This brought my avi files back:

One tip is to change the conf.xml for avi files, make sure this section looks like below. Without this only my Mkv files showed up and they don't work on my iPad, I was pissed til I found this, LOL


        <!-- Uncomment the line below for PS3 divx support -->
        <map from="avi" to="video/divx"/>
        <!-- Uncomment the line below for D-Link DSM / ZyXEL DMA-1000 -->
        <map from="avi" to="video/avi"/>


Greggory

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 93
  • Posts: 1216
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #22 on: April 19, 2015, 04:46:55 am »
2015-04-04 00:14:32 WARNING: magic_load: could not find any magic files!

Looks like it is looking for the program "file" which uses magic.dll, yum install file. File IDs files by content,
Code: [Select]
H:\mplayer>file BigBuckBunny_512kb.ogv
BigBuckBunny_512kb.ogv: Ogg data, Theora video

H:\mplayer>file ClassicT1948_64kb.mp4
ClassicT1948_64kb.mp4: ISO Media, MPEG v4 system, version 1

H:\mplayer>file TheSimpsonsIntro
TheSimpsonsIntro: RIFF (little-endian) data, AVI
« Last Edit: April 19, 2015, 04:51:55 am by Dave Yeo »

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #23 on: April 19, 2015, 06:22:12 am »
Hi Dave

Where can I find magic.dll - preferably in a zip file?


Regards

Pete

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 417
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #24 on: April 19, 2015, 07:18:29 am »
Hi Dave

Where can I find magic.dll - preferably in a zip file?


Regards

Pete

I have Yum installed, here the dll - my backup server may be up, may be down.

ftp://os2notes.duckdns.org/

user: os2user
pass: os2
« Last Edit: April 19, 2015, 07:42:06 am by Greggory Shaw »

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 93
  • Posts: 1216
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #25 on: April 19, 2015, 08:04:41 am »
Hi Dave

Where can I find magic.dll - preferably in a zip file?


Regards

Pete

http://rpm.netlabs.org/release/00/zip/file-5_04-7_oc00.zip, whether it'll work...

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #26 on: April 19, 2015, 05:50:18 pm »
Hi guys

Yes, seems like magic.dll was definitely required as avi and mp4 are now "acceptable" to MediaTomb.

Thanks.

@Greggory :  Your ftp server was up but required a login.


Regards

Pete




Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 28
  • Posts: 554
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #27 on: April 19, 2015, 06:14:34 pm »
Hi Guys

On checking the Medfi Tomb Server output on starting I see:-

 2015-04-19 16:43:29 WARNING: magic_load: could not find any magic files!


What exactly are "magic files" in this instance?


Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 93
  • Posts: 1216
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #28 on: April 19, 2015, 07:48:23 pm »
Code: [Select]
[K:\usr\share\misc]dir

The volume label in drive K is RPM.
The Volume Serial Number is 57BF:35BF.
Directory of K:\usr\share\misc

 3-04-15 11:41p         <DIR>      0 a---  .
 3-15-15 12:30a         <DIR>      0 ----  ..
 2-02-15  9:24a       555,542    124 a---  magic
 2-02-15  9:24a     1,779,600    124 a---  magic.mgc
        4 file(s)   2,335,142 bytes used
                  280,848,011 K bytes free

Along with symlinks in \usr\share\file and \usr\share where magic points to \usr\share\magic. IIRC at one time file used an environment variable to find its magic files (older version installed in \emx\etc here) but can't remember the specifics. Perhaps just having magic on the PATH or in the media server directory.

Greggory Shaw

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 36
  • -Receive: 19
  • Posts: 417
    • View Profile
Re: Media Servers for OS/2 ?
« Reply #29 on: April 19, 2015, 09:01:24 pm »
Hi guys

Yes, seems like magic.dll was definitely required as avi and mp4 are now "acceptable" to MediaTomb.

Thanks.

@Greggory :  Your ftp server was up but required a login.


Regards

Pete

Thats what the usr & pass was for :) joking

user: os2user
pass: os2