Index: head/multimedia/Makefile =================================================================== --- head/multimedia/Makefile (revision 412009) +++ head/multimedia/Makefile (revision 412010) @@ -1,447 +1,448 @@ # $FreeBSD$ # COMMENT = Multimedia software SUBDIR += 2mandvd SUBDIR += ab25 SUBDIR += abby SUBDIR += acidrip SUBDIR += aegisub SUBDIR += asdcplib SUBDIR += assimp SUBDIR += atomicparsley SUBDIR += audacious SUBDIR += audacious-plugins SUBDIR += audiopreview SUBDIR += avbin SUBDIR += avidemux SUBDIR += avidemux-cli SUBDIR += avidemux-plugins SUBDIR += avidemux-qt4 SUBDIR += avinfo SUBDIR += baka-mplayer SUBDIR += bangarang SUBDIR += banshee SUBDIR += bino SUBDIR += bombono SUBDIR += bsdbktr_tvtune SUBDIR += camserv SUBDIR += cclive SUBDIR += cheese SUBDIR += clipgrab SUBDIR += clive SUBDIR += clutter-gst SUBDIR += clutter-gst3 SUBDIR += cuse4bsd-kmod SUBDIR += cx88 SUBDIR += deforaos-player SUBDIR += devede SUBDIR += dirac SUBDIR += dragon SUBDIR += dtv SUBDIR += dtv-scan-tables SUBDIR += dumpmpeg SUBDIR += dv2jpg SUBDIR += dv2sub SUBDIR += dvbcut SUBDIR += dvbsnoop SUBDIR += dvd-slideshow SUBDIR += dvdauthor SUBDIR += dvdid SUBDIR += dvdrip SUBDIR += dvdstyler SUBDIR += dvts SUBDIR += emby-server SUBDIR += emotion_generic_players-vlc SUBDIR += emovix SUBDIR += ffmpeg SUBDIR += ffmpeg0 SUBDIR += ffmpeg2theora SUBDIR += ffmpegthumbnailer SUBDIR += flvmeta SUBDIR += flvstreamer SUBDIR += flvtool++ SUBDIR += fpc-dts SUBDIR += fpc-libvlc SUBDIR += freetuxtv SUBDIR += freevo SUBDIR += fxtv SUBDIR += gaupol SUBDIR += gavl SUBDIR += gcap SUBDIR += gcfilms SUBDIR += gdialog SUBDIR += gdvrecv SUBDIR += ggrab SUBDIR += gmencoder SUBDIR += gmerlin SUBDIR += gmerlin-avdecoder SUBDIR += gmimms SUBDIR += gmp-api SUBDIR += gmtk SUBDIR += gnome-mplayer SUBDIR += gnome-subtitles SUBDIR += gpac-libgpac SUBDIR += gpac-mp4box SUBDIR += gpodder SUBDIR += grake SUBDIR += gst123 SUBDIR += gstreamer SUBDIR += gstreamer-ffmpeg SUBDIR += gstreamer-plugins SUBDIR += gstreamer-plugins-all SUBDIR += gstreamer-plugins-annodex SUBDIR += gstreamer-plugins-bad SUBDIR += gstreamer-plugins-buzztard SUBDIR += gstreamer-plugins-bz2 SUBDIR += gstreamer-plugins-core SUBDIR += gstreamer-plugins-dts SUBDIR += gstreamer-plugins-dv SUBDIR += gstreamer-plugins-dvd SUBDIR += gstreamer-plugins-fluendo-mpegdemux SUBDIR += gstreamer-plugins-gnonlin SUBDIR += gstreamer-plugins-good SUBDIR += gstreamer-plugins-mpeg2dec SUBDIR += gstreamer-plugins-mpeg2enc SUBDIR += gstreamer-plugins-resindvd SUBDIR += gstreamer-plugins-schroedinger SUBDIR += gstreamer-plugins-theora SUBDIR += gstreamer-plugins-ugly SUBDIR += gstreamer-plugins-v4l2 SUBDIR += gstreamer-plugins-vdpau SUBDIR += gstreamer-plugins-vp8 SUBDIR += gstreamer-plugins-x264 SUBDIR += gstreamer-plugins-xvid SUBDIR += gstreamer-qt4 SUBDIR += gstreamer1 SUBDIR += gstreamer1-editing-services SUBDIR += gstreamer1-libav SUBDIR += gstreamer1-plugins SUBDIR += gstreamer1-plugins-all SUBDIR += gstreamer1-plugins-assrender SUBDIR += gstreamer1-plugins-bad SUBDIR += gstreamer1-plugins-core SUBDIR += gstreamer1-plugins-dts SUBDIR += gstreamer1-plugins-dv SUBDIR += gstreamer1-plugins-dvdread SUBDIR += gstreamer1-plugins-gnonlin SUBDIR += gstreamer1-plugins-good SUBDIR += gstreamer1-plugins-hls SUBDIR += gstreamer1-plugins-kate SUBDIR += gstreamer1-plugins-libde265 SUBDIR += gstreamer1-plugins-mpeg2dec SUBDIR += gstreamer1-plugins-mpeg2enc SUBDIR += gstreamer1-plugins-openh264 SUBDIR += gstreamer1-plugins-resindvd SUBDIR += gstreamer1-plugins-rtmp SUBDIR += gstreamer1-plugins-schroedinger SUBDIR += gstreamer1-plugins-theora SUBDIR += gstreamer1-plugins-ugly SUBDIR += gstreamer1-plugins-v4l2 SUBDIR += gstreamer1-plugins-vpx SUBDIR += gstreamer1-plugins-x264 SUBDIR += gstreamer1-plugins-x265 SUBDIR += gstreamer1-qt4 SUBDIR += gstreamer1-rtsp-server SUBDIR += gstreamer1-vaapi SUBDIR += gstreamer1-validate SUBDIR += gstreamermm SUBDIR += gtk-recordmydesktop SUBDIR += gtk-youtube-viewer SUBDIR += gxine SUBDIR += handbrake SUBDIR += imagination SUBDIR += iriverter SUBDIR += iso2mkv SUBDIR += jmref SUBDIR += k9copy-kde4 SUBDIR += kaffeine SUBDIR += kdemultimedia4 SUBDIR += kdemultimedia4-ffmpegthumbs SUBDIR += kdemultimedia4-mplayerthumbs SUBDIR += kdenlive SUBDIR += kissdx SUBDIR += kmplayer-kde4 SUBDIR += kodi SUBDIR += kplayer-kde4 SUBDIR += libaacs SUBDIR += libass SUBDIR += libav SUBDIR += libbdplus SUBDIR += libbluray SUBDIR += libcec SUBDIR += libdc1394 SUBDIR += libdca SUBDIR += libdcadec SUBDIR += libde265 SUBDIR += libdv SUBDIR += libdvbcsa SUBDIR += libdvbpsi SUBDIR += libdvdcss SUBDIR += libdvdnav SUBDIR += libdvdread SUBDIR += libfame SUBDIR += libhdhomerun SUBDIR += libkate SUBDIR += libmatroska SUBDIR += libmediaart SUBDIR += libmediainfo SUBDIR += libmovtar SUBDIR += libmpeg2 SUBDIR += libmpeg3 SUBDIR += libmtp SUBDIR += libquicktime SUBDIR += libquicktime-lame SUBDIR += libquvi SUBDIR += libquvi-scripts SUBDIR += libquvi-scripts09 SUBDIR += libquvi09 SUBDIR += librtmp SUBDIR += libsmacker SUBDIR += libtheora SUBDIR += libtuner SUBDIR += libv4l SUBDIR += libva SUBDIR += libva-intel-driver SUBDIR += libva-vdpau-driver SUBDIR += libvdpau SUBDIR += libvpx SUBDIR += libx264 SUBDIR += libxine SUBDIR += libxspf SUBDIR += libzen SUBDIR += linux-c6-libtheora SUBDIR += linux-c6-libv4l SUBDIR += linux-f10-libtheora SUBDIR += linux-f10-libv4l SUBDIR += linux-realplayer SUBDIR += linux-tsmuxer SUBDIR += linux-xmovie SUBDIR += linux_dvbwrapper-kmod SUBDIR += lives SUBDIR += livestreamer SUBDIR += lsdvd SUBDIR += lxdvdrip SUBDIR += m2tstoavi SUBDIR += m2vrequantiser SUBDIR += mediadownloader SUBDIR += mediainfo SUBDIR += mencoder SUBDIR += mimms SUBDIR += minitube SUBDIR += miro SUBDIR += mjpegtools SUBDIR += mjpg-streamer SUBDIR += mkclean SUBDIR += mkvalidator SUBDIR += mkvtoolnix SUBDIR += mkxvcd SUBDIR += mlt SUBDIR += mmpython SUBDIR += mmsclient SUBDIR += mmsrip SUBDIR += motion SUBDIR += mp3cd SUBDIR += mp4v2 SUBDIR += mpeg2codec SUBDIR += mpeg2play SUBDIR += mpeg4ip SUBDIR += mpeg_encode SUBDIR += mpeg_play SUBDIR += mpeg_stat SUBDIR += mpgtx SUBDIR += mplayer SUBDIR += mplayer-skins SUBDIR += mplayer2 SUBDIR += mplex SUBDIR += mps-youtube SUBDIR += mpv SUBDIR += msdl SUBDIR += msopenh264 SUBDIR += msx264 SUBDIR += mxflib SUBDIR += mythtv SUBDIR += mythtv-frontend SUBDIR += naludump SUBDIR += nordlicht SUBDIR += nxtvepg SUBDIR += obs-studio SUBDIR += oggvideotools SUBDIR += ogmrip SUBDIR += ogmtools SUBDIR += omxplayer SUBDIR += opencinematools SUBDIR += openh264 SUBDIR += openquicktime SUBDIR += openshot SUBDIR += oqtencoder SUBDIR += oqtplayer SUBDIR += oscam SUBDIR += p5-Audio-M4P SUBDIR += p5-FFmpeg-Command SUBDIR += p5-FLV-Info SUBDIR += p5-File-Format-RIFF SUBDIR += p5-GStreamer SUBDIR += p5-MP4-Info SUBDIR += p5-Net-UPnP SUBDIR += p5-Subtitles SUBDIR += p5-Umph-Prompt SUBDIR += p5-Video-OpenQuicktime SUBDIR += pHash SUBDIR += phonon SUBDIR += phonon-designerplugin SUBDIR += phonon-gstreamer SUBDIR += phonon-vlc SUBDIR += phonon-xine SUBDIR += photofilmstrip SUBDIR += php-pHash SUBDIR += pitivi SUBDIR += playd SUBDIR += plexhometheater SUBDIR += plexmediaserver SUBDIR += plexmediaserver-plexpass SUBDIR += plexpy + SUBDIR += plexwatch SUBDIR += podcastdl SUBDIR += poe SUBDIR += ppm2fli SUBDIR += projectx SUBDIR += ptx-kmod SUBDIR += pwcbsd SUBDIR += pwcview SUBDIR += py-enzyme SUBDIR += py-ffmpeg SUBDIR += py-gstreamer SUBDIR += py-gstreamer1 SUBDIR += py-guessit SUBDIR += py-kaa-base SUBDIR += py-kaa-imlib2 SUBDIR += py-kaa-metadata SUBDIR += py-librtmp SUBDIR += py-mlt SUBDIR += py-openlp SUBDIR += py-periscope SUBDIR += py-qt4-multimedia SUBDIR += py-qt4-phonon SUBDIR += py-qt5-multimedia SUBDIR += py-qt5-multimediawidgets SUBDIR += py-soco SUBDIR += py-subliminal SUBDIR += py-tvnamer SUBDIR += py3-gstreamer1 SUBDIR += pyjama SUBDIR += pymp SUBDIR += qmmp SUBDIR += qmmp-plugin-pack SUBDIR += qmmp-plugin-pack-qt5 SUBDIR += qmmp-qt5 SUBDIR += qt-faststart SUBDIR += qt4-mobility SUBDIR += qt4-multimedia SUBDIR += qt5-multimedia SUBDIR += qt5-phonon4 SUBDIR += qt5-phonon4-designerplugin SUBDIR += qt5-phonon4-gstreamer SUBDIR += qt5-phonon4-vlc SUBDIR += quark SUBDIR += quodlibet SUBDIR += quvi SUBDIR += quvi09 SUBDIR += rage SUBDIR += recmpeg SUBDIR += recordmydesktop SUBDIR += replex SUBDIR += rox-videothumbnail SUBDIR += rtmpdump SUBDIR += rubygem-clutter-gstreamer SUBDIR += rubygem-flvtool2 SUBDIR += rubygem-gstreamer SUBDIR += sabbu SUBDIR += schroedinger SUBDIR += smpeg SUBDIR += smpeg2 SUBDIR += smplayer SUBDIR += smplayer-skins SUBDIR += smplayer-themes SUBDIR += sms1xxx-kmod SUBDIR += smtube SUBDIR += snappy SUBDIR += spigot SUBDIR += spook SUBDIR += subtitlecomposer-kde4 SUBDIR += subtitleeditor SUBDIR += subtitleoffsetmodifier SUBDIR += subtitleripper SUBDIR += subtools SUBDIR += swfdec-gnome SUBDIR += syncplay SUBDIR += szap-s2 SUBDIR += tcmplex-panteltje SUBDIR += tivodecode SUBDIR += totem SUBDIR += totem-pl-parser SUBDIR += tovid SUBDIR += transcode SUBDIR += tstools SUBDIR += tvheadend SUBDIR += umph SUBDIR += umplayer SUBDIR += umr SUBDIR += v4l-utils SUBDIR += v4l_compat SUBDIR += vamps SUBDIR += vcdgear SUBDIR += vcdimager SUBDIR += vcdpad SUBDIR += vdpauinfo SUBDIR += vdr SUBDIR += vdr-plugin-control SUBDIR += vdr-plugin-eepg SUBDIR += vdr-plugin-epgsearch SUBDIR += vdr-plugin-extrecmenu SUBDIR += vdr-plugin-femon SUBDIR += vdr-plugin-infosatepg SUBDIR += vdr-plugin-iptv SUBDIR += vdr-plugin-markad SUBDIR += vdr-plugin-osdpip SUBDIR += vdr-plugin-osdteletext SUBDIR += vdr-plugin-reelchannelscan SUBDIR += vdr-plugin-remote SUBDIR += vdr-plugin-skinenigmang SUBDIR += vdr-plugin-sleeptimer SUBDIR += vdr-plugin-softhddevice SUBDIR += vdr-plugin-streamdev SUBDIR += vdr-plugin-ttxtsubs SUBDIR += vdr-plugin-upnp SUBDIR += vdr-plugin-vdrmanager SUBDIR += vdr-plugin-vnsiserver SUBDIR += vdr-plugin-wirbelscan SUBDIR += vdr-plugin-xineliboutput SUBDIR += vdr-plugin-xvdr SUBDIR += vdr-plugins SUBDIR += vic SUBDIR += vid.stab SUBDIR += vlc SUBDIR += vlc-qt4 SUBDIR += vstream-client SUBDIR += vtkmpeg2encode SUBDIR += w_scan SUBDIR += webcamd SUBDIR += win32-codecs SUBDIR += winff SUBDIR += x264 SUBDIR += x265 SUBDIR += xanim SUBDIR += xawtv SUBDIR += xfce4-parole SUBDIR += xine SUBDIR += xmms SUBDIR += xmms-skins SUBDIR += xmms-skins-huge SUBDIR += xporthdmv SUBDIR += xtheater SUBDIR += xvid SUBDIR += yamdi SUBDIR += zoneminder .include Index: head/multimedia/plexwatch/Makefile =================================================================== --- head/multimedia/plexwatch/Makefile (nonexistent) +++ head/multimedia/plexwatch/Makefile (revision 412010) @@ -0,0 +1,56 @@ +# Created by: ultima +# $FreeBSD$ + +PORTNAME= plexWatch +PORTVERSION= 0.3.3 +DISTVERSIONPREFIX= v +CATEGORIES= multimedia + +MAINTAINER= ultima1252@gmail.com +COMMENT= Notify, Log Now Playing and Watched content from a Plex Media Server + +RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ + p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \ + p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ + p5-Time-Duration>=0:${PORTSDIR}/devel/p5-Time-Duration \ + p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https + +USES= perl5 shebangfix +SHEBANG_FILES= plexWatch.pl + +USE_GITHUB= yes +GH_ACCOUNT= ljunkie +NO_BUILD= yes + +SUB_FILES= pkg-message + +OPTIONS_DEFINE= EMAIL GNTP IPLOG TWITTER +OPTIONS_DEFAULT= + +EMAIL_RUN_DEPENDS= p5-Net-SMTPS>=0:${PORTSDIR}/mail/p5-Net-SMTPS +EMAIL_DESC= Email support + +GNTP_RUN_DEPENDS= p5-Growl-GNTP>=0:${PORTSDIR}/net/p5-Growl-GNTP +GNTP_DESC= Growl GNTP support + +IPLOG_RUN_DEPENDS= p5-File-ReadBackwards>=0:${PORTSDIR}/devel/p5-File-ReadBackwards +IPLOG_DESC= Client IP logging support + +TWITTER_RUN_DEPENDS= p5-Net-Twitter-Lite>=0:${PORTSDIR}/net/p5-Net-Twitter-Lite \ + p5-Net-OAuth>=0:${PORTSDIR}/net/p5-Net-OAuth +TWITTER_DESC= Twitter support + +post-patch: + ${REINPLACE_CMD} "s|%%ETCDIR%%|${ETCDIR}|" ${WRKSRC}/plexWatch.pl + ${REINPLACE_CMD} "s|/opt/plexWatch|${DATADIR}|" ${WRKSRC}/config.pl-dist + +do-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${MKDIR} -m 777 ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/plexWatch.pl ${STAGEDIR}${PREFIX}/sbin/ + ${INSTALL_DATA} ${WRKSRC}/config.pl-dist ${STAGEDIR}${ETCDIR}/ + +.include Property changes on: head/multimedia/plexwatch/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/plexwatch/distinfo =================================================================== --- head/multimedia/plexwatch/distinfo (nonexistent) +++ head/multimedia/plexwatch/distinfo (revision 412010) @@ -0,0 +1,2 @@ +SHA256 (ljunkie-plexWatch-v0.3.3_GH0.tar.gz) = 15cb0eb9f7376ae2f409e9dbb6fa5c5bb5d3549c69fe1e36e48ac016a81c38d4 +SIZE (ljunkie-plexWatch-v0.3.3_GH0.tar.gz) = 6521319 Property changes on: head/multimedia/plexwatch/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/plexwatch/files/patch-plexWatch.pl =================================================================== --- head/multimedia/plexwatch/files/patch-plexWatch.pl (nonexistent) +++ head/multimedia/plexwatch/files/patch-plexWatch.pl (revision 412010) @@ -0,0 +1,21 @@ +--- plexWatch.pl.orig 2016-03-26 19:12:31 UTC ++++ plexWatch.pl +@@ -42,15 +42,14 @@ if ($^O ne 'MSWin32') { + ## end + + ## load config file +-my $dirname = dirname(__FILE__); +-if (!-e $dirname .'/config.pl') { +- my $msg = "** missing file $dirname/config.pl. Did you move edit config.pl-dist and copy to config.pl?"; ++if (!-e '%%ETCDIR%%/config.pl') { ++ my $msg = "** missing file %%ETCDIR%%/config.pl. Did you move edit config.pl-dist and copy to config.pl?"; + &DebugLog($msg,1) if $msg; + exit; + } + our ($data_dir, $server, $port, $appname, $user_display, $alert_format, $notify, $push_titles, $backup_opts, $myPlex_user, $myPlex_pass, $server_log, $log_client_ip, $debug_logging, $watched_show_completed, $watched_grouping_maxhr, $count_paused, $inc_non_library_content, @exclude_library_ids); + my @config_vars = ("data_dir", "server", "port", "appname", "user_display", "alert_format", "notify", "push_titles", "backup_opts", "myPlex_user", "myPlex_pass", "server_log", "log_client_ip", "debug_logging", "watched_show_completed", "watched_grouping_maxhr", "count_paused", "exclude_library_ids"); +-do $dirname.'/config.pl'; ++do '%%ETCDIR%%/config.pl'; + + if (!$data_dir || !$server || !$port || !$appname || !$alert_format || !$notify) { + ## TODO - make this information a little more useful! Property changes on: head/multimedia/plexwatch/files/patch-plexWatch.pl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/plexwatch/files/pkg-message.in =================================================================== --- head/multimedia/plexwatch/files/pkg-message.in (nonexistent) +++ head/multimedia/plexwatch/files/pkg-message.in (revision 412010) @@ -0,0 +1,8 @@ +plexWatch needs to run frequently, this is a suggested cron job + +* * * * * nobody %%PREFIX%%/sbin/plexWatch.pl + + +Optionally, if you want recently added notifications, add this + +*/15 * * * * nobody %%PREFIX%%/sbin/plexWatch.pl --recently_added=movie,tv Property changes on: head/multimedia/plexwatch/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +ON \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/plexwatch/pkg-descr =================================================================== --- head/multimedia/plexwatch/pkg-descr (nonexistent) +++ head/multimedia/plexwatch/pkg-descr (revision 412010) @@ -0,0 +1,4 @@ +Notify and log 'Now Playing', 'Watched' and 'Recently Added' content +from a Plex Media Server (...and more) + +WWW: https://github.com/ljunkie/plexWatch Property changes on: head/multimedia/plexwatch/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/plexwatch/pkg-plist =================================================================== --- head/multimedia/plexwatch/pkg-plist (nonexistent) +++ head/multimedia/plexwatch/pkg-plist (revision 412010) @@ -0,0 +1,3 @@ +%%ETCDIR%%/config.pl-dist +sbin/plexWatch.pl +@dir %%DATADIR%% Property changes on: head/multimedia/plexwatch/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property