WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tumbler startup script  (Read 3399 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
tumbler startup script
« on: May 13, 2012, 12:59:19 PM »
Would it possible to add a startup script to the tumbler extension - something like:
Code: [Select]
$ cat /usr/local/tce.installed/tumbler
#!/bin/sh

read USER < /etc/sysconfig/tcuser

if [ ! -d /home/"$USER"/.thumbnails/normal ]; then
  mkdir -p /home/"$USER"/.thumbnails/normal
  chown -R "$USER":staff /home/"$USER"/.thumbnails/normal
fi

..tumbler won't start without this in some circumstances

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tumbler startup script
« Reply #1 on: May 13, 2012, 01:09:02 PM »
I see, tumbler need ~/.thumbnails. I will add it to the Xfce4 startup which creates the proper running environment. As tumbler is part of Xfce4 I do not want to introduce a new startup script.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: tumbler startup script
« Reply #2 on: May 13, 2012, 01:21:26 PM »
Well OK, but I'm using it without Xfce4...

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tumbler startup script
« Reply #3 on: May 13, 2012, 02:05:53 PM »
Well OK, but I'm using it without Xfce4...

In this case I will add the startup script, no problem.

How are you using tumbler?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: tumbler startup script
« Reply #4 on: May 13, 2012, 11:11:44 PM »
How are you using tumbler?

With rygel - it starts tumbler if found (and if the folder mentioned earlier is present).

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tumbler startup script
« Reply #5 on: May 14, 2012, 05:41:49 AM »
Startup script added, extension submitted.

P.S: Didn't check script, just copied from your post :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: tumbler startup script
« Reply #6 on: May 15, 2012, 01:02:08 PM »
Thanks - rygel now streams thumbnails..

..although two different renderers only show the image thumbnails and not the video ones

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tumbler startup script
« Reply #7 on: May 15, 2012, 06:03:30 PM »
Thanks - rygel now streams thumbnails..

..although two different renderers only show the image thumbnails and not the video ones

Installing gst-plugins-base.tcz gst-plugins-good.tcz gst-plugins-bad.tcz it works. Will update .dep
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: tumbler startup script
« Reply #8 on: May 15, 2012, 11:24:09 PM »
I didn't meant to indicate that there was a problem with tumbler - the video thumbnails have been created in ~/.thumbnails - but rather that there's a problem with either rygel or the media renderer

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tumbler startup script
« Reply #9 on: May 16, 2012, 03:43:49 AM »
gst plugins are soft depenedencies and not listed in tumbler.tcz.dep therefore using a clean Xfce4 install no thumbs for video files. I will add a note to the info file. I'm still hasitating to add gst plugins to .dep or not. Functionality is nice, but adds a significant overhead forcing installation always for those are not playing video.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: tumbler startup script
« Reply #10 on: May 16, 2012, 04:08:48 AM »
I'd leave the gst plugins dep out and make a note in the info file

In many cases I'd expect the user would need to load the gst plugins in order to play the video anyway..