GithubHelp home page GithubHelp logo

tfree87 / pyrenamer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnsnails/pyrenamer

33.0 33.0 15.0 836 KB

pyRenamer is an application with a graphic interface designed for renaming many files at once. It supports renaming files with patterns, substitutions, inserting text, deleting text, or even manually renaming individual files.

Home Page: http://tfree87.github.io/pyRenamer/

License: GNU General Public License v2.0

Python 100.00%

pyrenamer's People

Contributors

fcastilloec avatar fperdigon avatar steveryherd avatar tfree87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pyrenamer's Issues

Proper packaging?

I didn´t know what conda was and why do we even need another way to install software, with the same silly limits like snaps: I can only access my home folder

Please consider another way to distribute that's easier and works on all files on my system, like the original pyRenamer?

[FEATURE]Access to root of drive

Firstly, thank you tfree87 for getting this onto Python3. I've been using the original pyRenamer for many years because nothing comes close and trying to get it working on newer *nix OS has been a challenge.

Today I successfully installed this on a fresh Kubuntu 2204 VM ... however

Describe the solution you'd like
Running from conda as per the install instructions only lets me look at my Home folder whereas the old pyRenamer had a Preferences panel that allowed users to select the root of the drive and the active directory.

This is an important feature for me as I can use multiple disk mounts and want to be able to access any of them from /media/username with pyRenamer.

I note that someone else has mentioned Home only visibility.

Screenshot of the old pyRenamer preferences panel ...
Screenshot 2023-04-22 144811

Flatpak Version

tfree87 its great to see someone stepping up and reviving pyRenamer.

pyRenamer is hands down the best renaming application i have ever used, and i have missed it sorely since it went unmaintained. i have been using an old .deb version in a old vm, but it would be really nice to have a simple native version.

i am not sure how difficult it would be to port pyRenamer over to flatpak, but i think it could solve two issues at the same time. first off, flatpak is what i would consider "proper packaging", and i think most people see it that way too. secondly, with a flatpak version of pyRenamer, in order to get root drive access all that needs to be done is for the user to add the proper permissions to the flatpak.

[BUG] Errors and deprecated warnings

Describe the bug
Some errors and deprecated warnings when running.

To Reproduce
Steps to reproduce the behavior:
Start pyrenamer.py from the command line: python3 pyrenamer.py

Expected behavior
No errors or warnings should be seen on the command line.

Screenshots

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 110, in _builder_connect_callback
    handler, args = _extract_handler_and_args(obj_or_map, handler_name)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 90, in _extract_handler_and_args
    raise AttributeError('Handler %s not found' % handler_name)
AttributeError: Handler on_view1_activate not found
pyrenamer.py:725: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
  self.builder.get_object("menu_rename").set_sensitive(False)
pyrenamer.py:583: DeprecationWarning: Gtk.Window.set_has_resize_grip is deprecated
  self.builder.get_object("main_window").set_has_resize_grip(False)
pyrenamer.py:583: DeprecationWarning: Gtk.Window.set_has_resize_grip is deprecated
  self.builder.get_object("main_window").set_has_resize_grip(False)
pyrenamer.py:1177: Warning: Source ID 45 was not found when attempting to remove it
  removed = GLib.source_remove(i)

The last two lines are only shown with different Source ID when closing the app via the GUI or just by interacting with the GUI and changing directories or after renaming.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.4

Additional context
I'm using python 3.8, which is the default for Ubuntu 20.04.4
The app is useable and renaming works without any issues.

I've been looking for a replacement for this app and the only thing I was able to find was a Docker container with the original pyRenamer. I'm very happy to see that you're picking up the development, and very thankful for it. Let me know if there's anything I can do to help. I'm happy to test/try anything you want.

[FEATURE] - EXIF data

The previous pyrenamer supported EXIF data, so for example when renaming images {year} would use the year the photo was taken.

Have you removed this functionality?

Add ISO date formats to list of patterns

Describe the solution you'd like
Built-in date formats do not follow the ISO date format. Adding the ISO date formats will make it easier for sorting files based on dates.

[FEATURE] conda environment file

It would be nice to run the software without the need to install new libraries on your system python installation.
Also, a solution for a distribution agnostic environment is needed since packages tend to be called differently on different Linux distributions. Also, the libs versions are not the same on each distribution.
To archive that conda package manager with conda virtual environment does the trick.

[FEATURE] Does it support scripting ?

Does it support scripting rename on the top of the UI (like bulk rename does with JS ― with the paid version)?

(In any case thanks for sharing your great work!)

GtkBox does not have a child property

When running pyRenamer from the command line, Gtk gives the following warnings:

(pyrenamer.py:147756): Gtk-WARNING **: 23:47:30.804: GtkBox does not have a child property called left_attach

(pyrenamer.py:147756): Gtk-WARNING **: 23:47:30.804: GtkBox does not have a child property called top_attach

Add Menubar

Is your feature request related to a problem? Please describe.
pyRenamer does not have a default menu bar similar to many other GTK+ applications. This menu bar would be useful at a minimum to display information about pyRenamer such as the liscencing information.

Describe the solution you'd like
Create a menu bar that follows the standard model used for GTK+ applications and is compatible with GNOME.

pyRenamer uses deprecated GtkUIManager

Describe the bug
Python complains when pyRenamer is run that GtkUIManager is deprecated. GtkUIManager has been deprecated since version 3.10 and has been replaced by GtkBuilder, GMenuModel, and others.

To Reproduce
Steps to reproduce the behavior:

  1. Run pyRenamer from the command line with python3 pyrenamer.py

Expected behavior
No error messages thrown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.