Hur man installerar och ställer in Jinzora (som strömmer massmediaserveren) i OS X

vid Ross McKillop Augusti 11, 2008

Mac

Denna ska tutorial vägleder dig som är varje, kliver av långt igenom installationen och inställning - upp Jinzora, en mycket robustt strömma massmediaserver - i OS X.

Från Jinzora plats -

Jinzora är den ultimat rengöringsduken baserade massmedia som strömmer, och ledningsystemet. När du strömmer ditt massmedia med Jinzora ger dig ömt ställe, och lätt ta fram till din on-line musik och videosamling från någon apparat med en rengöringsdukwebbläsare. Tyck om ditt massmedia från din PC, anteckningsboken, PDA som är smart ringer, Xbox, PS3 eller Wii.

Jinzora stöttar formaterar efter - Ljudsignal: AAC, M4A, Midi, MP3, MP4, Ogg Vorbis, RM och WMA. (Transcoded) ljudsignal: Flac, MPC, WAV, WMA Lossless, WV och SHN. Video: AVI, WMV, MPEG och RÖRELSER.

Om du skulle något liknande för att installera Jinzora i Windows, Lifehacker har täckt dig.

  1. För du installerar Jinzora, ska du behov att installera och ställa in MAMP (Mac, Apache, MySQL och PHP). Lyckligtvis har vi dig att täckas med a tutorial på att göra precis det i OS X.
  2. Huvud över till Jinzora nedladdningsida och nedladda Linux version (ja, den Linux versionen). Det extraktet sparar till ditt dokument rotar (om du använder MAMP, den ska standarden är /Applications/MAMP/htdocs/).
  3. Öppna ett slutligt, navigera till /Applications/MAMP/htdocs/jinzora2/ och skriv in efter 4 befaller:

    chmod 777 settings.php
    jukebox för chmod 777/settings.php
    chmod 777 - R-vikarier
    chmod 777 - R data

  4. OS slutlig x

  5. För att starta webbläsaren baserade installation, navigerar till index.php i arkivet jinzora2. Igen om du använder MAMP med standardinställningarna, ska detta är http://localhost:8888/jinzora2/index.php. Granska info förutsatt att på denna sida och välj ditt Språk: från tappa besegra listar.

  6. klicka för att förstora

  7. Jinzora ska körning en kontroll för att se till att din server (Mac) möter de minimum kraven. Det ska också kontrollen för Valfritt paketerar. Några av dessa som ska för att inte finnas - oroa inte om det. Om Rekommenderade inställningar visa upp som ”rött”, dig ska behov att redigera din php.ini sparar (funnit i /Applications/MAMP/conf/php5/php.ini - om du använder MAMP i standardinstallationsläget).

    Öppna php.ini i en textredaktör och snirkel till fodra:

    memory_limit = 8M ; Maximum belopp av minne som en skriva kan konsumera (8MB)

    ändra det till:

    memory_limit = 64M ; Maximum belopp av minne som en skriva kan konsumera (64MB)

    Sök efter nu fodra:

    max_execution_time = 30 ; Maximum execution time of each script, in seconds

    and change it to:

    max_execution_time = 300 ; Maximum execution time of each script, in seconds

    Save the file. Click Proceed to License to continue.


  8. click to enlarge

  9. Review the license (yeah right), place a check in the box labeled I Agree to the license terms and click Proceed to Install Type.

  10. click to enlarge

  11. For the Installation Type: select Standalone (the default). For the Jukebox Mode: select Streaming Only. Click to Proceed to Main Settings.

  12. click to enlarge

  13. Here you’ll need to specify a number of settings. The Main Settings are all straight forward. The Frontend: and Style: can be changed later, so don’t stress too much over your selections.

  14. click to enlarge

  15. The Import Settings are very important. Hover your cursor over the Data Structure: drop-down list and a detailed explanation of the options will be displayed.

  16. click to enlarge

  17. I opted for Tag Data as my Data Structure, because I have spent a lot of time tagging my music, but my folder organization is terrible. Again, hover your cursor over the Media Layout: drop-down list for a detailed explanation of the choices.

  18. click to enlarge

  19. I opted for Artist as my Media Layout, but you of course can select the method that works best for you. Click Proceed to Backend Setup when you’ve made all your selections.

  20. click to enlarge

  21. Now you’ll need to specify the info for your database. Your database username and password can be found in your MAMP setup if you’re unsure what they are. Give your database a name (jinzora2, jinzora or something descriptive is a good idea), select MySQL as the Database Type, and unless you’ve already created the database manually, select True from the Create Database: drop-down. Click Continue with Backend Install.

  22. click to enlarge

  23. Assuming everything was successful, click Proceed to Import Media.

  24. click to enlarge

  25. Now it’s time to add your media. Navigate to the top level folder you want to add, and click Analyze. As you’ll note from the screenshot below, I only added some of my music collection (I created a temp folder and moved some albums into it). This was for screenshot purposes only. It can take quite a while to add a large media collection, and you can always add additional folders later.
  26. Once completed, click Proceed.
  27. You can add more media, or continue with the rest of the setup. When you’re done adding media, click Proceed to Save Config.

  28. click to enlarge

  29. If everything was successful, click Proceed to Launch Jinzora.

  30. click to enlarge

  31. Now you’ll be asked if you want to share anonymous stats. I’m a nice guy, so I opted to do just that.

  32. click to enlarge

  33. Click Launch Jinzora.

  34. click to enlarge

  35. Now sign in to Jinzora with the user name and password you specified way back in step #8.
  36. At this point you may receive an error message about your installation not being secure. Move the /Applications/MAMP/htdocs/jinzora2/install folder to somewhere else on your hard drive. Do not delete the install folder, as you’ll need it if you want to add more media folders in the future.

    Refresh the page after you’ve moved the install folder…


  37. click to enlarge

  38. and the admin interface to Jinzora will appear, with all of your media loaded.

  39. click to enlarge

  40. On another computer (or Smartphone etc) load the URL http://ip-of-your-mac:8888/jinzora2

    If your Mac and the “other computer” are on the same local network, the Jinzora login page will appear. If the other computer isn’t on the same network, you’ll need to make sure that port 8888 (the default MAMP web server port) is open/allowed through your firewall. If your Mac is behind a router, check PortForward.com for instructions on forwarding ports on your router.

    After you’ve signed in to Jinzora, click the Play button next to one of your albums/artists/songs. That album/artist/song will start to stream.


  41. click to enlarge


    Windows Mobile interface


    Streaming to Windows Media Player Mobile

