xboxscene.org forums

OG Xbox Forums => Software Forums => XboxMediaPlayer => Topic started by: aidan on January 03, 2004, 07:47:00 AM

Title: Streaming With Mac Os X
Post by: aidan on January 03, 2004, 07:47:00 AM
Those of your having trouble with the xbms server on osx. I can't speak to each individual problem, but in my experience, I was stuck where XBMP wouldn't do anything when I tried to connect to the mac. No error, mind you; it would just think about it for a second then stop.

Then it dawned on me: OPEN THE 1400 PORT IN YOUR OS X FIREWALL!

Viola!
Title: Streaming With Mac Os X
Post by: shaftastic on June 16, 2003, 05:45:00 PM
you can use the xbmp toolkit for mac os x, check the tools page. It will stream right from your mac.
Title: Streaming With Mac Os X
Post by: supergplus on June 16, 2003, 10:35:00 PM
let me know if you get it going, i havent tried it extensively but i couldnt get it going... on an unrelated note, has anyone made cue/bin images of playstation games for use with the playstation emulator in os x? if so how is it done?
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 07:56:00 AM
Yhea it took me some thining to. If you read the readme it syas soemthing about a configure sever button, but there isn't one to be found anywhere. All you have to do is create the log files manualy insted.

1. open xbmp toolkit.
2. look at the file path for the log and pid file, it is in your users/you/library/logs
3. go to that location find any log file, must end in .log
4. duplicate any log file and rename it xbms.log
5. do the same and name it xbms.pid
6. quit xmbp toolkit and then open it again.
7. make sure your user name is in the user field and in the file path for the log file and pid file
8. chose the location you keep your media with the locate button.
9. click save changes, it will ask for your password type it in. (for some reason this really dosen't save any changes, if you quit the program you will have to enter the data again, I just leave it run and hide it it takes verry little memor and processer power)
10. make sure you media player config.xml on your xbox has the coreect tag to look for the
stream
11. click start xbms
12. enjoy your streamed media
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 07:57:00 AM
QUOTE (supergplus @ Jun 17 2003, 12:35 AM)
on an unrelated note, has anyone made cue/bin images of playstation games for use with the playstation emulator in os x? if so how is it done?

Yeha I would also like to know how to make bin/cue images of ps games.
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 08:17:00 AM
I'm in the process of creating a tutorial of everything to do with the xbox and mac os x. I'll post it when I'm done. might not be for awhile, I'm pretty lazy.
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 08:24:00 AM
yeha, just send me a messge if you have any problems.
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 08:26:00 AM
I forgot to say that it may also be posible to share with smb right from mac os x. Just turn it on in theh system preffs and change your config.xml file. I never tired it but I don't know why it wouldn't work.
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 08:44:00 AM
I never did anything about the xbms.conf I searched my computer and I don't have one. Dave shouldn't cause a problem at all the xbmp toolkit uses one of the unix dameon. Do you have a firewall on, that would cuase a problem. In the xbmp toolkit where it shows the file path for the log and pid did you make sure it says your username insted of "you" and that your username is in the user field? Are you able to start the server and just not see on your xbox or can you not even do that?
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 09:00:00 AM
here is apicture of how I have mine setup it is helpfull:  
http://www.public.ia.../xbmpsetup.html
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 17, 2003, 09:11:00 AM
Yep, I was right, I had to add /Volumes/ before the rest of the path in order to get the XBMS daemon to run. Now it's running so I just have to double check my XBMP config.xml file and then give it a go.
Edit-Hmm. When I go into XBMP and select the source "Mac Stream" nothing happens. the tag in my config.xml file for the stream is this
 <visible>true</visible>
     <share>
   <name>mac stream</name>
   <url>/@192.168.1.2</url>
      <cachesize>256</cachesize>
</share>
The IP address is correct so perhaps my formatting is wrong? Everything else seems to be configured properly atleast at a quick glance
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 09:44:00 AM
In order to get mmine to work I had to put
<share>
      <name>mac stream</name>
      <url>/@192.168.1.2</url>
               <cachesize>256</cachesize>
</share>

in the config file 3 times, once in the video section, once in the pictures section, and once in the audio section. It's kind of anoying that way, if your in the video section and want to play music you have to go back to the music section and then chose mac stream again, but it works. make sure your firewall is off to. If it still doesn't work use the apple network utility (aplications/utilities) and port scan yourself to see that there is something runing on whatever port it says in the xmbp toolkit
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 11:58:00 AM
I don't know for suer, but it sounds that may be the problem. I had a problem wiht my media being on a external drive, the drive would go to sleep, and chosing mac stream from the media player wouldn't wake it up. Also I allways have the streaming server on before I turn the xbox on.   Also this might not have a whole lot to do with it, but what version of dash/bios/xbmp are you running, I'm using evox 3.752, X24977 and xbmp 2.4
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 01:46:00 PM
I would say try xbmp 2.4 if your not sure you have or not otherwise I'm out of ideas.
Title: Streaming With Mac Os X
Post by: belboz on June 17, 2003, 02:51:00 PM
Not sure on the topic on here, but if you do a search on posts by me you will see how to make a couple changes to ccxstream's source to get it to compile for OS X.

I use a Linux box mainly for my streaming since my iBook is always on the go with me, but a couple of friends who are full time mac users said ccxstream worked better for them than xbms (which is what XBMP uses).

I also found a little problem with xbms which can cause it to not start under OS X.  When using the XBMP gui wrapper you don't see this problem until you try to stop xbms and you get the PID errors.  I believe I posted on here how to fix that also.

If you (or anyone) don't have the development tools loaded, PM me and I will get the compiled binaries of either ccxstream or xbms.
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 17, 2003, 03:22:00 PM
Well I updated to XBMP 2.4 and the same thing happens. It does nothing when i select "mac share". Bellboz, I don't have the dev tools loaded so if there's anyway you could send me a binary of the tools you mentioned I'd really appreciate it.
Title: Streaming With Mac Os X
Post by: grapaslingo on June 17, 2003, 06:13:00 PM
This may have been answered somewhere else, but can someone who has been able to get this streaming work comment on the performance?  Is it decent?  What kinds of files are you all streaming from your mac?

Also, isn't it possible to simply so an SMB share?

Thanks!
Title: Streaming With Mac Os X
Post by: shaftastic on June 17, 2003, 09:34:00 PM
Thats to bad you couldn't get it to work. It does work really good, I couldn't tell a difference between the stream and if it was running of the xbxo hd
Title: Streaming With Mac Os X
Post by: divby0 on June 18, 2003, 08:45:00 AM
can anyone send me compiled ccxstream for osx,? wanna give it a try!

[email protected]
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 18, 2003, 12:25:00 PM
After looking at the XBMS log file, it seems that even though I'm entering in the proper IP address, the log file shows the incorrect one. I think I'm going to duplicate a random log file to see if the settings will take with a "dummy" log file in place. I'm really hoping I can get this working as I'd love to be able to share my 6gb of music without completely filling up my xbox's hard drive.
Title: Streaming With Mac Os X
Post by: divby0 on June 18, 2003, 01:38:00 PM
can anyone please send me a compiled CCXStream for OSX and a small tutorial on setting it up?

i willl do a screenshot pdf tutorial then and up here!

markus
Title: Streaming With Mac Os X
Post by: shaftastic on June 18, 2003, 09:15:00 PM
QUOTE (divby0 @ Jun 18 2003, 03:38 PM)
can anyone please send me a compiled CCXStream for OSX and a small tutorial on setting it up?

i willl do a screenshot pdf tutorial then and up here!

markus

I'd like one to
Title: Streaming With Mac Os X
Post by: belboz on June 19, 2003, 09:51:00 AM
Ok.

Here is my changes to ccxstream.

MAC Stuff

The archive contains the executables for both ccxstream and ccxtest.  You might have to ctrl-click or right click on the dmg file to save it.

I also put the patch file I used to modify the original source, along with a directory containing my modified source for those so inclined.

I put a small readme noting most of this above, plus showing the command line I use for ccxstream.

Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 19, 2003, 01:22:00 PM
Excellent thanks Bellboz! I'll give this a try tonight and report my results!
Title: Streaming With Mac Os X
Post by: divby0 on June 19, 2003, 02:38:00 PM
ccxstream works like a charm for me! mich better than xbpm tool!

this is what i use in terminal:

./ccxstream -L -l 192.168.0.2 -S music=/Users/markus/Music -S movies=/Users/markus/Movies -S pictures=/Users/markus/Pictures

to start the stream

and u have to edit in config.xml

section music e.g.

<share>
   <name>iBook</name>
   <url>xbmsp://@192.168.0.2/music</url>
      <cachesize>256</cachesize>
   </share>
<share>


works perfect!!

i would like to see a small programm (package) including the binary,
and with the possibility to choose the orders u want to share and start the server..

a cool small nice GUI, perhaps a daemon setup ..

are there any OSX (script?) coders out there?

starting the terminal and pasting the command suxx..


Title: Streaming With Mac Os X
Post by: bigman606 on June 19, 2003, 04:21:00 PM
ccxstream worked great for me.  Thanks for the file and the helpful thread!

Title: Streaming With Mac Os X
Post by: divby0 on June 20, 2003, 10:24:00 AM
why dont u make a nice little "brushed metal aqua" application to set up and save ccxstream settings and make a .app! so u just have to double click and set up.

next step would be to set up a daemon which starts at boot up, and runs also your app is closed..

would be really nice

markus
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 20, 2003, 12:48:00 PM
smile.gif
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 21, 2003, 04:16:00 PM
NICE! It works! Thanks so much! Now all I need to do it write a script to auto launch the command for me at startup and  I'm golden. Thanks again!
Title: Streaming With Mac Os X
Post by: Fofer on June 23, 2003, 08:08:00 PM
QUOTE (divby0 @ Jun 20 2003, 07:24 PM)
next step would be to set up a daemon which starts at boot up

I just whipped up a short AppleScript that executes the command for you... and put it in "Login Items"

works like a charm!

Thanks Belboz for all of the help.
Title: Streaming With Mac Os X
Post by: Cardiff Giant on June 23, 2003, 10:15:00 PM
Any chance you could share the applescript with us? I'm a complete applescript idiot and can't figure it out. Thanks
Edit-Actually, I figured out a way to do what i wanted without applescript. I made a terminal command to launch ccxstream and then just put an alias to it on my desktop. Now all i need to do it double click it and ccxstream loads. I could probably do a log in item with it, but I don't need to have it and thus the terminal open at all times.
Title: Streaming With Mac Os X
Post by: mikeybigs on December 25, 2003, 06:55:00 PM
here is the script i created in applescript to launch ccxstram as a process

do shell script "ccxstream -L -l 192.168.0.3 -S music=/Users/mikeybigs/Music -S movies=/Users/mikeybigs/Movies -S pictures=/Users/mikeybigs/Pictures"

RunService



just copy the above script into a a new applescript and save as application then add to startup items

remember to update your xbox media player config.xml file

here is a exaple of the config.xml

<music>
     <visible>true</visible>
     <share>
       <name>Network (XBMSP)</name>
       <url>xbmsp://@192.168.0.3/music</url>
       <cachesize>256</cachesize>
     </share>      

<pictures>
     <visible>true</visible>
     <share>
       <name>Network (XBMSP)</name>
       <url>xbmsp://@192.168.0.3/pictures</url>
       <cachesize>256</cachesize>
     </share>      

<videos>
     <visible>true</visible>
     <share>
       <name>Network (XBMSP)</name>
       <url>xbmsp://@192.168.0.3/movies</url>
       <cachesize>8192</cachesize>
     </share>      


[email protected]