Sharing iPhoto Library with Sony Bravia.

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Sharing iPhoto Library with Sony Bravia.

Postby Chaos23 » Wed Sep 04, 2013 3:55 pm

Hey all.

I have searched pretty thoroughly for an answer to this and can reproduce the symptoms with the latest build of PMS and Java... So here goes.

I'm trying to share my iPhoto Library (which is managed by Aperture and iPhoto) with my Sony Bravia TV. Problem is that as soon as I check the box I get massive CPU usage and PMS stops sharing anything at all. DeCheck, restart server and everything's fine.

Here's my log before checking the box...
INFO 2013-09-04 15:50:35.926 [main] Starting PS3 Media Server 1.90.2-SNAPSHOT
INFO 2013-09-04 15:50:35.927 [main] by shagrath / 2008-2013
INFO 2013-09-04 15:50:35.927 [main] http://ps3mediaserver.org
INFO 2013-09-04 15:50:35.927 [main] https://github.com/ps3mediaserver/ps3mediaserver
INFO 2013-09-04 15:50:35.927 [main]
INFO 2013-09-04 15:50:35.927 [main] Build: f9183d511 (2013-09-04)
INFO 2013-09-04 15:50:35.927 [main] Java: Java HotSpot(TM) 64-Bit Server VM 1.7.0_25 by Oracle Corporation
INFO 2013-09-04 15:50:35.927 [main] OS: Mac OS X x86_64 10.8.4
INFO 2013-09-04 15:50:35.927 [main] Encoding: UTF-8
INFO 2013-09-04 15:50:35.931 [main] Memory: 682 MB
INFO 2013-09-04 15:50:35.932 [main]
INFO 2013-09-04 15:50:35.932 [main] Working directory: /Applications/PS3 Media Server.app/Contents/Resources/Java
INFO 2013-09-04 15:50:35.937 [main] Temp directory: /var/folders/_d/j53_519x2y3cm1fvs3qlp18r0000gn/T/ps3mediaserver
INFO 2013-09-04 15:50:35.937 [main] Logging config file: /Applications/PS3 Media Server.app/Contents/Resources/Java/logback.xml
INFO 2013-09-04 15:50:35.937 [main] debug.log: /Users/jna/Library/Application Support/PMS/debug.log
INFO 2013-09-04 15:50:35.937 [main]
INFO 2013-09-04 15:50:35.937 [main] Profile directory: /Users/jna/Library/Application Support/PMS
INFO 2013-09-04 15:50:35.938 [main] Profile directory permissions: rw
INFO 2013-09-04 15:50:35.938 [main] Profile path: /Users/jna/Library/Application Support/PMS/PMS.conf
INFO 2013-09-04 15:50:35.938 [main] Profile permissions: rw
INFO 2013-09-04 15:50:35.939 [main] Profile name: jnasmini.home
INFO 2013-09-04 15:50:35.939 [main]
INFO 2013-09-04 15:50:35.939 [main] Web conf path: /Users/jna/Library/Application Support/PMS/WEB.conf
INFO 2013-09-04 15:50:35.939 [main] Web conf permissions: file not found
INFO 2013-09-04 15:50:35.940 [main]
INFO 2013-09-04 15:50:36.707 [main] Checking shared folder: /Volumes/Movies USB3/Movies
INFO 2013-09-04 15:50:36.707 [main] Checking shared folder: /Volumes/Movies USB3/Torrents
INFO 2013-09-04 15:50:36.707 [main] Checking shared folder: /Users/jna/Pictures
INFO 2013-09-04 15:50:36.909 [main] Loading MediaInfo library
INFO 2013-09-04 15:50:36.960 [main] Loaded MediaInfoLib - v0.7.61
INFO 2013-09-04 15:50:36.966 [main] Loading renderer configurations from /Applications/PS3 Media Server.app/Contents/Resources/Java/renderers
INFO 2013-09-04 15:50:36.968 [main] Loading configuration file: AirPlayer.conf
INFO 2013-09-04 15:50:36.972 [main] Loading configuration file: Android.conf
INFO 2013-09-04 15:50:36.974 [main] Loading configuration file: BlackBerryPlayBook-KalemSoftMP.conf
INFO 2013-09-04 15:50:36.979 [main] Loading configuration file: Bravia4500.conf
INFO 2013-09-04 15:50:36.982 [main] Loading configuration file: Bravia5500.conf
INFO 2013-09-04 15:50:36.986 [main] Loading configuration file: BraviaEX.conf
INFO 2013-09-04 15:50:36.990 [main] Loading configuration file: BraviaEX620.conf
INFO 2013-09-04 15:50:36.995 [main] Loading configuration file: BraviaHX.conf
INFO 2013-09-04 15:50:36.999 [main] Loading configuration file: BraviaW.conf
INFO 2013-09-04 15:50:37.004 [main] Loading configuration file: DLinkDSM510.conf
INFO 2013-09-04 15:50:37.006 [main] Loading configuration file: DirecTVHR.conf
INFO 2013-09-04 15:50:37.009 [main] Loading configuration file: FreeboxHD.conf
INFO 2013-09-04 15:50:37.011 [main] Loading configuration file: FreecomMusicPal.conf
INFO 2013-09-04 15:50:37.014 [main] Loading configuration file: Kuro.conf
INFO 2013-09-04 15:50:37.016 [main] Loading configuration file: LGST600.conf
INFO 2013-09-04 15:50:37.020 [main] Loading configuration file: N900.conf
INFO 2013-09-04 15:50:37.023 [main] Loading configuration file: NetgearNeoTV.conf
INFO 2013-09-04 15:50:37.025 [main] Loading configuration file: OPPOBDP83.conf
INFO 2013-09-04 15:50:37.027 [main] Loading configuration file: OPPOBDP93.conf
INFO 2013-09-04 15:50:37.029 [main] Loading configuration file: OnkyoTX-NR717.conf
INFO 2013-09-04 15:50:37.030 [main] Loading configuration file: PS3.conf
INFO 2013-09-04 15:50:37.036 [main] Loading configuration file: Panasonic.conf
INFO 2013-09-04 15:50:37.040 [main] Loading configuration file: Philips.conf
INFO 2013-09-04 15:50:37.044 [main] Loading configuration file: PhilipsPFL.conf
INFO 2013-09-04 15:50:37.050 [main] Loading configuration file: PopcornHour.conf
INFO 2013-09-04 15:50:37.052 [main] Loading configuration file: Realtek.conf
INFO 2013-09-04 15:50:37.054 [main] Loading configuration file: SMP-N100.conf
INFO 2013-09-04 15:50:37.057 [main] Loading configuration file: Samsung-SMT-G7400.conf
INFO 2013-09-04 15:50:37.062 [main] Loading configuration file: SamsungAllShare.conf
INFO 2013-09-04 15:50:37.064 [main] Loading configuration file: SamsungWiseLink.conf
INFO 2013-09-04 15:50:37.065 [main] Loading configuration file: SharpAquos.conf
INFO 2013-09-04 15:50:37.068 [main] Loading configuration file: Showtime3.conf
INFO 2013-09-04 15:50:37.071 [main] Loading configuration file: Showtime4.conf
INFO 2013-09-04 15:50:37.074 [main] Loading configuration file: SonyBluray.conf
INFO 2013-09-04 15:50:37.077 [main] Loading configuration file: SonyHomeTheatreSystem.conf
INFO 2013-09-04 15:50:37.081 [main] Loading configuration file: Streamium.conf
INFO 2013-09-04 15:50:37.083 [main] Loading configuration file: TelstraTbox.conf
INFO 2013-09-04 15:50:37.084 [main] Loading configuration file: VideoWebTV.conf
INFO 2013-09-04 15:50:37.085 [main] Loading configuration file: VizioSmartTV.conf
INFO 2013-09-04 15:50:37.088 [main] Loading configuration file: WDTVLive.conf
INFO 2013-09-04 15:50:37.090 [main] Loading configuration file: WMP.conf
INFO 2013-09-04 15:50:37.091 [main] Loading configuration file: XBMC.conf
INFO 2013-09-04 15:50:37.093 [main] Loading configuration file: XBOX360.conf
INFO 2013-09-04 15:50:37.094 [main] Loading configuration file: YamahaRXA1010.conf
INFO 2013-09-04 15:50:37.095 [main] Loading configuration file: YamahaRXV3900.conf
INFO 2013-09-04 15:50:37.096 [main] Loading configuration file: YamahaRXV671.conf
INFO 2013-09-04 15:50:37.097 [main] Loading configuration file: iPad-iPhone.conf
INFO 2013-09-04 15:50:37.099 [main] Checking MPlayer font cache. It can take a minute or so.
INFO 2013-09-04 15:50:37.133 [main] Done!
INFO 2013-09-04 15:50:37.140 [main] Searching for plugins in /Applications/PS3 Media Server.app/Contents/Resources/Java/plugins
INFO 2013-09-04 15:50:37.141 [main] No plugins found
INFO 2013-09-04 15:50:37.152 [main] Registering transcoding engine: FFmpeg Audio
INFO 2013-09-04 15:50:37.156 [main] Registering transcoding engine: MEncoder Video
INFO 2013-09-04 15:50:37.156 [main] Registering transcoding engine: FFmpeg
INFO 2013-09-04 15:50:37.157 [main] Registering transcoding engine: VLC Video
INFO 2013-09-04 15:50:37.176 [main] Registering transcoding engine: FFmpeg Web Video
INFO 2013-09-04 15:50:37.177 [main] Registering transcoding engine: FFmpeg Web Audio
INFO 2013-09-04 15:50:37.178 [main] Registering transcoding engine: MEncoder Web Video
INFO 2013-09-04 15:50:37.178 [main] Registering transcoding engine: VLC Web Video
INFO 2013-09-04 15:50:37.179 [main] Registering transcoding engine: tsMuxeR
INFO 2013-09-04 15:50:37.180 [main] Registering transcoding engine: Audio High Fidelity
INFO 2013-09-04 15:50:37.180 [main] Registering transcoding engine: VLC Web Audio (Legacy)
INFO 2013-09-04 15:50:37.180 [main] Registering transcoding engine: VLC Web Video (Legacy)
INFO 2013-09-04 15:50:37.181 [main] Registering transcoding engine: dcraw Thumbnailer
INFO 2013-09-04 15:50:37.249 [main] Using address /192.168.1.94 found on network interface: name:en0 (en0)
INFO 2013-09-04 15:50:37.250 [main] Created socket: /192.168.1.94:5001
INFO 2013-09-04 15:50:37.335 [main] Using the following UUID configured in PMS.conf: 2bfc0027-6062-4af5-ba06-c4db54622a72
INFO 2013-09-04 15:50:37.382 [New I/O server worker #1-2] No IP filter specified, access granted to /192.168.1.67
INFO 2013-09-04 15:50:37.382 [New I/O server worker #1-1] No IP filter specified, access granted to /192.168.1.69
INFO 2013-09-04 15:50:37.388 [pool-5-thread-1] Checking IP: 192.168.1.67 for Onkyo TX-NR717
INFO 2013-09-04 15:50:37.390 [pool-5-thread-2] Checking IP: 192.168.1.69 for Sony Bravia HX
INFO 2013-09-04 15:50:37.390 [pool-5-thread-1] Renderer Onkyo TX-NR717 found on this address: unknown-00:09:b0:c5:62:fa.home (192.168.1.67)
INFO 2013-09-04 15:50:37.390 [pool-5-thread-2] Renderer Sony Bravia HX found on this address: tv75bb21b91376.home (192.168.1.69)
INFO 2013-09-04 15:50:37.494 [New I/O server worker #1-4] Checking shared folder: /Volumes/Movies USB3/Movies
INFO 2013-09-04 15:50:37.494 [New I/O server worker #1-4] Checking shared folder: /Volumes/Movies USB3/Torrents
INFO 2013-09-04 15:50:37.495 [New I/O server worker #1-4] Checking shared folder: /Users/jna/Pictures
INFO 2013-09-04 15:50:37.588 [main] The server should now appear on your renderer


Here's after... during which CPU goes to 675% (i7 2.6)
NFO 2013-09-04 15:52:04.383 [background-task-0-restart(0)] Stopping server on host 192.168.1.94 and port 5001...
INFO 2013-09-04 15:52:05.390 [background-task-0-restart(0)] Using address /192.168.1.94 found on network interface: name:en0 (en0)
INFO 2013-09-04 15:52:05.390 [background-task-0-restart(0)] Created socket: /192.168.1.94:5001
INFO 2013-09-04 15:52:05.413 [New I/O server worker #2-3] Checking shared folder: /Volumes/Movies USB3/Movies
INFO 2013-09-04 15:52:05.414 [New I/O server worker #2-3] Checking shared folder: /Volumes/Movies USB3/Torrents
INFO 2013-09-04 15:52:05.414 [New I/O server worker #2-3] Checking shared folder: /Users/jna/Pictures
INFO 2013-09-04 15:52:38.814 [UPNPHelper] Exception in thread "AWT-EventQueue-0" Exception in thread "UPNPHelper" java.lang.OutOfMemoryError: Java heap space
INFO 2013-09-04 15:52:38.815 [UPNPHelper] at java.net.PlainDatagramSocketImpl.receive0(Native Method)
INFO 2013-09-04 15:52:38.815 [UPNPHelper] at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:145)
INFO 2013-09-04 15:52:38.815 [UPNPHelper] at java.net.DatagramSocket.receive(DatagramSocket.java:786)
INFO 2013-09-04 15:52:38.816 [UPNPHelper] at net.pms.network.UPNPHelper$2.run(UPNPHelper.java:389)
INFO 2013-09-04 15:52:38.816 [UPNPHelper] at java.lang.Thread.run(Thread.java:724)
INFO 2013-09-04 15:52:38.816 [AWT-EventQueue-0] java.lang.OutOfMemoryError: GC overhead limit exceeded
INFO 2013-09-04 15:52:38.817 [AWT-EventQueue-0] at sun.java2d.SunGraphics2D.<init>(SunGraphics2D.java:236)
INFO 2013-09-04 15:52:38.818 [AWT-EventQueue-0] at sun.awt.image.SunVolatileImage.createGraphics(SunVolatileImage.java:209)
INFO 2013-09-04 15:52:38.818 [AWT-EventQueue-0] at java.awt.image.VolatileImage.getGraphics(VolatileImage.java:233)
INFO 2013-09-04 15:52:38.818 [AWT-EventQueue-0] at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1498)
INFO 2013-09-04 15:52:38.818 [AWT-EventQueue-0] at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1439)
INFO 2013-09-04 15:52:38.819 [AWT-EventQueue-0] at javax.swing.RepaintManager.paint(RepaintManager.java:1236)
INFO 2013-09-04 15:52:38.819 [AWT-EventQueue-0] at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1090)
INFO 2013-09-04 15:52:38.819 [AWT-EventQueue-0] at javax.swing.JViewport.paintView(JViewport.java:1619)
INFO 2013-09-04 15:52:38.819 [AWT-EventQueue-0] at javax.swing.JViewport.windowBlitPaint(JViewport.java:1550)
INFO 2013-09-04 15:52:38.820 [AWT-EventQueue-0] at javax.swing.JViewport.setViewPosition(JViewport.java:1102)
INFO 2013-09-04 15:52:38.820 [AWT-EventQueue-0] at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1054)
INFO 2013-09-04 15:52:38.820 [AWT-EventQueue-0] at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1043)
INFO 2013-09-04 15:52:38.820 [AWT-EventQueue-0] at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:364)
INFO 2013-09-04 15:52:38.820 [AWT-EventQueue-0] at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:302)
INFO 2013-09-04 15:52:38.821 [AWT-EventQueue-0] at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:168)
INFO 2013-09-04 15:52:38.821 [AWT-EventQueue-0] at javax.swing.JScrollBar.setValue(JScrollBar.java:463)
INFO 2013-09-04 15:52:38.821 [AWT-EventQueue-0] at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:989)
INFO 2013-09-04 15:52:38.821 [AWT-EventQueue-0] at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(BasicScrollPaneUI.java:550)
INFO 2013-09-04 15:52:38.822 [AWT-EventQueue-0] at com.apple.laf.AquaScrollPaneUI$XYMouseWheelHandler.mouseWheelMoved(AquaScrollPaneUI.java:58)
INFO 2013-09-04 15:52:38.822 [AWT-EventQueue-0] at java.awt.Component.processMouseWheelEvent(Component.java:6593)
INFO 2013-09-04 15:52:38.822 [AWT-EventQueue-0] at java.awt.Component.processEvent(Component.java:6277)
INFO 2013-09-04 15:52:38.822 [AWT-EventQueue-0] at java.awt.Container.processEvent(Container.java:2229)
INFO 2013-09-04 15:52:38.823 [AWT-EventQueue-0] at java.awt.Component.dispatchEventImpl(Component.java:4861)
INFO 2013-09-04 15:52:38.823 [AWT-EventQueue-0] at java.awt.Container.dispatchEventToSelf(Container.java:2311)
INFO 2013-09-04 15:52:38.823 [AWT-EventQueue-0] at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:5014)
INFO 2013-09-04 15:52:38.823 [AWT-EventQueue-0] at java.awt.Component.dispatchEventImpl(Component.java:4745)
INFO 2013-09-04 15:52:38.824 [AWT-EventQueue-0] at java.awt.Container.dispatchEventImpl(Container.java:2287)
INFO 2013-09-04 15:52:38.824 [AWT-EventQueue-0] at java.awt.Component.dispatchEvent(Component.java:4687)
INFO 2013-09-04 15:52:38.824 [AWT-EventQueue-0] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
INFO 2013-09-04 15:52:38.824 [AWT-EventQueue-0] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4521)
INFO 2013-09-04 15:52:38.824 [AWT-EventQueue-0] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
INFO 2013-09-04 15:52:38.825 [AWT-EventQueue-0] at java.awt.Container.dispatchEventImpl(Container.java:2273)


