Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated "Watched" header when no data output #120

Open
bluegate010 opened this issue Feb 9, 2016 · 0 comments
Open

Duplicated "Watched" header when no data output #120

bluegate010 opened this issue Feb 9, 2016 · 0 comments

Comments

@bluegate010
Copy link

When providing a --start and --stop flag to accompany a --watched request, and no watched data is available, the ====... header is duplicated.

# /opt/plexWatch/plexWatch.pl --watched --start="2 days ago" --stop="today" 

======================================== Watched ========================================

Date Range: Sat Feb  6 00:00:00 2016 through Mon Feb  8 00:00:00 2016

======================================== Watched ========================================

Date Range: Sat Feb  6 00:00:00 2016 through Mon Feb  8 00:00:00 2016

* nothing watched


# /opt/plexWatch/plexWatch.pl --watched --stop="2 days ago"

======================================== Watched ========================================

Date Range: Anytime through Sat Feb  6 00:00:00 2016

======================================== Watched ========================================

Date Range: Anytime through Sat Feb  6 00:00:00 2016

* nothing watched

# /opt/plexWatch/plexWatch.pl --watched --start="2 days ago" --stop="now"

======================================== Watched ========================================

Date Range: Sat Feb  6 00:00:00 2016 through Mon Feb  8 19:33:10 2016

User: bluegate010
 Mon Feb  8 17:12:28 2016: bluegate010 watched ...
 Mon Feb  8 18:14:06 2016: bluegate010 watched ...
 Mon Feb  8 18:50:07 2016: bluegate010 watched ...

# /opt/plexWatch/plexWatch.pl --watched --start="2 days from now"

======================================== Watched ========================================

Date Range: Wed Feb 10 19:40:00 2016 through Now

======================================== Watched ========================================

Date Range: Wed Feb 10 19:40:00 2016 through Now

* nothing watched
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant