[Support] AMJidovu - GoAutoYT


Recommended Posts

3 hours ago, INTEL said:

If I'm downloading playlist, what should I put in custom download path so it doestn't create folder for every song in playlist, instead just one folder where whole playlist should be downloaded?

/playlists/audio/%(title)s.%(ext)s

Replace the name "audio" with the desired folder name or add a desired folder name after the audio.

/playlists/audio/mixed/%(title)s.%(ext)s

And replace the "mixed" folder name with the folder of your choosing.

And you need to use "Enter custom youtube-dl output" to work.

Do not forget to tick "Download the entire playlist (will ignore youtube-dl errors so it doesn't crash)" else will download one video and stop, then will wait for a channel check until next video download and checks can be from minutes to hours to days , depends on the setup you made.

Edited by Jidovu Marius Adrian
Link to comment
On 12/13/2019 at 11:45 AM, Jidovu Marius Adrian said:

/playlists/audio/%(title)s.%(ext)s

Replace the name "audio" with the desired folder name or add a desired folder name after the audio.


/playlists/audio/mixed/%(title)s.%(ext)s

And replace the "mixed" folder name with the folder of your choosing.

And you need to use "Enter custom youtube-dl output" to work.

Do not forget to tick "Download the entire playlist (will ignore youtube-dl errors so it doesn't crash)" else will download one video and stop, then will wait for a channel check until next video download and checks can be from minutes to hours to days , depends on the setup you made.

Whenever I try to enter in a custom path, it just adds my custom path to the default path, it doesn't replace it. 

Link to comment

No matter what i set the download folder path to be, or what customised path I set, I'm always getting the same error messages in the logs.

I've tried a two different youtube channels but get the same error.

{"level":"info","msg":"received a request to add a target","time":"2019-12-14T08:09:58Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://youtube.com/users/destinws2","time":"2019-12-14T08:09:58Z"}
{"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2019-12-14T08:10:02Z"}