Any ideas anyone? .... Cheers.
Chaos23
 
Posts: 7
Joined: Wed Sep 04, 2013 3:12 pm

Re: Sharing iPhoto Library with Sony Bravia.

Postby taconaut » Wed Sep 04, 2013 4:15 pm

You ran into a memory issue. Try this (rasing the Xmx value)
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1060
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland

Re: Sharing iPhoto Library with Sony Bravia.

Postby Chaos23 » Wed Sep 04, 2013 4:49 pm

Hi,

Thanks for the response.

A section in the other posr suggests that I:

Locate the file "PMS.bat" (Windows), "PMS.sh" (Linux) or "/Applications/PS3 Media Server.app/Contents/Info.plist" (Mac OS X) and open it in a text editor
Modify the "-Xmx768M" value - http://blog.paulgu.com/2008/07/19/6-com ... heap-size/


I couldn't find any reference to Xmx768M in the Info.plist but did in the pms.sh

-Xmx768M -Xss1024k -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true \


I've changed this to 1536M and that seems to have done the trick. Thanks loads.
Chaos23
 
Posts: 7
Joined: Wed Sep 04, 2013 3:12 pm

Re: Sharing iPhoto Library with Sony Bravia.

Postby taconaut » Thu Sep 05, 2013 7:22 am

