manojmj92 / subtitle-downloader

Python script to automatically download subtitles for any movie/tv series episode.
GNU General Public License v3.0
780 stars 238 forks source link

Action file for Dolphin/KDE5 #56

Open ghost opened 6 years ago

ghost commented 6 years ago

I wanted to contribute with instructions on how to add the "Download Subtitle" item in the right-click context menu under Dolphin/KDE5

  1. Go in /home/<username>/.local/share/kservices5/ServiceMenus/
  2. Create the file DownloadSub.desktop
  3. Put the following content into the file. Substitute with the path to the repository
    
    [Desktop Entry]
    Type=Service
    ServiceTypes=KonqPopupMenu/Plugin,video/*
    Actions=DownSub

[Desktop Action DownSub] Name=Download Subtitles Icon=kfm Exec=/subtitle-downloader.py "%U"



4. Make the file executable
5. Close all instances of Dolphin and reopen it
6. Right click on a video file and go to the "Actions" sub-menu. You should find the item there
manojmj92 commented 6 years ago

Hey @raffam , you can issue a Pull Request for the same. I'll merge it!