Release - Aerial (ATV4 Screensavers)

  Thread Rating:
  • 4 Vote(s) - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mr.C Offline
Junior Member
Posts: 2
Joined: Nov 2015
Reputation: 0
Post: #31
Ah damn, I overlooked that in your last changelog, sorry. That version should be made available via the official respository Smile

But I got it working now, thank you.
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #32
Yeap its pending yet Wink
find quote
thatmattyb Offline
Junior Member
Posts: 5
Joined: Aug 2015
Reputation: 0
Post: #33
Have got 1.3.0 installed on PC and it's super slick, very nice work! Smile

I've installed it onto a FireTV stick and while the screensaver runs, the video playback is slow and stutters Sad

Obviously coming from Apple, the videos are in QuickTime mov format and I'm guessing that's the problem - the FTV likes h.264 mp4. Any way of changing the addon so that when it checks the download folder for the existence of the file it doesn't pay attention to the file extension? That way I could transcode the downloaded videos and replace the .mov files with .mp4.
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #34
Sure, i'll do that tomorrow
find quote
thatmattyb Offline
Junior Member
Posts: 5
Joined: Aug 2015
Reputation: 0
Post: #35
Thanks very much! Will let you know how it runs!
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #36
(2015-11-30 02:55)thatmattyb Wrote:  Thanks very much! Will let you know how it runs!

https://github.com/enen92/screensaver.at...16e573cf9f

Need to install manually from github
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,869
Joined: Feb 2011
Reputation: 327
Post: #37
(2015-11-30 02:32)thatmattyb Wrote:  I've installed it onto a FireTV stick and while the screensaver runs, the video playback is slow and stutters Sad

Obviously coming from Apple, the videos are in QuickTime mov format and I'm guessing that's the problem - the FTV likes h.264 mp4. Any way of changing the addon so that when it checks the download folder for the existence of the file it doesn't pay attention to the file extension? That way I could transcode the downloaded videos and replace the .mov files with .mp4.

Actually I see this on Pi as well. If I play the mov files directly they are as smooth as butter, but there's a difference when playing as a screensaver.
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #38
(2015-12-01 00:17)popcornmix Wrote:  
(2015-11-30 02:32)thatmattyb Wrote:  I've installed it onto a FireTV stick and while the screensaver runs, the video playback is slow and stutters Sad

Obviously coming from Apple, the videos are in QuickTime mov format and I'm guessing that's the problem - the FTV likes h.264 mp4. Any way of changing the addon so that when it checks the download folder for the existence of the file it doesn't pay attention to the file extension? That way I could transcode the downloaded videos and replace the .mov files with .mp4.

Actually I see this on Pi as well. If I play the mov files directly they are as smooth as butter, but there's a difference when playing as a screensaver.

The problem is whenever you trigger the playback of a video you are doing an "active" action and that triggers the screensaver onDeactivate method, that's why it stutters for a few seconds on the first video. To overcome this what I am doing is something similar to what the video screensaver addon does. Basically I do an action through the json rpc api (Input) and wait for the deactivate method. After that I just start the video playback.
What might be happening is that on the pi the waiting time is not enough to have the screensaver deactivated and the playback starting, so the deactivate method happens during the playback. If possible, check if this value makes any improvements:

https://github.com/enen92/screensaver.at...tv.py#L103
find quote
matthieugoua Offline
Junior Member
Posts: 1
Joined: Dec 2015
Reputation: 0
Post: #39
Offline mode do not work ( no download video) on NVIDIA TV SHIELD KODI 15.2
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #40
(2015-12-05 21:49)matthieugoua Wrote:  Offline mode do not work ( no download video) on NVIDIA TV SHIELD KODI 15.2