Advanced

To stream certain file types (flac, shn etc), you’ll need to install some additional software. Open settings.php in a text editor (found in /Applications/MAMP/htdocs/jinzora2) and scroll to the // Resampling section.

Change $allow_resample = "false"; to $allow_resample = "true";

Look for the lines:

$path_to_lame = "/usr/local/bin/lame";
$path_to_flac = "/usr/local/bin/flac";

and install flac and lame to those locations. Repeat for each format you want to stream.

If you’re only streaming files across your local network, you can skip the above steps, as Jinzora will ignore resampling requests for local networks. But make sure your internal networks IP addresses are included in the line:

$no_resample_subnets = “(192\.168\..*\..*)|(127\..*\..*\..*)”;

eg. if you use 10. as your internal network IP range, add |(10\..*\..*\..*)”

Related Posts:
  • How to use Sockso as your own personal streaming music server
  • How to stream audio and video from your Mac to your iPhone or iPod Touch
  • How to stream audio and video from your computer across the Internet
  • How to set up Mail 3.1 for email
  • Using Elisa as your Ubuntu media center
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 4 trackbacks }

    Life Clerks » Turn Your Mac into an Internet Jukebox with Jinzora [Music]
    08.12.08 at 2:50 pm
    How to install and setup Jinzora (streaming media server) in OS X | alternapop, music and macs
    08.13.08 at 8:26 am
    UndergroundScene » Blog Archive » Internet Jukebox on Your Mac
    08.13.08 at 3:11 pm
    How To Install And Setup Jinzora Media Server In Ubuntu - ScienceArena
    01.21.09 at 10:29 pm

    { 10 comments… read them below or add one }

    1 Connor P 08.12.08 at 7:00 pm

    Hi there

    Although I enjoyed this article, and got it to work, there were a few problems in these instructions.

    Step 3: from what i found, settings.php does not exist, so I left that command out, and things work fine!

    Step 12: the default database user and password are both “root”

    Step 21: First, I would just zip up the install folder right where it is. Also, the path I assume you meant was /Applications/MAMP/htdocs/jinzora2/install

    Step 23: when you are accessing your computer from another computer on the local network, then the IP address is the local address. However, if the computers are across the net, then the IP address of the host is the public IP address (of the router) and you need to tell the router to forward traffic on that port to the host computer. To get around knowing what your public IP is, I recommend a service called dyndns.org. This installs a small piece of software on your computer, and monitors what your Public IP is. It then gives you a regular URL, like myip.dyndns.org, and they will forward that to your public IP.

    Hope this helps!

    Connor P

    2 Ross McKillop 08.12.08 at 7:34 pm

    Connor -

    Thanks for pointing out the mistake re: step 21. I’ve edited the tutorial to include the ‘htdocs’ part :)

    settings.php is one of the most important files for jinzora2, it does exist :) You wouldn’t be able to install without it.

    The default user/pass for MySQL in MAMP are root/root, but most people would have changed those.

    Zipping the install folder is a great idea. But it does need to be moved/removed even if you zip it.

    Dyndns.org is a good call. The earlier part of your comment was covered by step #23 (?).

    3 Gwain 08.13.08 at 4:00 am

    This reminds me of GNUMP3d for Linux. It’s basically the same idea just not as polished…and well for Linux.

    How well does Jinzora work with streaming to iTunes? iTunes “works” with GNUMP3d but does not auto resolve the addresses.

    4 douglas titus 08.13.08 at 4:14 am

    I have jinzora st up on my server with 300 plus gigs of music.One of my biggest problems that I have had is with streaming m4a files from the server with itunes as the default music player. I can not get the m4as to stream at all. As a fix I converted all of my files to mp3s.That only took two days of work. Any ideas? I have Asked this question on the jinzora site but still have not gotten a good fix.

    5 Connor P 08.13.08 at 4:25 am

    if settings.php did exist, then it wasn’t in the main folder of jinzora2. I just skipped that command and it installed fine!

    And I left install.zip right where it was and it worked fine.

    Also, In step 3: the last two commands didn’t work as written. However when I reversed the positions of the flag (-R) and the permission #’s (777) it worked fine!!

    Thanks

    Connor p
    http://www.connorp.com/

    6 Drausio 08.13.08 at 9:38 am

    Dear Ross,

    First of all, I’d like to thank you for the excellent explanation on how to set Jinzora for the mac (I’ve been struggling with Linux codes and mpd like a madman before this!!!)
    I have two questions for you.
    the first is: I’ve been trying to access my mac from outside my network using its external IP (I’ve already forwarded port 8888 on my router), but it doesn’t seem to work…
    The second is… Have you heard of MPoD for the iphone? Do you have any idea on how to configure it to use Jinzora?

    Thanks a lot!!

    Drausio

    7 Bruce A 08.13.08 at 9:59 am

    I’ve finally gotten to the point where it’s importing my library when I get the following error: “Cannot have signed integers larger than 32-bits in getid3_lib::BigEndian2Int()”

    What is THAT supposed to mean? I’ve got a lot of Japanese music, tagged in Japanese…is that the problem?

    Also, until I set the MySQL root password to blank in phpMyAdmin it refused to create the database. Now, however, I cannot access phpMyAdmin. How can I re-authenticate?

    Also, Gwain, Jinzora IS for Linux. Did you not see where it says to download the Linux version?

    8 Joe 08.16.08 at 5:40 pm

    There is no settings.php file in the jinzora2 directory.

    chmod 777 settings.php
    chmod 777 jukebox/settings.php
    chmod 777 -R temp
    chmod 777 -R data

    The 3rd and 4th command didn’t work either, any ideas?
    Thanks

    9 Connor P 08.23.08 at 12:41 pm

    Note my previous comment:

    change
    chmod 777 -R temp
    chmod 777 -R data

    to
    chmod -R 777 temp
    chmod -R 777 data

    (switch positions of -R and 777)

    This should fix it.

    Skip the command on Settings.php

    hope this helps

    Connor P
    http://www.connorp.com/

    10 kazo 08.24.08 at 10:07 am

    installation failed at the “backend setup” stage for the “Cannot have signed integers larger than 32-bits in getid3_lib::BigEndian2Int()” error message. and got completely stuck.

    while reinstalling i found it to be completely useless

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>