Changes between Version 49 and Version 50 of jazz/UNR_Tuning


Ignore:
Timestamp:
May 11, 2013, 2:40:14 PM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/UNR_Tuning

    v49 v50  
    323323gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
    324324}}}
    325 }}}
    326325
    327326== 網路電視 ==
     
    350349    * 搭配 mplayer 播放網路直撥新聞
    351350{{{
    352 youtube-dl -o /tmp/udntv yV535DLrDYg &
    353 mplayer /tmp/udntv.part
     351~$ cat bin/udntv
     352#!/bin/bash
     353if [ -f /tmp/udntv.part ] ; then rm /tmp/udntv.part; fi
     354if [ -f /tmp/udntv ] ; then rm /tmp/udntv; fi
     355youtube-dl -o /tmp/udntv yV535DLrDYg > /dev/null &
     356while [ ! -f /tmp/udntv.part ]; do sleep 1; done
     357sleep 3
     358mplayer /tmp/udntv.part
     359rm /tmp/udntv.part
     360kill -9 `ps ax | grep youtube-dl | awk '{ print $1 }'`
    354361}}}
    355362   * Hinet 串流 <已失效>