{"action":"opened","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/11054","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/11054/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/11054/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/11054/events","html_url":"https://github.com/rg3/youtube-dl/issues/11054","id":185918565,"number":11054,"title":"Stream to a media player and close it, --frag* files not deleted and re-used","user":{"login":"jalba69","id":15131985,"avatar_url":"https://avatars.githubusercontent.com/u/15131985?v=3","gravatar_id":"","url":"https://api.github.com/users/jalba69","html_url":"https://github.com/jalba69","followers_url":"https://api.github.com/users/jalba69/followers","following_url":"https://api.github.com/users/jalba69/following{/other_user}","gists_url":"https://api.github.com/users/jalba69/gists{/gist_id}","starred_url":"https://api.github.com/users/jalba69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalba69/subscriptions","organizations_url":"https://api.github.com/users/jalba69/orgs","repos_url":"https://api.github.com/users/jalba69/repos","events_url":"https://api.github.com/users/jalba69/events{/privacy}","received_events_url":"https://api.github.com/users/jalba69/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T13:06:41Z","updated_at":"2016-10-28T13:06:41Z","closed_at":null,"body":"## Please follow the guide below\r\n\r\n- You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly\r\n- Put an `x` into all the boxes [ ] relevant to your *issue* (like that [x])\r\n- Use *Preview* tab to see how your issue will actually look like\r\n\r\n---\r\n\r\n### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.10.26*. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.\r\n- [x ] I've **verified** and **I assure** that I'm running youtube-dl **2016.10.26**\r\n\r\n### Before submitting an *issue* make sure you have:\r\n- [ x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections\r\n- [ x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones\r\n\r\n### What is the purpose of your *issue*?\r\n- [ x] Bug report (encountered problems with youtube-dl)\r\n- [ ] Site support request (request for adding support for a new site)\r\n- [ x] Feature request (request for a new functionality)\r\n- [ ] Question\r\n- [ ] Other\r\n\r\n---\r\n\r\n### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your *issue*\r\n\r\n---\r\n\r\n### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:\r\n\r\nAdd `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):\r\n```\r\n$ youtube-dl -v <your command line>\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']\r\n[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251\r\n[debug] youtube-dl version 2016.10.26\r\n[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2\r\n[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n...\r\n<end of log>\r\n```\r\n\r\nHello, \r\n\r\nFirs let me say thank you for this wonderful tool,\r\n\r\nWhile using it to stream to a media player on some URL's it downloads --frag* files and if we stop the player for whatever reasons the --frag* files remain and are not deleted on exit.\r\n\r\nPlus i noticed that if i use a different video URL on the same website the --frag* files already stored and not deleted will be used for the first part of the video in the media player, so i end up with a video having mixed content from 2 videos.\r\n\r\nThe --frag* files created during a stream to media player simply needs to be deleted once the application is closed.\r\n\r\nMoreover is that we can't set the location path where we want to store those --frag* files, in my case i'd like to set them on my Ramdisk for multiples reasons :\r\n\r\nI have a custom button on my browser toolbar that automatically copy the browser page URL and calls a batch file where i pass the url to youtube-dl and open the media in MPC-HC, on a page having a video media i click the button on my toolbar and all is read in the media player, all this in a single click.\r\n\r\nIn this particular case the --frag* files will be created ( and remain ) in my browser installation folder, not on the youtube-dl folder like when i call the program from there directly like i also do, in fact i call it from different programs to stream to MPC-HC and end up with --frag* files stored all over the place.\r\n\r\nPlus using a Ramdisk for all those write/read small files will be a nice thing to speed up and ease the thing too.\r\n\r\nThanks a lot for your program, can't spend a day without using it :)\r\n"}}
{"actor":{"display_login":"jalba69"}}