Skip to content

Commit

Permalink
Updating copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinMorelli committed Mar 9, 2019
1 parent 641c72d commit c6bdb42
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion mediahandler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# EM MEDIA HANDLER
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions mediahandler/types/audiobooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down Expand Up @@ -264,7 +264,7 @@ def _clean_string(self, str_path):
logging.info("Cleaning up path string")

# Get query from folder path
find_book = str_path.rsplit(os.sep)[1:]
find_book = str_path.rsplit(os.path.sep)[1:]
string = find_book[-1]
logging.debug("Initial string: %s", string)

Expand Down
2 changes: 1 addition & 1 deletion mediahandler/types/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/types/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/types/tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion mediahandler/util/torrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# This file is a part of EM Media Handler
# Copyright (c) 2014-2018 Erin Morelli
# Copyright (c) 2014-2019 Erin Morelli
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
Expand Down
8 changes: 4 additions & 4 deletions tests/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def test_media_add_logging(self):
SystemExit, regex, self.media.add, self.tmp_file)

def test_process_output_good(self):
fro = os.path.join(os.sep, 'Downloaded', 'TV', 'At.Midnight.2015.01.08.720p.HDTV.x264.mkv')
to = os.path.join(os.sep, 'media', 'TV', '@midnight', 'Season 2015', '@midnight.S2015E01.mkv')
fro = os.path.join(os.path.sep, 'Downloaded', 'TV', 'At.Midnight.2015.01.08.720p.HDTV.x264.mkv')
to = os.path.join(os.path.sep, 'media', 'TV', '@midnight', 'Season 2015', '@midnight.S2015E01.mkv')
output = """Rename episodes using [TheTVDB]
Auto-detected query: [@midnight, At Midnight]
Fetching episode data for [@midnight]
Expand All @@ -135,8 +135,8 @@ def test_process_output_good(self):
self.assertEqual(new_file, expected)

def test_process_output_skipped(self):
fro = os.path.join(os.sep, 'Downloaded', 'TV', 'Downton.Abbey.5x03.720p.HDTV.x264.mkv')
to = os.path.join(os.sep, 'Media', 'TV', 'Downton Abbey', 'Season 5', 'Downton.Abbey.S05E03.mkv')
fro = os.path.join(os.path.sep, 'Downloaded', 'TV', 'Downton.Abbey.5x03.720p.HDTV.x264.mkv')
to = os.path.join(os.path.sep, 'Media', 'TV', 'Downton Abbey', 'Season 5', 'Downton.Abbey.S05E03.mkv')
output = """Rename episodes using [TheTVDB]
Auto-detected query: [Downton Abbey]
Fetching episode data for [Downton Abbey]
Expand Down

0 comments on commit c6bdb42

Please sign in to comment.