pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Skip to content This repository



Module Name:	pkgsrc-wip
Committed By:	Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sat Oct 3 01:14:27 2015 +0100
Changeset:	1e7e1dc19ea3e21c37e159aa87460aa9a3a64868

Modified Files:
	mps-youtube/Makefile
	mps-youtube/PLIST
	mps-youtube/distinfo

Log Message:
Skip to content
This repository

    Explore
    Features
    Enterprise
    Pricing

107
1,238

    113

mps-youtube/mps-youtube

mps-youtube/CHANGELOG
@ids1024 ids1024 on Jun 1 Update CHANGELOG

2 contributors
@np1
@ids1024
280 lines (195 sloc) 9.81 KB
Version 0.2.5
1 June 2015

- Support python 3 only (will not run with python 2)
- Fix progress bar bug on Windows (#215, #223)
- Fix bug in playlist search (#282)
- Add user_order setting for separate order of user searches (lol768) (#277)
- Add mix command (lol768) (#241, #283)
- Add page count with total number of pages and current page (JKatzwinkel)
- Fix UnicodeEncodeError on non-unicode terminals
- Install .desktop in setup.py so it does not have to be installed manually
    required for Ubuntu sound menu support

-------------------------------------------------------------------------------

Version 0.2.4
13 May 2015

 - Fix issue with rate-limiting in "album" command (#217)
 - Implement support for MPRIS (hrnr and ids1024) (#191, #210)
 - Fix display issue with small terminal width (#215)
 - Use version 3 of the youtube api (JKatzwinkel, ids1024, and lol768) (#256)
     version 2 was disabled by youtube and no longer works

-------------------------------------------------------------------------------

Version 0.2.3
17 February 2015

 - Fix issue with opening old playlist file (#214)
 - Fix issue with "set" command
 - Metadata tagging of downloaded audio files
     requires ffmpeg or avconv
     early implementation, uses YouTube video title, needs more work

-------------------------------------------------------------------------------

Version 0.2.2
14 February 2015

- Implement skip to previous track (ids1024) #175 #18 #14
    Use > and < keys for next and prev track, q for quit (was ctrl-c)
    mpv / mplayer input.conf can be imported to use custom keymappings

- Implement optional external download application (ids1024 and np1) #198 #132
    enter "help dl-command" for more info

- Show stream quality on status line (Brebiche38) #134 #163

- Implement support for creating Windows builds with py2exe (ids1024) #190
    Use setup.py in py2exe branch

- Fix progress bar for mpv 0.7 (ids1024) #155 #161
    Resolves issues with playback looping

- Fix mps-youtube does not run on FreeBSD (nivit)

- Fix YouTube comments overshoot window size

- Fix issue with audio remux when using `d` download command

-------------------------------------------------------------------------------

Version 0.2.1
27 November 2014

[Bugfix] - Detect installed player on installation (#149)

-------------------------------------------------------------------------------

Version 0.2.0
25 November 2014

- Auto detect terminal window size

- Transcode audio to MP3 and other formats (requires ffmpeg or avconv)

- Enabled da and dv commands for playlist search results

- Added dapl and dvpl to download YouTube playlist audio/video
    by url/id to a separate subdirectory (mtahmed) #110

- Progress indicator now works with mpv (previously only mplayer)

- Added option to show system notifications (Alex Nisnevich) #95
    (can be used with libnotify - notify-send on linux)

- Added overwrite true/false option for downloads (mtahmed) #93
    (skips download if downloaded file already exists)

- Added copy to clipboard feature #97
    (requires python xerox module and xclip on linux or pywin32 on windows)

- Remux audio downloads for better file compatibility (#135)

[Bugfix] - Accept two-character length usernames (#99)

[Bugfix] - Expand ~ character in download directory setting (punchagan)

[Bugfix] - Don't truncate filename (YoussF) #122

[Bugfix] - Exit with correct status code

-------------------------------------------------------------------------------

Version 0.01.46
May 18 2014

 - Added c <number> to view comments for a video
    (first 50 comments, no reply-comments)

 - Added feature to match album tracks using MusicBrainz (vixus0)
    To search albums, enter "album" optionally followed by album title

 - Custom formatted search result list using "set columns" command
   Optionally shows: rating, likes, dislikes, views, user, date, category
   and comments (number of) in search results

 - Added "set order <relevance|views|rating|date>" command for
     specifying search result ordering

 - Added "set console-width" for setting output width (default 80)

 - Added uploaded date in video info display (request #64)

 - Added likes / dislikes in video info display

-------------------------------------------------------------------------------

Version 0.01.44
Mar 27 2014

 - Added max_res config item for selecting video resolution (request 56)
 - Added window_size and window_pos for selecting size / position of player
 - Improved handling of playlist file read/write (issue 66)
 - Revert to lower quality on unavailable/corrupt streams (issue 65)
 - Enabled multiple invocation commands (comma separated) (request 61)
    Eg: mpsyt //the doors, 1, shuffle, 1-3-a, quit
 - Improved url caching
 - Added shuffle command (no arguments, shuffles displayed items)
 - Handle 'video not available in your country' during multiple downloads
 - Fix UnicodeDecodeError in mplayer progress parsing (issue 58)
 - Fix UnicodeEncodeError under Windows with Python 2.7 (issue 59)

-------------------------------------------------------------------------------

Version 0.01.41
Mar 14 2014

 - new configuration option, max_results - sets number of returned results
    (1 - 50)
 - pl <url> now accepts YouTube playlist id's as well as url's
 - Fix error in download of .m4a files when mplayer is set as player.
 - Added option for downloading multiple items
     eg. da 1-4 or dv 3,5,6

-------------------------------------------------------------------------------

Version 0.01.40
Mar 11 2014

 - Bugfix release, corrects UnicodeDecode error

-------------------------------------------------------------------------------

Version 0.01.39
Mar 10 2014

Features:
 - Added time / progress bar indicator. Big thanks to Thomas LÉVEIL!
    (mplayer only)
 - Added command to retrieve YouTube user playlists;
    userpl {username} or upl {username}
 - Added command to retrieve related videos; r{number}
 - playurl now respects -f, -w, and -a flags (fullscreen, window or audio)
 - Implemented input history persistence (uses readline, linux only)
 - Implemented non-interactive mode for command line invocation with playurl
 - Implemented less interactive mode for command line invocation with dlurl

Changes:
 - // or .. prefix to search for YouTube playlists (was plsearch / pls)

Help / Documentation:
 - help <command> will show relevant help topic page e.g., help dlurl
 - Documented configuration options ("set" commands)
 - Re-authored some help categories
 - Changed help <number> to help <topic>, removed menu from help pages

Bugfixes
 - mplayer / mpv window now displays content title instead of url
 - Fixed issue with Python3 terminal output on playback ctrl-c interrupt
 - Fixed issue with debug mode not logging to file
 - Changed year format in YT playlist result screen to last two digits.
      (Under some environments it was showing 4-digit years)

-------------------------------------------------------------------------------

Version 0.01.38
Mar 5 2014

 - Added i<number> for YT playlist information display
 - Added stream url preloading for first item of opened YT playlists
 - Added last-updated date to YT playlist search result list
 - Fixed UnicodeError when run in non-UTF8 environments
 - Added more verbosity to --version command line option
 - Added --debug command line option (logs to <tmpdir>/mpsyt.log)

-------------------------------------------------------------------------------

Version 0.01.37
Mar 2 2014

 - Excluded YouTube paid videos from search results
 - Added "pl <playlist url>" command to open YouTube playlist url
 - Added "plsearch <query>" command to search for YouTube playlists
 - Added "dump" command to show entire YT playlist (useful for saving locally)
 - Added "undump" command to undo dump (re-paginates YT playlist items)
 - Added "u <number>" command to list uploads by uploader of <number>
 - Added "url <YouTube url>" command for retrieving a specific YT video
 - Added "playurl <YouTube url>" command for directly playing a YT video
 - Added "dlurl <YouTube url>" command for directly downloading a YT video
 - Changed command to list user uploads, new syntax is "user <username>"
 - Added mpsyt --version flag for printing version info
 - Added mpsyt --help flag for printing help text
 - Fixed indentation bug when scrolling through readline history

-------------------------------------------------------------------------------

Version 0.01.36
Feb 27 2014

 - Wait for preloading item if it is selected while preloading
 - Fix bug where -a audio override is sometimes ignored

-------------------------------------------------------------------------------

Version 0.01.35
Feb 25 2014

 - Faster opening of audio streams with mpv
    (--demuxer-lavf-o=fflags=+ignid argument added for m4a streams)

 - Faster opening of audio streams with mplayer
    (reject m4a streams, prefer ogg streams)
    (fallback to video stream and suppress video when no ogg available)

-------------------------------------------------------------------------------

Version 0.01.34
Feb 22 2014

 - Fix bug: fails when no playlist file exists

-------------------------------------------------------------------------------

Version 0.01.33
Feb 22 2014

 - Changed structure of playlist file. Now consumes KB's rather than MB's
 - Same playlist file shared between Python2.7+ and Python3+ (was separate)
 - Improved display alignment for Russian text
 - Preload of url fails silently on unobtainable items (previously crashed)
 - Added prompt to mux audio on m4v download (experimental)

-------------------------------------------------------------------------------

Version 0.01.32
Feb 17 2014

 - Improve display alignment with certain unicode characters
 - Fix crash when using 'set' command on Windows (thomasleveil)

-------------------------------------------------------------------------------

Version 0.01.31
Feb 13 2014

 - Migrate location of config directory to reflect new name
   (~/.config/mps-youtube)

    Status API Training Shop Blog About Pricing

    © 2015 GitHub, Inc. Terms Privacy Security Contact Help

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1e7e1dc19ea3e21c37e159aa87460aa9a3a64868

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mps-youtube/Makefile | 13 ++++++++++---
 mps-youtube/PLIST    | 18 +-----------------
 mps-youtube/distinfo |  6 +++---
 3 files changed, 14 insertions(+), 23 deletions(-)

diffs:
diff --git a/mps-youtube/Makefile b/mps-youtube/Makefile
index 0a613e7..a7c8a57 100644
--- a/mps-youtube/Makefile
+++ b/mps-youtube/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2015/02/14 12:27:21 jihbed Exp $
+# $NetBSD$
 
-DISTNAME=	mps-youtube-0.2.2
+DISTNAME=	mps-youtube-0.2.5-2
 CATEGORIES=	multimedia net python
 MASTER_SITES=	https://pypi.python.org/packages/source/m/mps-youtube/
 
@@ -11,9 +11,16 @@ LICENSE=	gnu-gpl-v3
 
 DEPENDS+=	${PYPKGPREFIX}-pafy>=0.3.72:../../wip/py-pafy
 
-WRKSRC=		${WRKDIR}/mps-youtube-0.2.2
+WRKSRC=		${WRKDIR}/mps-youtube-0.2.5
 
 USE_LANGUAGES=	# none
 
+SUBST_CLASSES+=         paths
+SUBST_STAGE.paths=      pre-configure
+SUBST_SED.paths+=       -e 's,linux,netbsd6,g'
+SUBST_FILES.paths+=     setup.py
+SUBST_MESSAGE.paths=    Fixing header search paths
+
 .include "../../lang/python/egg.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mps-youtube/PLIST b/mps-youtube/PLIST
index 7fbdf9e..48d96a5 100644
--- a/mps-youtube/PLIST
+++ b/mps-youtube/PLIST
@@ -1,17 +1 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/14 12:27:21 jihbed Exp $
-bin/mpsyt
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/mps_youtube/__init__.py
-${PYSITELIB}/mps_youtube/__init__.pyc
-${PYSITELIB}/mps_youtube/__init__.pyo
-${PYSITELIB}/mps_youtube/main.py
-${PYSITELIB}/mps_youtube/main.pyc
-${PYSITELIB}/mps_youtube/main.pyo
-${PYSITELIB}/mps_youtube/terminalsize.py
-${PYSITELIB}/mps_youtube/terminalsize.pyc
-${PYSITELIB}/mps_youtube/terminalsize.pyo
+@comment $NetBSD$
diff --git a/mps-youtube/distinfo b/mps-youtube/distinfo
index bd7804f..47a7ad8 100644
--- a/mps-youtube/distinfo
+++ b/mps-youtube/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1 2015/02/14 12:27:21 jihbed Exp $
 
-SHA1 (mps-youtube-0.2.2.tar.gz) = aaeeedb8bececfa534e484250c4a0c62f93f8896
-RMD160 (mps-youtube-0.2.2.tar.gz) = 80baf39073f98a5866c55842ccffa7de7456c3d6
-Size (mps-youtube-0.2.2.tar.gz) = 47130 bytes
+SHA1 (mps-youtube-0.2.5-2.tar.gz) = 9453245617efa6459b4f29a11ed55e6cf08954c8
+RMD160 (mps-youtube-0.2.5-2.tar.gz) = 686bf8c87db09d042b6bead353f593be52116b1c
+Size (mps-youtube-0.2.5-2.tar.gz) = 54835 bytes


Home | Main Index | Thread Index | Old Index