# Move files automatically after watching

**URL:** <https://forums.plex.tv/t/move-files-automatically-after-watching/31999>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [April 2, 2013, 1:25pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999 "2013-04-02T13:25:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rgchurch](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Rgchurch](https://forums.plex.tv/u/Rgchurch)\
**Post date:** [April 2, 2013, 1:25pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999/1 "2013-04-02T13:25:57Z")

</div>

Hi All,

&nbsp;

I'm a fairly new Plex user but a long time developer.&nbsp; After going from TiVo to BeyondTV to SageTV I have now finally arrived at a hybrid of Windows Media Center (I know I know but it records digital copy protected channels) and Plex as a front end.&nbsp; What I am doing is recording with WMC, then running a renamer to get the season and episode, then a converter to convert to .mkv format, then I watch the shows through Plex on Roku 2's.

&nbsp;

It's actually working quite nicely, plus of course I get the bonus of having streaming channels available as well.&nbsp; The one issue is, unlike a true DVR setup, it's hard to tell what's new versus what's been watched already.&nbsp; What I'm wondering is, with all of the hooks that Plex has for scripting, is there an easy way I can write a script to hook into the "watched" flag and move the file?&nbsp; This way I could have two TV sections, one for new stuff and one for watched, and it would make it a lot easier to see what new stuff has been recorded that I haven't watched yet.

&nbsp;

Thanks

&nbsp;

Rob

---

<div class="post-metadata">

**Author:** ![Gerk](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gerk/32/81980_2.png) [@Gerk](https://forums.plex.tv/u/Gerk)\
**Post date:** [April 8, 2013, 7:15pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999/2 "2013-04-08T19:15:59Z")

</div>

Most clients have an "unwatched" filter which should do pretty much what you are looking to do. &nbsp;Not sure if/where it would be found in the Roku client but I'll ask and see if anyone knows. &nbsp;That would be much easier than moving things around manually (and then having to rescan all of your libraries constantly).

---

<div class="post-metadata">

**Author:** ![Rgchurch](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Rgchurch](https://forums.plex.tv/u/Rgchurch)\
**Post date:** [April 8, 2013, 7:24pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999/3 "2013-04-08T19:24:02Z")

</div>

> Most clients have an "unwatched" filter which should do pretty much what you are looking to do. &nbsp;Not sure if/where it would be found in the Roku client but I'll ask and see if anyone knows. &nbsp;That would be much easier than moving things around manually (and then having to rescan all of your libraries constantly).

You're right there is an "unwatched" and "watched" section - I think that will do what I need.&nbsp; Now I need to find out how to mark whatever is in there now as watched so I can start from scratch.&nbsp; Thanks!

---

<div class="post-metadata">

**Author:** ![Gerk](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gerk/32/81980_2.png) [@Gerk](https://forums.plex.tv/u/Gerk)\
**Post date:** [April 8, 2013, 7:25pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999/4 "2013-04-08T19:25:26Z")

</div>

I would suggest using the Plex/Web client (or another one) to do that, it's complicated with the Roku but very quick and easy with Plex/Web (well complicated with the Roku to mark a bunch watched, after you've watched them it automatically does it though).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:09pm UTC](https://forums.plex.tv/t/move-files-automatically-after-watching/31999/5 "2019-12-20T23:09:23Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