{"level":"info","msg":"adding {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s} to DB","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"DOWNLOAD: {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"downloading video","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=any] downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2}","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:02Z"}
{"level":"error","msg":"exit status 1/usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:05Z"}

{"level":"info","msg":"updating latest downloaded video id","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"latest downloaded video id updated successfully","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"updating download history","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"returning response: {Error ERROR_DOWNLOADING There was an error downloading the target Download: DownloadVideo: exit status 1}","time":"2019-12-14T08:10:05Z"}

{"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:43Z"}

 

Link to comment
3 minutes ago, Redxd said:

No matter what i set the download folder path to be, or what customised path I set, I'm always getting the same error messages in the logs.

I've tried a two different youtube channels but get the same error.


{"level":"info","msg":"received a request to add a target","time":"2019-12-14T08:09:58Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://youtube.com/users/destinws2","time":"2019-12-14T08:09:58Z"}
{"level":"error","msg":"From GetMetadata(): unexpected end of JSON input","time":"2019-12-14T08:10:02Z"}

{"level":"info","msg":"adding {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s} to DB","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"DOWNLOAD: {https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"downloading video","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=any] downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2}","time":"2019-12-14T08:10:02Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:02Z"}
{"level":"error","msg":"exit status 1/usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=any] -o downloads/%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s https://youtube.com/users/destinws2","time":"2019-12-14T08:10:05Z"}

{"level":"info","msg":"updating latest downloaded video id","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"latest downloaded video id updated successfully","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"updating download history","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:05Z"}
{"level":"info","msg":"returning response: {Error ERROR_DOWNLOADING There was an error downloading the target Download: DownloadVideo: exit status 1}","time":"2019-12-14T08:10:05Z"}

{"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:06Z"}
{"level":"info","msg":"got this data: {channels}","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"getting all channels from channels.json","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"successfully read all channels","time":"2019-12-14T08:10:43Z"}
{"level":"info","msg":"[{https://youtube.com/users/destinws2 Video And Audio any [] 12-14-2019 08:10:02 Channel /%(uploader)s_[UC2LVhJH_9cT2XKp0VAfsKOQ]/%(title)s_[%(id)s].%(ext)s%(uploader)s/video/%(title)s.%(ext)s}]","time":"2019-12-14T08:10:43Z"}

 

Can you make a picture with the settings you are using and post it ?

Link to comment
1 minute ago, Jidovu Marius Adrian said:

Do you add any custom folder or custom format ?

I have tried a few different custom paths in troubleshooting this.

With a /channels/ folder (created and not created)

No channels folder so just /

/Downloads/ but then in the logs it must already prefix Downloads show it was showing up as downloads/downloads/

Link to comment
36 minutes ago, Redxd said:

I have tried a few different custom paths in troubleshooting this.

With a /channels/ folder (created and not created)

No channels folder so just /

/Downloads/ but then in the logs it must already prefix Downloads show it was showing up as downloads/downloads/

Adding "Channels" tab to the bug list.

 

This issue is with youtube-dl and latest youtube changes.

Edited by Jidovu Marius Adrian
Link to comment
2 hours ago, AndreasLindroth said:

Im most likley just stupied, but as soon as i try to start this i just get this

 


time="2019-12-18T12:55:40Z" level=error msg="database.load: could not read file: open config/playlists.json: no such file or directory"

time="2019-12-18T12:55:40Z" level=fatal msg="<nil>"

 

It is a bug on this version, it should be fixed on the next version release.

In order to fix it you have to create 3 files and place them in the config directory of the mounted config folder.

Download the attached files and put them in:

/mnt/user/appdata/go-auto-yt/config

Assuming you did not change the config folder of the app in the docker template, if you did then add them in the folder you specified.

channels.json playlists.json videos.json

Link to comment

Looks like the gui adds "[ext=any]" which isn't a supported option for youtube-dl

If you remove it from the config it'll just stick in "[ext=]" which of course also breaks

"Any" should just leave out the -f option as youtube-dl defaults to "-f bestvideo+bestaudio/best" which will try to get the best of both and convert them or grab the best if it's missing conversion tools

 

Edited by melmurp
details
Link to comment
6 minutes ago, Jidovu Marius Adrian said:

Does it work for you to download an entire channel using mp4 for video and audio option ?

Yup

 

Here are the calls
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg","time":"2019-12-19T00:37:41Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg Video And Audio Uploads from 2NE1 mp4 [] 12-19-2019 00:37:48 Channel /channels/%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"downloading video","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/channels/%(uploader)s/video/%(title)s.%(ext)s https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/channels/%(uploader)s/video/%(title)s.%(ext)s

 

Looks like it grabs the last file, I'm assuming to update the json record, and it's not using the -f option then it makes the call to grab all the files using the -f with mp4 set.

 

Noticed that if you click "check" on the gui it ignores the json settings and uses the ones in the drop down

Link to comment
25 minutes ago, melmurp said:

Yup

 

Here are the calls
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg","time":"2019-12-19T00:37:41Z"} {"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg Video And Audio Uploads from 2NE1 mp4 [] 12-19-2019 00:37:48 Channel /channels/%(uploader)s/video/%(title)s.%(ext)s}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"downloading video","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/channels/%(uploader)s/video/%(title)s.%(ext)s https://www.youtube.com/channel/UCnsQjCVzmEd-YvlQZbo6zCg}","time":"2019-12-19T00:37:48Z"} {"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/channels/%(uploader)s/video/%(title)s.%(ext)s

 

Looks like it grabs the last file, I'm assuming to update the json record, and it's not using the -f option then it makes the call to grab all the files using the -f with mp4 set.

 

Noticed that if you click "check" on the gui it ignores the json settings and uses the ones in the drop down

Are you using a proxy by any chance ?

Link to comment

I'm able to get the whole channel to download now by choose the quality as MP4, it doesn't work when set to 'Any'. With MP4 selected the videos download in the background but my guess is the 'channel' dosn't get added to the bottom of the gui until all videos are downloaded.

I have noticed that all the videos it does download don't have any audio. Nothing in the logs about it.

{"level":"info","msg":"received a request to add a target","time":"2019-12-20T11:02:27Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:27Z"}
{"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"}

 

Screen Shot 2019-12-20 at 6.52.38 pm.png

Link to comment
17 minutes ago, Redxd said:

{"level":"info","msg":"received a request to add a target","time":"2019-12-20T11:02:27Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl -j --playlist-end 1 https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:27Z"}
{"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"DOWNLOAD: {https://www.youtube.com/user/destinws2 Video And Audio Uploads from SmarterEveryDay mp4 [] 12-20-2019 11:02:35 Channel %(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"downloading video","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"{ youtube-dl --ignore-errors bestvideo[ext=mp4] downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2}","time":"2019-12-20T11:02:35Z"}
{"level":"info","msg":"executing youtube-dl command: /usr/local/bin/youtube-dl --ignore-errors -f bestvideo[ext=mp4] -o downloads/%(uploader)s [%(channel_id)s]/%(upload_date)s %(title)s_[%(id)s].%(ext)s https://www.youtube.com/user/destinws2","time":"2019-12-20T11:02:35Z"}

 

I just tried manually within the docker using the same command but changing the 'bestvideo[ext=mp4]' to just 'best'. This downloaded normal like any other time but it included video. I think when choosing the 'bestvideo' option it's just doing video and it may also be missing the audio part and then needing to join the two?

Link to comment

This would be a fantastic tool to use. Thank you for working on this.

 

I tried using it but ran into some errors.

 

I tried the channel download feature and it will only work when selecting MP4. Also when I add a channel I simply get a spinning wheel inside the ADD button and no indication that the channel was added. The downloads folder does get populated with videos as it downloads them though.

 

I did not try the playlist feature.

 

The individual video feature does not work for me. When I change the GUI from Audio Only, the default, to Video and Audio the drop down for format does not change and I am unable to select MP4.

Link to comment
12 hours ago, 1tieraboveidiot said:

This would be a fantastic tool to use. Thank you for working on this.

 

I tried using it but ran into some errors.

 

I tried the channel download feature and it will only work when selecting MP4. Also when I add a channel I simply get a spinning wheel inside the ADD button and no indication that the channel was added. The downloads folder does get populated with videos as it downloads them though.

 

I did not try the playlist feature.

 

The individual video feature does not work for me. When I change the GUI from Audio Only, the default, to Video and Audio the drop down for format does not change and I am unable to select MP4.

There will be some change/s made to the "Channels" tab with the next version release.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.