pms.sh is being used to launch pms on linux and shouldn't influence pms on osx. I haven't opened an info.plist in a while but would expect to be able to set the Xmx value in the value for VMOptions.
It probably worked for you because you've restarted pms, which freed memory.
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1060
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland

Re: Sharing iPhoto Library with Sony Bravia.

Postby Chaos23 » Thu Sep 05, 2013 8:17 am

Yeah... restarted pms loads of times... rebooted OSX just as many too!!

Contects of plist=

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
   <dict>
      <key>CFBundleExecutable</key>
      <string>pms.sh</string>
      <key>CFBundleIconFile</key>
      <string>pms.icns</string>
      <key>CFBundleInfoDictionaryVersion</key>
      <string>6.0</string>
      <key>CFBundlePackageType</key>
      <string>APPL</string>
      <key>CFBundleSignature</key>
      <string>PS3M</string>
      <key>CFBundleVersion</key>
      <string>1.90.0</string>

   </dict>
<!--
Documentation:
https://sixohthree.com/1314/shell-scripts-as-applications-in-mac-os-x
http://developer.apple.com/library/ios/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html
-->
</plist>


Also, the pms.sh is inside a folder called MacOS, which was the clue for me to look in it :)
Chaos23
 
Posts: 7
Joined: Wed Sep 04, 2013 3:12 pm

Re: Sharing iPhoto Library with Sony Bravia.

Postby taconaut » Thu Sep 05, 2013 8:24 am

Ok, you might be right :) As I've been away for a while and lots of things have changed for the OSX installation I might not be up to date. Raptor399 can hopefully clarify this.
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1060
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland

Re: Sharing iPhoto Library with Sony Bravia.

Postby taconaut » Thu Sep 05, 2013 12:02 pm

Oh, I had missed the link to pms.sh in your info.plist. Now I'm pretty sure you have configured the Xmx in the right place, good job :) We should update the documentation accordingly.
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1060
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland

Re: Sharing iPhoto Library with Sony Bravia.

Postby Raptor399 » Thu Sep 26, 2013 9:00 pm

taconaut wrote:We should update the documentation accordingly.

Indeed, we should.
Documentation updated! ;-)
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am


Return to Mac OS X Support

Who is online

Users browsing this forum: No registered users and 4 guests