GithubHelp home page GithubHelp logo

Comments (3)

tcard avatar tcard commented on June 23, 2024

I'll take care of it if you don't mind!

from tvshows.

victorpimentel avatar victorpimentel commented on June 23, 2024

It would be awesome, @tcard :)

But there are two ways to do this:

  • Automatically choosing where to download the torrent -> getting the show name and creating a folder. Not very difficult, I think.
  • Or the user chooses a custom folder for each show. Maybe the folders are populated automatically, but there is an option for the user to change the name.

The second approach is more powerful, but the way I see this the CoreData backend needs to be changed. That way, Subscriptions need a new field for storing the custom folder. I'm pretty new to CoreData, but by default a change in the model makes it incompatible with the previous stored subscriptions. Initial research tells me that it is possible to automatically "migrate" CoreData models, but it needs a little work:

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreDataVersioning/Introduction/Introduction.html
http://www.timisted.net/blog/archive/core-data-migration/
http://stackoverflow.com/questions/1018155/what-do-i-have-to-do-to-get-core-data-to-automatically-migrate-models/1219911#1219911

I don't know how long it would take to change this (it could be trivial following those instructions, or it could be difficult based on our messed up managed objects). Anyway this is something that needs to be addressed (the model should not be set in stone, I need to add more attributes for other things), so @tcard if you want to contribute this is the most important thing right now :)

from tvshows.

tcard avatar tcard commented on June 23, 2024

I'll take a look at it, although I don't think it's necessary to ask the user for a custom folder name in this particular case. I happen to be actually pretty new to Obj-C, so going deeper is always interesting.

from tvshows.

Related Issues (20)

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.