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

Some mandatory dependencies to add on README #2

Open
tiago4171 opened this issue May 7, 2018 · 1 comment
Open

Some mandatory dependencies to add on README #2

tiago4171 opened this issue May 7, 2018 · 1 comment
Assignees
Labels
major Major issue

Comments

@tiago4171
Copy link

Hi,
First of all I have to congratulate you for nice initiative of this project. I hope that your project grows more and more.

I Was testing the program and I found some mandatory dependencies
They are:
ffmpeg
chromium-browser

Let me explain why.
ffmpeg provides "ffprobe" and chromium-browser prevents this error:

tiago at Main-PC in ~/Music
↪ llamedl -u "https://www.youtube.com/watch?v=jFoMK49H0Oc"
Traceback (most recent call last):
  File "/usr/local/bin/llamedl", line 11, in <module>
    load_entry_point('LlameDL==0.1.0', 'console_scripts', 'llamedl')()
  File "/usr/local/lib/python3.6/dist-packages/LlameDL-0.1.0-py3.6.egg/llamedl/LLameDL.py", line 73, in main
    llamedl.main()
  File "/usr/local/lib/python3.6/dist-packages/LlameDL-0.1.0-py3.6.egg/llamedl/LLameDL.py", line 33, in main
    self.chrome = IChrome(bookmarks_path)
  File "/usr/local/lib/python3.6/dist-packages/LlameDL-0.1.0-py3.6.egg/llamedl/ichrome.py", line 22, in __init__
    self.bookmarks = bookmarks_path
  File "/usr/local/lib/python3.6/dist-packages/LlameDL-0.1.0-py3.6.egg/llamedl/ichrome.py", line 34, in bookmarks
    with open(bookmarks_path) as json_data:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tiago/.config/chromium/Default/Bookmarks'

But it have some things to do. To generate the Bookmarks file we need to do a process. Follow this how to:

  1. Install 'chromium-browser' on your Linux distribution
  2. Open chromium-browser
  3. Add a bookmark
    With this, you'll generate the bookmark file

When I was typing this issue, I discovered something. If you do not want to include Chromium Browser as a dependency to your program on do that process above, just provide Bookmarks file at this location:

$HOME/.config/chromium/Default/

and the program should work fine.
Here is an example of Bookmarks file:

{
   "checksum": "39915c79b7f2349447f0e3644fe5c26a",
   "roots": {
      "bookmark_bar": {
         "children": [  ],
         "date_added": "13170177110745130",
         "date_modified": "13170177111990968",
         "id": "1",
         "name": "Barra de favoritos",
         "type": "folder"
      },
      "other": {
         "children": [  ],
         "date_added": "13170177110745136",
         "date_modified": "0",
         "id": "2",
         "name": "Outros favoritos",
         "type": "folder"
      },
      "synced": {
         "children": [  ],
         "date_added": "13170177110745137",
         "date_modified": "0",
         "id": "3",
         "name": "Favoritos de dispositivos móveis",
         "type": "folder"
      }
   },
   "version": 1
}

Hope this helps. Thank you, and Keep Developing!!

@westscz westscz self-assigned this May 7, 2018
@westscz westscz added the major Major issue label May 7, 2018
@westscz
Copy link
Owner

westscz commented May 7, 2018

Thanks for this words, this need to be fix as soon as possible! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Major issue
Projects
None yet
Development

No branches or pull requests

2 participants