From 30c0f00b86beafbc8332d0d6b2bd5cb4509a79f4 Mon Sep 17 00:00:00 2001 From: Raphael McSinyx Date: Tue, 29 Aug 2017 15:48:51 +0700 Subject: [PATCH] Clean up --- comp | 9 --------- omp/ie.py | 2 +- omp/omp.py | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/comp b/comp index 9422695..a4ee2d3 100755 --- a/comp +++ b/comp @@ -240,15 +240,6 @@ class Comp(Omp): curses.noecho() return b.decode() - def seek(self, amount, reference='relative', precision='default-precise'): - """Wrap mp.seek with a try clause to avoid crash when nothing is - being played. - """ - try: - self.mp.seek(amount, reference, precision) - except: - pass - def move(self, delta): """Move to the relatively next delta entry.""" if not (self.entries and delta): return diff --git a/omp/ie.py b/omp/ie.py index cdbe675..6775ffa 100644 --- a/omp/ie.py +++ b/omp/ie.py @@ -1,5 +1,5 @@ # ie.py - Omni Media Player infomation extractor -# This is a part of comp +# This file is part of comp # # comp is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as diff --git a/omp/omp.py b/omp/omp.py index 00efc5b..807d0ed 100644 --- a/omp/omp.py +++ b/omp/omp.py @@ -1,5 +1,5 @@ # omp.py - Omni Media Player meta object -# This is a part of comp +# This file is part of comp # # comp is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as