All is good.
Provide a debug log ( http://kodi.wiki/view/Log_file/Easy ) or there is no error.
(This post was last modified: 2015-12-06 20:35 by enen92.)
find quote
mgonzales Offline
Fan
Posts: 321
Joined: Oct 2014
Reputation: 2
Post: #41
(2015-11-22 21:56)enen92 Wrote:  
(2015-11-22 21:09)mgonzales Wrote:  take a look at how screensaver.weather sets up a monitor for your re-write efforts.

also would LOVE it if you could enable (as an option) the ability to cache the screensaver video to local drive to save on unnecessary bandwidth usage and when the Kodi system is offline. plus it is not known how long apple will be so nice with access to the videos anyway.
thanks!
Thanks for the recomendations. I dont think I need a monitor since the onAction kills everything. Do I?

As for the offline stuff its doable Smile i'll implement it later this week

Regards

Forgot to say great work with the offline mode - thanks!

I don't think you need a monitor now that I've run your addon for a few weeks

Only issue is the known issue of not being able to preview the screen saver
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #42
You can preview the screensaver. I was not able to do it but I was using an outdated version of Kodi (black screen). After the update all is running smooth.
I think i still have an issue to address regarding the repeat mode Smile
Glad you like it
find quote
graysky Offline
Fan
Posts: 450
Joined: Aug 2009
Reputation: 2
Post: #43
Really cool; thank you for this. Where does the addon pull the videos? I see in offline mode is can cache them to the disk but what is the source?

EDIT: http://9to5mac.com/2015/10/19/apple-tv-4...nsavers-2/

Need help programming a Streamzap remote?
(This post was last modified: 2015-12-23 00:52 by graysky.)
find quote
enen92 Offline
Team-Kodi Member
Posts: 1,537
Joined: Nov 2012
Reputation: 94
Location: Portugal
Post: #44
Apple's API...same as the other aerial screensavers out there
find quote
graysky Offline
Fan
Posts: 450
Joined: Aug 2009
Reputation: 2
Post: #45
I am getting a freeze of the kodi interface when this screensaver is invoked on an up-to-date Arch box. Here is the debug log as the screensaver is activated after the timeout period:
Code:
22:25:02 T:139951226218624   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
22:25:02 T:139951226218624   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
22:25:02 T:139951226218624   DEBUG: Activating window ID: 12900
22:25:02 T:139951226218624   DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
22:25:02 T:139951226218624   DEBUG: ------ Window Init () ------
22:25:02 T:139949689005824  NOTICE: Thread LanguageInvoker start, auto delete: false
22:25:02 T:139949689005824    INFO: initializing python engine.
22:25:02 T:139949689005824   DEBUG: CPythonInvoker(6, /var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py): start processing
22:25:02 T:139949689005824  NOTICE: -->Python Interpreter Initialized<--
22:25:02 T:139949689005824   DEBUG: CPythonInvoker(6, /var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py): the source file to load is "/var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py"
22:25:02 T:139949689005824   DEBUG: CPythonInvoker(6, /var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py): setting the Python path to /var/lib/kodi/.kodi/addons/screensaver.atv4:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages
22:25:02 T:139949689005824   DEBUG: CPythonInvoker(6, /var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py): entering source directory /var/lib/kodi/.kodi/addons/screensaver.atv4
22:25:02 T:139949689005824   DEBUG: CPythonInvoker(6, /var/lib/kodi/.kodi/addons/screensaver.atv4/atv.py): instantiating addon using automatically obtained id of "screensaver.atv4" dependent on version 2.1.0 of the xbmc.python api
22:25:02 T:139949689005824   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
22:25:02 T:139951226218624   DEBUG: started alarm with name: sssssscreensaver
22:25:02 T:139951226218624   DEBUG: ------ Window Deinit () ------
22:25:02 T:139949689005824   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
22:25:02 T:139949689005824   DEBUG: ------ Window Init (SettingsCategory.xml) ------
22:25:02 T:139950066579200  NOTICE: Thread AlarmClock start, auto delete: false
22:25:02 T:139949689005824   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
22:25:02 T:139949689005824   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
22:25:02 T:139949689005824   DEBUG: POParser: loaded 19 strings from file /var/lib/kodi/.kodi/addons/screensaver.atv4/resources/language/English/strings.po
22:25:02 T:139951226218624   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
22:25:02 T:139951226218624   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
22:25:02 T:139951226218624   DEBUG: Loading: /usr/lib/kodi/system/ImageLib-x86_64-linux.so
22:25:04 T:139951226218624   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------

The entire GUI is frozen at this point.

Need help programming a Streamzap remote?
find quote
Post Reply